/*
* JFolder, Copyright 2001-2006 Gary Steinmetz
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jfolder.workflow.lifecycle;
//base classes
import java.util.Properties;
//project specific classes
import org.jfolder.project.model.ProjectApplicationSet;
import org.jfolder.project.model.ProjectScript;
import org.jfolder.security.audit.SecurityAuditQuery;
import org.jfolder.security.audit.SecurityAuditSet;
import org.jfolder.security.model.UserHolder;
import org.jfolder.workflow.model.instance.WorkflowInstance;
import org.jfolder.workflow.model.instance.WorkflowInstanceUpdates;
import org.jfolder.workflow.query.ResultSetContainer;
import org.jfolder.workflow.query.StatementContainer;
//other classes
/*
public interface WorkflowLifecycle extends WorkflowLifecycleBase {
//query functions
public ResultSetContainer queryWorkflowInstances(StatementContainer inSc);
//script functions
public ProjectScript[] getDeployedScripts();
public void setDeployedScripts(ProjectScript[] inPs);
//properties functions
public void loadApplicationProperties(String inApp, Properties inProps);
public Properties getApplicationProperties(String inApp);
public void unloadApplicationProperties(String inApp);
//application functions
public ProjectApplicationSet getProjectApplicationSet(UserHolder inUh);
public void setProjectApplicationSet(ProjectApplicationSet inPas,
UserHolder inUh);
//workflow functions
//public void startWorkflowInstance(WorkflowInstancePrecursor inWip);
public String updateWorkflowInstance(WorkflowInstanceUpdates inWiu);
public WorkflowInstance retrieveWorkflowInstance(String inId);
//trigger functions
//public String submitTriggerData(String inHandle, TriggerData inTd);
//public TriggerData retrieveTriggerData(String inHandle);
//public void updateTriggerDataStatus(String inHandle, TriggerData inTd);
//public TriggerDataHistory getTriggerDataHistory(String inHandle);
//public TriggerDataLabels getFailedTriggerSubmissions();
//audit functions
public SecurityAuditSet getSecurityAudits(SecurityAuditQuery inSaq);
//document functions
//public DocumentGroup getDocumentGroup(String inId, Integer inVersion);
//public void updateDocumentGroup(DocumentGroupUpdates inDgu);
//
public void close();
}*/
|