/*
* 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.rmi.Remote;
import java.rmi.RemoteException;
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 WorkflowLifecycleBase extends Remote {
//script functions
public ProjectScript[] getDeployedScripts() throws RemoteException;
public void setDeployedScripts(ProjectScript[] inPs) throws RemoteException;
//properties functions
public void loadApplicationProperties(String inApp, Properties inProps)
throws RemoteException;
public Properties getApplicationProperties(String inApp)
throws RemoteException;
public void unloadApplicationProperties(String inApp)
throws RemoteException;
//application functions
public ProjectApplicationSet getProjectApplicationSet(UserHolder inUh)
throws RemoteException;
public void setProjectApplicationSet(ProjectApplicationSet inPas,
UserHolder inUh) throws RemoteException;
//workflow functions
public String updateWorkflowInstance(WorkflowInstanceUpdates inWiu)
throws RemoteException;
public WorkflowInstance retrieveWorkflowInstance(String inId)
throws RemoteException;
public ResultSetContainer queryWorkflowInstances(StatementContainer inSc)
throws RemoteException;
//trigger functions
//public String submitTriggerData(String inHandle, TriggerData inTd)
// throws RemoteException;
//public TriggerData retrieveTriggerData(String inHandle)
// throws RemoteException;
//public void updateTriggerDataStatus(String inHandle, TriggerData inTd)
// throws RemoteException;
//public TriggerDataHistory getTriggerDataHistory(String inHandle)
// throws RemoteException;
//public TriggerDataLabels getFailedTriggerSubmissions()
// throws RemoteException;
//document functions
//public DocumentGroup getDocumentGroup(String inId, Integer inVersion)
// throws RemoteException;
//public void updateDocumentGroup(DocumentGroupUpdates inDgu)
// throws RemoteException;
//
public SecurityAuditSet getSecurityAudits(SecurityAuditQuery inSaq)
throws RemoteException;
//
//public void close();
}*/
|