KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > api > client > wfmodel > WfAssignmentIterator


1 package org.enhydra.shark.api.client.wfmodel;
2
3
4 import org.enhydra.shark.api.client.wfbase.*;
5 import org.enhydra.shark.api.SharkTransaction;
6
7 /**
8  OMG definition: The WfAssignmentIterator interface specializes the WfBase::BaseIterator
9  interface and adds WfAssignment specific operations.
10  <p>We extended OMG's interface by duplicating methods, and adding additional
11  parameter that represents transaction. If you use methods without SharkTransaction
12  parameter, the transaction will be implicitly created, and if you use it with
13  SharkTransaction parameter you must obey to some rules explained in HowTo documentation.
14  <p> Also, look at our implementation API documentation of this interface to see
15  which attributes can be used in query expressions.
16  */

17 public interface WfAssignmentIterator extends BaseIterator {
18    WfAssignment get_next_object () throws BaseException;
19    WfAssignment get_next_object (SharkTransaction t) throws BaseException;
20
21    WfAssignment get_previous_object () throws BaseException;
22    WfAssignment get_previous_object (SharkTransaction t) throws BaseException;
23
24    WfAssignment[] get_next_n_sequence (int max_number) throws BaseException;
25    WfAssignment[] get_next_n_sequence (SharkTransaction t,int max_number) throws BaseException;
26
27    WfAssignment[] get_previous_n_sequence (int max_number) throws BaseException;
28    WfAssignment[] get_previous_n_sequence (SharkTransaction t,int max_number) throws BaseException;
29 } // interface WfAssignmentIteratorOperations
30
Popular Tags