public class YLogGatewayClient extends Interface_Client
Constructor and Description |
---|
YLogGatewayClient(java.lang.String uri)
the only constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
checkConnection(java.lang.String handle)
Checks if a sessionhandle is active
|
java.lang.String |
connect(java.lang.String userID,
java.lang.String password)
Connects an external entity to the engine
|
java.lang.String |
getAllCasesCancelledByService(java.lang.String serviceName,
java.lang.String handle)
Gets a list of all of the 'CaseCancel' events triggered by the service
|
java.lang.String |
getAllCasesStartedByService(java.lang.String serviceName,
java.lang.String handle)
Gets a list of all of the 'CaseStart' events triggered by the service
|
java.lang.String |
getAllSpecifications(java.lang.String handle)
Gets an summary xml list of all the specifications logged
|
java.lang.String |
getBackEndURI() |
java.lang.String |
getCaseEvent(java.lang.String caseID,
java.lang.String eventType,
java.lang.String handle)
Gets the log record of a particular case-level event
|
java.lang.String |
getCaseEvents(long rootNetInstanceKey,
java.lang.String handle)
Gets all the case level events for the root net key passed
|
java.lang.String |
getCaseEvents(java.lang.String caseID,
java.lang.String handle)
Gets all the case level events for the case id passed
|
java.lang.String |
getCompleteCaseLog(java.lang.String caseID,
java.lang.String handle)
Gets a comprehensive listing of all of the data logged for the case passed,
including all net & task instances, events and data items
|
java.lang.String |
getCompleteCaseLogsForSpecification(long specKey,
java.lang.String handle)
Gets a complete listing of all the cases launched from the specification key
passed, including all net & task instances, events and data items
|
java.lang.String |
getCompleteCaseLogsForSpecification(java.lang.String identifier,
java.lang.String version,
java.lang.String uri,
java.lang.String handle)
Gets a complete listing of all the cases launched from the specification data
passed, including all net & task instances, events and data items
|
java.lang.String |
getDataForEvent(long eventKey,
java.lang.String handle)
Gets all of the data items logged with the event requested
|
java.lang.String |
getDataTypeForDataItem(long dataTypeKey,
java.lang.String handle)
Gets the data type for the key passed
|
java.lang.String |
getEventsForTaskInstance(java.lang.String itemID,
java.lang.String handle)
Gets the set of events for a task instance (workitem)
|
java.lang.String |
getInstanceEvents(long instanceKey,
java.lang.String handle)
Gets all of the net or task instances for the instance key passed
|
java.lang.String |
getNetInstancesOfSpecification(long specKey,
java.lang.String handle)
Gets all of the net instances (root and sub-net) of all the logged cases
based on the specification key passed
|
java.lang.String |
getNetInstancesOfSpecification(java.lang.String identifier,
java.lang.String version,
java.lang.String uri,
java.lang.String handle)
Gets all of the net instances (root and sub-net) of all the logged cases
based on the specification details passed
|
java.lang.String |
getServiceName(long serviceKey,
java.lang.String handle)
Gets the name of the service referenced by the key passed
|
java.lang.String |
getSpecificationCaseIDs(long specKey,
java.lang.String handle)
Gets a set of case ids for executed instances of the specification
key passed
|
java.lang.String |
getSpecificationCaseIDs(YSpecificationID specID,
java.lang.String handle)
Gets the set of case ids for executed instances of the specification
data passed
|
java.lang.String |
getSpecificationStatistics(long specKey,
java.lang.String handle)
Gets a set of summary statistics for executed instances of the specification
key passed
|
java.lang.String |
getSpecificationStatistics(java.lang.String identifier,
java.lang.String version,
java.lang.String uri,
long from,
long to,
java.lang.String handle)
Gets a set of summary statistics for executed instances of the specification
data passed
|
java.lang.String |
getSpecificationStatistics(java.lang.String identifier,
java.lang.String version,
java.lang.String uri,
java.lang.String handle)
Gets a set of summary statistics for executed instances of the specification
data passed
|
java.lang.String |
getSpecificationStatistics(YSpecificationID specID,
long from,
long to,
java.lang.String handle)
Gets a set of summary statistics for executed instances of the specification
data passed
|
java.lang.String |
getSpecificationStatistics(YSpecificationID specID,
java.lang.String handle)
Gets a set of summary statistics for executed instances of the specification
data passed
|
java.lang.String |
getSpecificationXESLog(java.lang.String identifier,
java.lang.String version,
java.lang.String uri,
boolean withData,
java.lang.String handle)
Gets a complete listing of all the cases launched from the specification data
passed, in OpenXES format
|
java.lang.String |
getSpecificationXESLog(java.lang.String identifier,
java.lang.String version,
java.lang.String uri,
java.lang.String handle)
Gets a complete listing of all the cases launched from the specification data
passed, in OpenXES format
|
java.lang.String |
getSpecificationXESLog(YSpecificationID specID,
boolean withData,
java.lang.String handle)
Gets a complete listing of all the cases launched from the specification data
passed, in OpenXES format
|
java.lang.String |
getSpecificationXESLog(YSpecificationID specID,
java.lang.String handle)
Gets a complete listing of all the cases launched from the specification data
passed, in OpenXES format
|
java.lang.String |
getTaskInstancesForCase(java.lang.String caseID,
java.lang.String handle)
Gets a listing of all the task instances (ie work items) created for the case
|
java.lang.String |
getTaskInstancesForTask(long taskKey,
java.lang.String handle)
Gets a listing of all the task instances (ie work items) created for the task
|
java.lang.String |
getTaskInstancesForTask(java.lang.String rootCaseID,
java.lang.String taskName,
java.lang.String handle)
Gets a listing of all the task instances (ie work items) created for the task
within a specified case
|
executeGet, executePost, getReply, initPostConnection, prepareParamMap, send, setReadTimeout, stripOuterElement, successful
public YLogGatewayClient(java.lang.String uri)
uri
- the uri of the YAWL engine's log gatewaypublic java.lang.String getBackEndURI()
public java.lang.String getAllSpecifications(java.lang.String handle) throws java.io.IOException
handle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getNetInstancesOfSpecification(java.lang.String identifier, java.lang.String version, java.lang.String uri, java.lang.String handle) throws java.io.IOException
identifier
- the unique identifier of the specificationversion
- the specification's version numberuri
- the specification's urihandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getNetInstancesOfSpecification(long specKey, java.lang.String handle) throws java.io.IOException
specKey
- the primary key identifier of the specification in its log tablehandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getCompleteCaseLogsForSpecification(java.lang.String identifier, java.lang.String version, java.lang.String uri, java.lang.String handle) throws java.io.IOException
identifier
- the unique identifier of the specificationversion
- the specification's version numberuri
- the specification's urihandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getCompleteCaseLogsForSpecification(long specKey, java.lang.String handle) throws java.io.IOException
specKey
- the primary key identifier of the specification in its log tablehandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getSpecificationStatistics(java.lang.String identifier, java.lang.String version, java.lang.String uri, long from, long to, java.lang.String handle) throws java.io.IOException
identifier
- the unique identifier of the specificationversion
- the specification's version numberuri
- the specification's urifrom
- the start of the range of timestamps to includeto
- the end of the range of timestamps to includehandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getSpecificationStatistics(java.lang.String identifier, java.lang.String version, java.lang.String uri, java.lang.String handle) throws java.io.IOException
identifier
- the unique identifier of the specificationversion
- the specification's version numberuri
- the specification's urihandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getSpecificationStatistics(YSpecificationID specID, java.lang.String handle) throws java.io.IOException
specID
- the unique identifier of the specificationhandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getSpecificationStatistics(YSpecificationID specID, long from, long to, java.lang.String handle) throws java.io.IOException
specID
- the unique identifier of the specificationfrom
- the start of the range of timestamps to includeto
- the end of the range of timestamps to includehandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getSpecificationStatistics(long specKey, java.lang.String handle) throws java.io.IOException
specKey
- the primary key identifier of the specification in its log tablehandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getSpecificationCaseIDs(YSpecificationID specID, java.lang.String handle) throws java.io.IOException
specID
- the unique identifier of the specificationhandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getSpecificationCaseIDs(long specKey, java.lang.String handle) throws java.io.IOException
specKey
- the primary key identifier of the specification in its log tablehandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getCaseEvents(long rootNetInstanceKey, java.lang.String handle) throws java.io.IOException
rootNetInstanceKey
- the primary key identifier of the root net instance of
the casehandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getCaseEvents(java.lang.String caseID, java.lang.String handle) throws java.io.IOException
caseID
- the case id of the case to get the events forhandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getDataForEvent(long eventKey, java.lang.String handle) throws java.io.IOException
eventKey
- the primary key identifier of the eventhandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getInstanceEvents(long instanceKey, java.lang.String handle) throws java.io.IOException
instanceKey
- the primary key identifier of the net or task instancehandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getDataTypeForDataItem(long dataTypeKey, java.lang.String handle) throws java.io.IOException
dataTypeKey
- the primary key identifier of the data typehandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getCompleteCaseLog(java.lang.String caseID, java.lang.String handle) throws java.io.IOException
caseID
- the case id to get the log data forhandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getTaskInstancesForCase(java.lang.String caseID, java.lang.String handle) throws java.io.IOException
caseID
- the case id to get the log data forhandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getTaskInstancesForTask(long taskKey, java.lang.String handle) throws java.io.IOException
taskKey
- the primary key identifier of the task definitionhandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getTaskInstancesForTask(java.lang.String rootCaseID, java.lang.String taskName, java.lang.String handle) throws java.io.IOException
rootCaseID
- the root case id of the case to get the task instances fortaskName
- the primary key identifier of the task definitionhandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getCaseEvent(java.lang.String caseID, java.lang.String eventType, java.lang.String handle) throws java.io.IOException
caseID
- the case id to get the event foreventType
- the 'name' of the event (eg 'CaseStart')handle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getAllCasesStartedByService(java.lang.String serviceName, java.lang.String handle) throws java.io.IOException
serviceName
- the name of the registered servicehandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getAllCasesCancelledByService(java.lang.String serviceName, java.lang.String handle) throws java.io.IOException
serviceName
- the name of the registered servicehandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getServiceName(long serviceKey, java.lang.String handle) throws java.io.IOException
serviceKey
- the primary key identifier of the servicehandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getEventsForTaskInstance(java.lang.String itemID, java.lang.String handle) throws java.io.IOException
itemID
- the id of the workitemhandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String getSpecificationXESLog(java.lang.String identifier, java.lang.String version, java.lang.String uri, boolean withData, java.lang.String handle) throws java.io.IOException
identifier
- the unique identifier of the specificationversion
- the specification's version numberuri
- the specification's uriwithData
- if true, all data change events will be includedhandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginegetSpecificationXESLog(YSpecificationID, boolean, String)
public java.lang.String getSpecificationXESLog(java.lang.String identifier, java.lang.String version, java.lang.String uri, java.lang.String handle) throws java.io.IOException
identifier
- the unique identifier of the specificationversion
- the specification's version numberuri
- the specification's urihandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginegetSpecificationXESLog(YSpecificationID, String)
public java.lang.String getSpecificationXESLog(YSpecificationID specID, java.lang.String handle) throws java.io.IOException
specID
- the unique identifier of the specificationhandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginegetSpecificationXESLog(String, String, String, String)
public java.lang.String getSpecificationXESLog(YSpecificationID specID, boolean withData, java.lang.String handle) throws java.io.IOException
specID
- the unique identifier of the specificationwithData
- if true, all data change events will be includedhandle
- an active sessionhandlejava.io.IOException
- if there's a problem connecting to the enginegetSpecificationXESLog(String, String, String, String)
public java.lang.String connect(java.lang.String userID, java.lang.String password) throws java.io.IOException
userID
- the useridpassword
- the passwordjava.io.IOException
- if there's a problem connecting to the enginepublic java.lang.String checkConnection(java.lang.String handle) throws java.io.IOException
handle
- the sessionhandle to checkjava.io.IOException
- if there's a problem connecting to the engineCopyright © 2004-2014 The YAWL Foundation.