KickJava   Java API By Example, From Geeks To Geeks.

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


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 WfProcessIterator interface specializes the WfBase::BaseIterator interface
9  and adds specific process operations.
10  The following attributes can be used in query expressions: key, name, priority, description, state.
11  <p>We extended OMG's interface by duplicating methods, and adding additional
12  parameter that represents transaction. If you use methods without SharkTransaction
13  parameter, the transaction will be implicitly created, and if you use it with
14  SharkTransaction parameter you must obey to some rules explained in HowTo documentation.
15  <p> Also, look at our implementation API documentation of this interface to see
16  which additional attributes can be used in query expressions.
17  */

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