01: package org.enhydra.shark.api.client.wfservice;
02:
03: import org.enhydra.shark.api.client.wfmc.wapi.WMAttributeIterator;
04: import org.enhydra.shark.api.client.wfmc.wapi.WMFilter;
05: import org.enhydra.shark.api.client.wfmc.wapi.WMSessionHandle;
06:
07: /**
08: * Interface used for XPDL browsing.
09: *
10: * @author Sasa Bojanic
11: */
12: public interface XPDLBrowser {
13:
14: /** Filter type for XPDL querying*/
15: public static final int SIMPLE_TYPE_XPDL = 8;
16:
17: WMEntityIterator listEntities(WMSessionHandle shandle,
18: WMEntity scopingEntity, WMFilter filter, boolean countFlag)
19: throws Exception;
20:
21: WMAttributeIterator listAttributes(WMSessionHandle shandle,
22: WMEntity scopingEntity, WMFilter filter, boolean countFlag)
23: throws Exception;
24:
25: // WMEntity getProcessEntity(WMSessionHandle sHandle,
26: // String pkgId,
27: // String pkgVer,
28: // String pDefId) throws Exception;
29:
30: String getUniqueProcessDefinitionName(WMSessionHandle shandle,
31: String pkgId, String pkgVer, String pDefId)
32: throws Exception;
33:
34: }
|