01: package org.enhydra.shark.api.client.wfmodel;
02:
03: import org.enhydra.shark.api.client.wfbase.BaseIterator;
04:
05: /**
06: * OMG definition: The WfProcessIterator interface specializes the WfBase::BaseIterator
07: * interface and adds specific process operations. The following attributes can be used in
08: * query expressions: key, name, priority, description, state.
09: * <p>
10: * We extended OMG's interface by duplicating methods, and adding additional parameter
11: * that represents transaction. If you use methods without SharkTransaction parameter, the
12: * transaction will be implicitly created, and if you use it with SharkTransaction
13: * parameter you must obey to some rules explained in HowTo documentation.
14: * <p>
15: * Also, look at our implementation API documentation of this interface to see which
16: * additional attributes can be used in query expressions.
17: */
18: public interface WfProcessIterator extends BaseIterator {
19: WfProcess get_next_object() throws Exception;
20:
21: WfProcess get_previous_object() throws Exception;
22:
23: WfProcess[] get_next_n_sequence(int max_number) throws Exception;
24:
25: WfProcess[] get_previous_n_sequence(int max_number)
26: throws Exception;
27: } // interface WfProcessIterator
|