01: package org.enhydra.shark.api.client.wfmodel;
02:
03: import org.enhydra.shark.api.client.wfbase.BaseIterator;
04:
05: /**
06: * OMG definition: The WfActivityIterator interface specializes the WfBase::BaseIterator
07: * interface and adds activity specific operations. The following attributes can be used
08: * in query expressions using: 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 WfActivityIterator extends BaseIterator {
19:
20: WfActivity get_next_object() throws Exception;
21:
22: WfActivity get_previous_object() throws Exception;
23:
24: WfActivity[] get_next_n_sequence(int max_number) throws Exception;
25:
26: WfActivity[] get_previous_n_sequence(int max_number)
27: throws Exception;
28: }
|