public class EngineGatewayImpl extends java.lang.Object implements EngineGateway
Constructor and Description |
---|
EngineGatewayImpl(boolean persist)
Constructor
|
EngineGatewayImpl(boolean persist,
boolean gatherHbnStats)
Constructor
|
EngineGatewayImpl(java.lang.Class<? extends YEngine> engine,
boolean persist,
boolean gatherHbnStats) |
EngineGatewayImpl(java.lang.Class<? extends YEngine> engine,
boolean persist,
boolean gatherHbnStats,
boolean redundantMode) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addInterfaceXListener(java.lang.String listenerURI)
The following methods are called by an Exception Service via Interface_X
|
java.lang.String |
addYAWLService(java.lang.String serviceStr,
java.lang.String sessionHandle)
Adds a new YAWL service to the engine
|
java.lang.String |
cancelCase(java.lang.String caseID,
java.lang.String sessionHandle)
Cancels a running case.
|
java.lang.String |
cancelWorkItem(java.lang.String workItemID,
java.lang.String data,
java.lang.String fail,
java.lang.String sessionHandle) |
java.lang.String |
changePassword(java.lang.String password,
java.lang.String sessionHandle) |
java.lang.String |
checkConnection(java.lang.String sessionHandle) |
java.lang.String |
checkConnectionForAdmin(java.lang.String sessionHandle)
Deprecated.
no longer valid - performs same function as 'checkConnection'
|
java.lang.String |
checkElegibilityToAddInstances(java.lang.String workItemID,
java.lang.String sessionHandle) |
java.lang.String |
completeWorkItem(java.lang.String workItemID,
java.lang.String data,
java.lang.String logPredicate,
boolean force,
java.lang.String sessionHandle) |
java.lang.String |
connect(java.lang.String userID,
java.lang.String password,
long timeOutSeconds) |
java.lang.String |
createAccount(java.lang.String userName,
java.lang.String password,
java.lang.String doco,
java.lang.String sessionHandle)
Creates a new external client account in the system.
|
java.lang.String |
createNewInstance(java.lang.String workItemID,
java.lang.String paramValueForMICreation,
java.lang.String sessionHandle)
Creates a workitem sibling of of the workitemid param.
|
java.lang.String |
deleteAccount(java.lang.String client,
java.lang.String sessionHandle)
Deprecated.
The YAWL Engine no longer maintains users directly
|
java.lang.String |
demote(java.lang.String sessionHandle) |
java.lang.String |
describeAllWorkItems(java.lang.String sessionHandle) |
void |
disableLogging()
Disables the recording of events in the process logs
|
java.lang.String |
disconnect(java.lang.String sessionHandle) |
boolean |
enginePersistenceFailure()
Indicates if the engine has encountered some form of persistence failure in
its lifetime.
|
java.lang.String |
exportAllCaseStates(java.lang.String sessionHandle) |
java.lang.String |
exportCaseState(java.lang.String caseID,
java.lang.String sessionHandle) |
java.lang.String |
getAccounts(java.lang.String sessionHandle)
Gets the list of external accounts in the system.
|
java.lang.String |
getAllRunningCases(java.lang.String sessionHandle) |
java.lang.String |
getAvailableWorkItemIDs(java.lang.String sessionHandle)
Gets a list of the ids of all currently active workitems
|
java.lang.String |
getBuildProperties(java.lang.String sessionHandle) |
java.lang.String |
getCaseData(java.lang.String caseID,
java.lang.String sessionHandle) |
java.lang.String |
getCaseInstanceSummary(java.lang.String sessionHandle) |
java.lang.String |
getCasesForSpecification(YSpecificationID specID,
java.lang.String sessionHandle)
Given a process specification id return the cases that are its running
instances.
|
java.lang.String |
getCaseState(java.lang.String caseID,
java.lang.String sessionHandle)
This method returns a complex XML message containing the state of a particular
case.
|
java.lang.String |
getChildrenOfWorkItem(java.lang.String workItemID,
java.lang.String sessionHandle)
Gets the child work items of a given work item id string.
|
java.lang.String |
getClientAccount(java.lang.String userID,
java.lang.String sessionHandle) |
java.lang.String |
getClientPassword(java.lang.String userID,
java.lang.String sessionHandle) |
java.lang.String |
getExternalDBGateways(java.lang.String sessionHandle) |
java.lang.String |
getHibernateStatistics(java.lang.String sessionHandle) |
java.lang.String |
getLatestSpecVersion(java.lang.String id,
java.lang.String sessionHandle) |
java.lang.String |
getMITaskAttributes(YSpecificationID specificationID,
java.lang.String taskID,
java.lang.String sessionHandle) |
java.lang.String |
getParameterInstanceSummary(java.lang.String caseID,
java.lang.String itemID,
java.lang.String sessionHandle) |
java.lang.String |
getProcessDefinition(YSpecificationID specID,
java.lang.String sessionHandle) |
java.lang.String |
getResourcingSpecs(YSpecificationID specificationID,
java.lang.String taskID,
java.lang.String sessionHandle) |
java.lang.String |
getSpecificationData(YSpecificationID specID,
java.lang.String sessionHandle) |
java.lang.String |
getSpecificationDataSchema(YSpecificationID specID,
java.lang.String sessionHandle) |
java.lang.String |
getSpecificationForCase(java.lang.String caseIDStr,
java.lang.String sessionHandle) |
java.lang.String |
getSpecificationIDForCase(java.lang.String caseIDStr,
java.lang.String sessionHandle) |
java.lang.String |
getSpecificationList(java.lang.String sessionHandle)
Gets a listing of
|
java.lang.String |
getStartingDataSnapshot(java.lang.String workItemID,
java.lang.String sessionHandle) |
java.lang.String |
getTaskInformation(YSpecificationID specificationID,
java.lang.String taskID,
java.lang.String sessionHandle) |
java.lang.String |
getWorkItem(java.lang.String workItemID,
java.lang.String sessionHandle) |
java.lang.String |
getWorkItemExpiryTime(java.lang.String workItemID,
java.lang.String sessionHandle) |
java.lang.String |
getWorkItemInstanceSummary(java.lang.String caseID,
java.lang.String sessionHandle) |
java.lang.String |
getWorkItemOptions(java.lang.String workItemID,
java.lang.String thisURL,
java.lang.String sessionHandle)
Provides an XML list of options for manipulating a work item.
|
java.lang.String |
getWorkItemsForService(java.lang.String serviceURI,
java.lang.String sessionHandle) |
java.lang.String |
getWorkItemsWithIdentifier(java.lang.String idType,
java.lang.String itemID,
java.lang.String sessionHandle) |
java.lang.String |
getYAWLServiceDocumentation(java.lang.String yawlServiceURI,
java.lang.String sessionHandle)
Gets the documentation associated with the yawl service
|
java.lang.String |
getYAWLServices(java.lang.String sessionHandle)
Returns an XML list (unrooted) of yawlService elements.
|
java.lang.String |
importCases(java.lang.String caseXML,
java.lang.String sessionHandle) |
void |
initBuildProperties(java.io.InputStream stream)
Loads build properties from the stream (build number, date, version)
|
java.lang.String |
isHibernateStatisticsEnabled(java.lang.String sessionHandle) |
boolean |
isRedundantMode() |
java.lang.String |
launchCase(YSpecificationID specID,
java.lang.String caseParams,
java.net.URI caseCompletionURI,
java.lang.String logDataStr,
java.util.Date expiry,
java.lang.String sessionHandle) |
java.lang.String |
launchCase(YSpecificationID specID,
java.lang.String caseParams,
java.net.URI caseCompletionURI,
java.lang.String logDataStr,
javax.xml.datatype.Duration duration,
java.lang.String sessionHandle) |
java.lang.String |
launchCase(YSpecificationID specID,
java.lang.String caseParams,
java.net.URI caseCompletionURI,
java.lang.String logDataStr,
long mSec,
java.lang.String sessionHandle) |
java.lang.String |
launchCase(YSpecificationID specID,
java.lang.String caseParams,
java.net.URI caseCompletionURI,
java.lang.String logDataStr,
java.lang.String sessionHandle) |
java.lang.String |
launchCase(YSpecificationID specID,
java.lang.String caseParams,
java.net.URI caseCompletionURI,
java.lang.String caseID,
java.lang.String logDataStr,
java.lang.String sessionHandle) |
java.lang.String |
loadSpecification(java.lang.String specificationStr,
java.lang.String sessionHandle)
Allows the user to load a specificationStr.
|
void |
notifyServletInitialisationComplete(int maxWaitSeconds)
Triggers the announcement that engine startup is complete.
|
java.lang.String |
promote(java.lang.String sessionHandle) |
void |
registerObserverGateway(ObserverGateway gateway)
Registers an external observer gateway with the engine
|
java.lang.String |
rejectAnnouncedEnabledTask(java.lang.String itemID,
java.lang.String sessionHandle) |
java.lang.String |
removeInterfaceXListener(java.lang.String listenerURI) |
java.lang.String |
removeYAWLService(java.lang.String serviceURI,
java.lang.String sessionHandle) |
java.lang.String |
restartWorkItem(java.lang.String workItemID,
java.lang.String sessionHandle) |
java.lang.String |
rollbackWorkItem(java.lang.String workItemID,
java.lang.String sessionHandle) |
void |
setActualFilePath(java.lang.String path)
Sets the actual absolute file location which contains the engine's class file root
|
void |
setAllowAdminID(boolean allow)
Enables or disables the use of the generic 'admin' user
|
void |
setDefaultWorklist(java.lang.String url)
Sets the URL for the 'default' worklist - i.e.
|
void |
setHibernateStatisticsEnabled(boolean enabled)
Enables or disables the gathering of hibernate statistics
|
java.lang.String |
setHibernateStatisticsEnabled(boolean enabled,
java.lang.String sessionHandle) |
void |
shutdown()
Notifies the engine that its servlet is shutting down
|
java.lang.String |
skipWorkItem(java.lang.String workItemID,
java.lang.String sessionHandle) |
java.lang.String |
startWorkItem(java.lang.String workItemID,
java.lang.String sessionHandle) |
java.lang.String |
suspendWorkItem(java.lang.String workItemID,
java.lang.String sessionHandle) |
java.lang.String |
unloadSpecification(YSpecificationID specID,
java.lang.String sessionHandle)
Unloads the specification.
|
java.lang.String |
unsuspendWorkItem(java.lang.String workItemID,
java.lang.String sessionHandle) |
java.lang.String |
updateAccount(java.lang.String userName,
java.lang.String password,
java.lang.String doco,
java.lang.String sessionHandle)
Creates a new external client account in the system.
|
java.lang.String |
updateCaseData(java.lang.String caseID,
java.lang.String data,
java.lang.String sessionHandle) |
java.lang.String |
updateWorkItemData(java.lang.String workItemID,
java.lang.String data,
java.lang.String sessionHandle) |
public EngineGatewayImpl(boolean persist) throws YPersistenceException
persist
- true if a reference to a persisting engine is requiredYPersistenceException
- if persist is true and a persisting engine is
unavailablepublic EngineGatewayImpl(boolean persist, boolean gatherHbnStats) throws YPersistenceException
persist
- true if a reference to a persisting engine is requiredgatherHbnStats
- true to turn on hibernate statistics gatheringYPersistenceException
- if persist is true and a persisting engine is
unavailablepublic EngineGatewayImpl(java.lang.Class<? extends YEngine> engine, boolean persist, boolean gatherHbnStats) throws YPersistenceException
YPersistenceException
public EngineGatewayImpl(java.lang.Class<? extends YEngine> engine, boolean persist, boolean gatherHbnStats, boolean redundantMode) throws YPersistenceException
YPersistenceException
public boolean enginePersistenceFailure()
enginePersistenceFailure
in interface EngineGateway
public void registerObserverGateway(ObserverGateway gateway) throws YAWLException
registerObserverGateway
in interface EngineGateway
gateway
- the gateway to registerYAWLException
- if the observerGateway has a null scheme value.public void setDefaultWorklist(java.lang.String url)
setDefaultWorklist
in interface EngineGateway
url
- the URL of the service that will serve as the default worklistpublic void setAllowAdminID(boolean allow)
setAllowAdminID
in interface EngineGateway
allow
- true to enable, false to disablepublic void disableLogging()
disableLogging
in interface EngineGateway
public void setHibernateStatisticsEnabled(boolean enabled)
setHibernateStatisticsEnabled
in interface EngineGateway
enabled
- true to enable, false to disablepublic void initBuildProperties(java.io.InputStream stream)
initBuildProperties
in interface EngineGateway
stream
- a stream of the file containing the build propertiespublic void shutdown()
shutdown
in interface EngineGateway
public void notifyServletInitialisationComplete(int maxWaitSeconds)
notifyServletInitialisationComplete
in interface EngineGateway
maxWaitSeconds
- the maximum seconds to wait for services to be contactablepublic void setActualFilePath(java.lang.String path)
setActualFilePath
in interface EngineGateway
path
- the file pathpublic java.lang.String getAvailableWorkItemIDs(java.lang.String sessionHandle) throws java.rmi.RemoteException
getAvailableWorkItemIDs
in interface EngineGateway
sessionHandle
- a valid session handlejava.rmi.RemoteException
public java.lang.String getWorkItem(java.lang.String workItemID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getWorkItem
in interface EngineGateway
workItemID
- sessionHandle
- java.rmi.RemoteException
public java.lang.String getWorkItemExpiryTime(java.lang.String workItemID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getWorkItemExpiryTime
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String getProcessDefinition(YSpecificationID specID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getProcessDefinition
in interface EngineGateway
specID
- the specification (process definition id)sessionHandle
- the sessionhandlejava.rmi.RemoteException
public java.lang.String getSpecificationDataSchema(YSpecificationID specID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getSpecificationDataSchema
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String suspendWorkItem(java.lang.String workItemID, java.lang.String sessionHandle) throws java.rmi.RemoteException
suspendWorkItem
in interface EngineGateway
workItemID
- sessionHandle
- java.rmi.RemoteException
public java.lang.String unsuspendWorkItem(java.lang.String workItemID, java.lang.String sessionHandle) throws java.rmi.RemoteException
unsuspendWorkItem
in interface EngineGateway
workItemID
- sessionHandle
- java.rmi.RemoteException
public java.lang.String rollbackWorkItem(java.lang.String workItemID, java.lang.String sessionHandle) throws java.rmi.RemoteException
rollbackWorkItem
in interface EngineGateway
workItemID
- sessionHandle
- java.rmi.RemoteException
public java.lang.String completeWorkItem(java.lang.String workItemID, java.lang.String data, java.lang.String logPredicate, boolean force, java.lang.String sessionHandle) throws java.rmi.RemoteException
completeWorkItem
in interface EngineGateway
workItemID
- work item iddata
- datalogPredicate
- a pre-parsed configurable logging stringforce
- true if this is a forded completionsessionHandle
- sessionhandlejava.rmi.RemoteException
- if used in RMI modepublic java.lang.String startWorkItem(java.lang.String workItemID, java.lang.String sessionHandle) throws java.rmi.RemoteException
startWorkItem
in interface EngineGateway
workItemID
- sessionHandle
- java.rmi.RemoteException
public java.lang.String getStartingDataSnapshot(java.lang.String workItemID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getStartingDataSnapshot
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String skipWorkItem(java.lang.String workItemID, java.lang.String sessionHandle) throws java.rmi.RemoteException
skipWorkItem
in interface EngineGateway
workItemID
- sessionHandle
- java.rmi.RemoteException
public java.lang.String createNewInstance(java.lang.String workItemID, java.lang.String paramValueForMICreation, java.lang.String sessionHandle) throws java.rmi.RemoteException
createNewInstance
in interface EngineGateway
workItemID
- the id of an existing instance to which to add a
new instanceparamValueForMICreation
- the data needed to create the new instancesessionHandle
- session handlejava.rmi.RemoteException
public java.lang.String describeAllWorkItems(java.lang.String sessionHandle) throws java.rmi.RemoteException
describeAllWorkItems
in interface EngineGateway
sessionHandle
- java.rmi.RemoteException
public java.lang.String getWorkItemsWithIdentifier(java.lang.String idType, java.lang.String itemID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getWorkItemsWithIdentifier
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String getWorkItemsForService(java.lang.String serviceURI, java.lang.String sessionHandle) throws java.rmi.RemoteException
getWorkItemsForService
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String connect(java.lang.String userID, java.lang.String password, long timeOutSeconds) throws java.rmi.RemoteException
connect
in interface EngineGateway
userID
- password
- java.rmi.RemoteException
public java.lang.String checkConnection(java.lang.String sessionHandle) throws java.rmi.RemoteException
checkConnection
in interface EngineGateway
sessionHandle
- java.rmi.RemoteException
public java.lang.String disconnect(java.lang.String sessionHandle) throws java.rmi.RemoteException
disconnect
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String checkConnectionForAdmin(java.lang.String sessionHandle)
checkConnectionForAdmin
in interface EngineGateway
sessionHandle
- public java.lang.String getTaskInformation(YSpecificationID specificationID, java.lang.String taskID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getTaskInformation
in interface EngineGateway
specificationID
- taskID
- sessionHandle
- java.rmi.RemoteException
public java.lang.String checkElegibilityToAddInstances(java.lang.String workItemID, java.lang.String sessionHandle)
checkElegibilityToAddInstances
in interface EngineGateway
workItemID
- sessionHandle
- public java.lang.String getSpecificationList(java.lang.String sessionHandle) throws java.rmi.RemoteException
getSpecificationList
in interface EngineGateway
sessionHandle
- java.rmi.RemoteException
public java.lang.String getSpecificationData(YSpecificationID specID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getSpecificationData
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String launchCase(YSpecificationID specID, java.lang.String caseParams, java.net.URI caseCompletionURI, java.lang.String caseID, java.lang.String logDataStr, java.lang.String sessionHandle)
launchCase
in interface EngineGateway
specID
- specIDcaseParams
- format <data>[InputParam]*</data> where
InputParam == <varName>var value</varName>caseID
- caseIDsessionHandle
- public java.lang.String launchCase(YSpecificationID specID, java.lang.String caseParams, java.net.URI caseCompletionURI, java.lang.String logDataStr, java.lang.String sessionHandle)
launchCase
in interface EngineGateway
specID
- specIDcaseParams
- format <data>[InputParam]*</data> where
InputParam == <varName>var value</varName>sessionHandle
- public java.lang.String launchCase(YSpecificationID specID, java.lang.String caseParams, java.net.URI caseCompletionURI, java.lang.String logDataStr, long mSec, java.lang.String sessionHandle)
launchCase
in interface EngineGateway
specID
- specIDcaseParams
- format <data>[InputParam]*</data> where
InputParam == <varName>var value</varName>sessionHandle
- public java.lang.String launchCase(YSpecificationID specID, java.lang.String caseParams, java.net.URI caseCompletionURI, java.lang.String logDataStr, java.util.Date expiry, java.lang.String sessionHandle)
launchCase
in interface EngineGateway
public java.lang.String launchCase(YSpecificationID specID, java.lang.String caseParams, java.net.URI caseCompletionURI, java.lang.String logDataStr, javax.xml.datatype.Duration duration, java.lang.String sessionHandle)
launchCase
in interface EngineGateway
public java.lang.String getCasesForSpecification(YSpecificationID specID, java.lang.String sessionHandle)
getCasesForSpecification
in interface EngineGateway
specID
- the process specification id string.sessionHandle
- the sessionhandlepublic java.lang.String getSpecificationIDForCase(java.lang.String caseIDStr, java.lang.String sessionHandle)
getSpecificationIDForCase
in interface EngineGateway
public java.lang.String getSpecificationForCase(java.lang.String caseIDStr, java.lang.String sessionHandle)
getSpecificationForCase
in interface EngineGateway
public java.lang.String getAllRunningCases(java.lang.String sessionHandle)
getAllRunningCases
in interface EngineGateway
public java.lang.String getCaseState(java.lang.String caseID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getCaseState
in interface EngineGateway
caseID
- case id stringsessionHandle
- sessionHandlejava.rmi.RemoteException
public java.lang.String cancelCase(java.lang.String caseID, java.lang.String sessionHandle)
cancelCase
in interface EngineGateway
caseID
- the caseID stringsessionHandle
- sessionHandlepublic java.lang.String getBuildProperties(java.lang.String sessionHandle) throws java.rmi.RemoteException
getBuildProperties
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String getChildrenOfWorkItem(java.lang.String workItemID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getChildrenOfWorkItem
in interface EngineGateway
workItemID
- sessionHandle
- java.rmi.RemoteException
public java.lang.String getWorkItemOptions(java.lang.String workItemID, java.lang.String thisURL, java.lang.String sessionHandle)
getWorkItemOptions
in interface EngineGateway
workItemID
- work item id stringthisURL
- the url of the engine interface B server (i think).sessionHandle
- the sesssion handlepublic java.lang.String loadSpecification(java.lang.String specificationStr, java.lang.String sessionHandle)
loadSpecification
in interface EngineGateway
specificationStr
- a YAWL schema compliant process specificationStr
in its entirety, in string format.sessionHandle
- a session handlepublic java.lang.String unloadSpecification(YSpecificationID specID, java.lang.String sessionHandle)
unloadSpecification
in interface EngineGateway
specID
- the specification id stringsessionHandle
- session handlepublic java.lang.String createAccount(java.lang.String userName, java.lang.String password, java.lang.String doco, java.lang.String sessionHandle)
createAccount
in interface EngineGateway
userName
- the name of the userpassword
- the users elected password.doco
- some descriptive text about the accountsessionHandle
- public java.lang.String updateAccount(java.lang.String userName, java.lang.String password, java.lang.String doco, java.lang.String sessionHandle)
updateAccount
in interface EngineGateway
userName
- the name of the userpassword
- the users elected password.doco
- some descriptive text about the accountsessionHandle
- public java.lang.String getAccounts(java.lang.String sessionHandle)
getAccounts
in interface EngineGateway
sessionHandle
- session handlepublic java.lang.String getYAWLServices(java.lang.String sessionHandle)
getYAWLServices
in interface EngineGateway
sessionHandle
- public java.lang.String getYAWLServiceDocumentation(java.lang.String yawlServiceURI, java.lang.String sessionHandle)
getYAWLServiceDocumentation
in interface EngineGateway
yawlServiceURI
- sessionHandle
- public java.lang.String addYAWLService(java.lang.String serviceStr, java.lang.String sessionHandle)
addYAWLService
in interface EngineGateway
serviceStr
- an XML message containing the YAWL service details.sessionHandle
- the session handlepublic java.lang.String removeYAWLService(java.lang.String serviceURI, java.lang.String sessionHandle)
removeYAWLService
in interface EngineGateway
public java.lang.String deleteAccount(java.lang.String client, java.lang.String sessionHandle) throws java.rmi.RemoteException
deleteAccount
in interface EngineGateway
client
- sessionHandle
- java.rmi.RemoteException
public java.lang.String changePassword(java.lang.String password, java.lang.String sessionHandle) throws java.rmi.RemoteException
changePassword
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String getClientPassword(java.lang.String userID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getClientPassword
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String getClientAccount(java.lang.String userID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getClientAccount
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String addInterfaceXListener(java.lang.String listenerURI)
addInterfaceXListener
in interface EngineGateway
public java.lang.String removeInterfaceXListener(java.lang.String listenerURI)
removeInterfaceXListener
in interface EngineGateway
public java.lang.String updateWorkItemData(java.lang.String workItemID, java.lang.String data, java.lang.String sessionHandle)
updateWorkItemData
in interface EngineGateway
public java.lang.String updateCaseData(java.lang.String caseID, java.lang.String data, java.lang.String sessionHandle)
updateCaseData
in interface EngineGateway
public java.lang.String restartWorkItem(java.lang.String workItemID, java.lang.String sessionHandle) throws java.rmi.RemoteException
restartWorkItem
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String cancelWorkItem(java.lang.String workItemID, java.lang.String data, java.lang.String fail, java.lang.String sessionHandle) throws java.rmi.RemoteException
cancelWorkItem
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String getLatestSpecVersion(java.lang.String id, java.lang.String sessionHandle) throws java.rmi.RemoteException
getLatestSpecVersion
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String getMITaskAttributes(YSpecificationID specificationID, java.lang.String taskID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getMITaskAttributes
in interface EngineGateway
specificationID
- taskID
- sessionHandle
- java.rmi.RemoteException
public java.lang.String getResourcingSpecs(YSpecificationID specificationID, java.lang.String taskID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getResourcingSpecs
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String getCaseData(java.lang.String caseID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getCaseData
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String getCaseInstanceSummary(java.lang.String sessionHandle) throws java.rmi.RemoteException
getCaseInstanceSummary
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String getWorkItemInstanceSummary(java.lang.String caseID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getWorkItemInstanceSummary
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String getParameterInstanceSummary(java.lang.String caseID, java.lang.String itemID, java.lang.String sessionHandle) throws java.rmi.RemoteException
getParameterInstanceSummary
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String rejectAnnouncedEnabledTask(java.lang.String itemID, java.lang.String sessionHandle) throws java.rmi.RemoteException
rejectAnnouncedEnabledTask
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String getExternalDBGateways(java.lang.String sessionHandle) throws java.rmi.RemoteException
getExternalDBGateways
in interface EngineGateway
java.rmi.RemoteException
public java.lang.String setHibernateStatisticsEnabled(boolean enabled, java.lang.String sessionHandle)
setHibernateStatisticsEnabled
in interface EngineGateway
public java.lang.String isHibernateStatisticsEnabled(java.lang.String sessionHandle)
isHibernateStatisticsEnabled
in interface EngineGateway
public java.lang.String getHibernateStatistics(java.lang.String sessionHandle)
getHibernateStatistics
in interface EngineGateway
public java.lang.String promote(java.lang.String sessionHandle) throws YPersistenceException
promote
in interface EngineGateway
YPersistenceException
public java.lang.String demote(java.lang.String sessionHandle)
demote
in interface EngineGateway
public boolean isRedundantMode()
isRedundantMode
in interface EngineGateway
public java.lang.String exportCaseState(java.lang.String caseID, java.lang.String sessionHandle)
exportCaseState
in interface EngineGateway
public java.lang.String exportAllCaseStates(java.lang.String sessionHandle)
exportAllCaseStates
in interface EngineGateway
public java.lang.String importCases(java.lang.String caseXML, java.lang.String sessionHandle)
importCases
in interface EngineGateway
Copyright © 2004-2014 The YAWL Foundation.