01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.services.workflow;
09:
10: //base classes
11: import java.rmi.RemoteException;
12: import java.util.Properties;
13:
14: //project specific classes
15: import org.jfolder.common.tagging.ConceptTagMenuBranch;
16: import org.jfolder.common.tagging.ConceptTagSetContext;
17: import org.jfolder.common.tagging.ConceptTagSetHolder;
18: import org.jfolder.common.utils.xml.LinearXPath;
19: import org.jfolder.security.audit.SecurityAuditQuery;
20: import org.jfolder.security.audit.SecurityAuditSet;
21: import org.jfolder.security.model.UserHolder;
22: import org.jfolder.services.base.BaseService;
23: import org.jfolder.services.dms.DMSService;
24: import org.jfolder.workflow.model.instance.WorkflowInstance;
25: import org.jfolder.workflow.model.instance.WorkflowInstanceUpdates;
26: import org.jfolder.workflow.query.ResultSetContainer;
27: import org.jfolder.workflow.query.StatementContainer;
28:
29: //other classes
30:
31: public interface WorkflowService extends BaseService {
32:
33: //query functions
34: public ResultSetContainer queryWorkflowInstances(
35: StatementContainer inSc);
36:
37: //script functions
38: //public ProjectScript[] accessDeployedScripts();
39: //public void setDeployedScripts(ProjectScript[] inPs);
40:
41: //properties functions
42: public void loadApplicationProperties(String inApp,
43: Properties inProps);
44:
45: public Properties getApplicationProperties(String inApp);
46:
47: public void unloadApplicationProperties(String inApp);
48:
49: //application functions
50: //public ProjectApplicationSet accessProjectApplicationSet(UserHolder inUh);
51: //public void setProjectApplicationSet(ProjectApplicationSet inPas,
52: // UserHolder inUh);
53:
54: //workflow functions
55: //public void startWorkflowInstance(WorkflowInstancePrecursor inWip);
56: public String updateWorkflowInstance(WorkflowInstanceUpdates inWiu);
57:
58: public WorkflowInstance retrieveWorkflowInstance(String inId);
59:
60: //trigger functions
61: //public String submitTriggerData(String inHandle, TriggerData inTd);
62: //public TriggerData retrieveTriggerData(String inHandle);
63: //public void updateTriggerDataStatus(String inHandle, TriggerData inTd);
64: //public TriggerDataHistory getTriggerDataHistory(String inHandle);
65: //public TriggerDataLabels getFailedTriggerSubmissions();
66:
67: //audit functions
68: public SecurityAuditSet getSecurityAudits(SecurityAuditQuery inSaq);
69:
70: //document functions
71: //public DocumentGroup getDocumentGroup(String inId, Integer inVersion);
72: //public void updateDocumentGroup(DocumentGroupUpdates inDgu);
73:
74: //
75: //public void close();
76: }
|