KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > api > client > wfservice > WfResourceIterator


1 package org.enhydra.shark.api.client.wfservice;
2
3
4 import org.enhydra.shark.api.client.wfmodel.*;
5
6 import org.enhydra.shark.api.client.wfbase.*;
7 import org.enhydra.shark.api.SharkTransaction;
8
9 /**
10  The WfResourceIterator interface is extension of OMG interface. It specializes
11  the WfBase::BaseIterator interface and adds specific resource operations.
12  <p>If you use methods without SharkTransaction 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> Look at our implementation API documentation of this interface to see
15  which attributes can be used in query expressions.
16  */

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