KickJava   Java API By Example, From Geeks To Geeks.

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


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

20 public interface WfActivityIterator extends BaseIterator {
21
22    WfActivity get_next_object () throws BaseException;
23    WfActivity get_next_object (SharkTransaction t) throws BaseException;
24
25    WfActivity get_previous_object () throws BaseException;
26    WfActivity get_previous_object (SharkTransaction t) throws BaseException;
27
28    WfActivity[] get_next_n_sequence (int max_number) throws BaseException;
29    WfActivity[] get_next_n_sequence (SharkTransaction t,int max_number) throws BaseException;
30
31    WfActivity[] get_previous_n_sequence (int max_number) throws BaseException;
32    WfActivity[] get_previous_n_sequence (SharkTransaction t,int max_number) throws BaseException;
33 }
34
Popular Tags