|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.oakgrovesystems.reactor.client.AbstractReactorProxy
AbstractReactorProxy is a convenience class that programmers can use
to make requests to Reactor server. Users can use either
EJBReactorProxy
or XMLReactorProxy
.
Field Summary | |
protected java.lang.String |
authToken
Authentication token that this proxy uses as credential to talk to the server |
Constructor Summary | |
AbstractReactorProxy()
|
Method Summary | |
void |
addStatusToProcess(com.oakgrovesystems.reactor.LabelPath processLabelPath,
com.oakgrovesystems.reactor.LabelPath statusLabelPath)
Sends add status request to the server. |
void |
addStatusToProcess(com.oakgrovesystems.reactor.processMediation.Process process,
com.oakgrovesystems.reactor.processMediation.Status status)
Sends add status request to the server. |
void |
addStatusToProcess(com.oakgrovesystems.reactor.ReactorObjectId processId,
com.oakgrovesystems.reactor.ReactorObjectId statusId)
Sends add status request to the server. |
com.oakgrovesystems.reactor.ReactorObjectId |
cloneInstance(com.oakgrovesystems.reactor.LabelPath labelPath)
Sends a clone request to the server. |
com.oakgrovesystems.reactor.ReactorObjectId |
cloneInstance(com.oakgrovesystems.reactor.LabelPath labelPath,
java.lang.String cloneLabel)
Sends a clone request to the server. |
com.oakgrovesystems.reactor.ReactorObjectId |
cloneInstance(com.oakgrovesystems.reactor.processMediation.Process process)
Sends a clone request to the server. |
com.oakgrovesystems.reactor.ReactorObjectId |
cloneInstance(com.oakgrovesystems.reactor.processMediation.Process process,
java.lang.String cloneLabel)
Sends a clone request to the server. |
com.oakgrovesystems.reactor.ReactorObjectId |
cloneInstance(com.oakgrovesystems.reactor.ReactorObjectId id)
Sends a clone request to the server. |
com.oakgrovesystems.reactor.ReactorObjectId |
cloneInstance(com.oakgrovesystems.reactor.ReactorObjectId id,
java.lang.String cloneLabel)
Sends a clone request to the server. |
void |
createObjects(java.util.Set set)
Sends create request to the server. |
void |
createObjects(java.util.Set set,
com.oakgrovesystems.reactor.ReactorObjects objects)
Sends create request to the server The objects to be created must only be process mediation objects. |
void |
delete(com.oakgrovesystems.reactor.LabelPath labelPath,
java.lang.Class type)
Sends a delete request to the server. |
void |
delete(com.oakgrovesystems.reactor.LabelPath labelPath,
java.lang.Class type,
com.oakgrovesystems.reactor.ReactorObjects objects)
Sends a delete request to the server. |
void |
delete(com.oakgrovesystems.reactor.ReactorObjectId id,
java.lang.Class type)
Sends a delete request to the server. |
void |
delete(com.oakgrovesystems.reactor.ReactorObjectId id,
java.lang.Class type,
com.oakgrovesystems.reactor.ReactorObjects objects)
Sends a delete request to the server. |
com.oakgrovesystems.reactor.processMediation.ProcessMediationObject |
get(com.oakgrovesystems.reactor.LabelPath labelPath)
Sends get request to the server. |
com.oakgrovesystems.reactor.processMediation.ProcessMediationObject |
get(com.oakgrovesystems.reactor.LabelPath labelPath,
com.oakgrovesystems.reactor.ReactorObjects objects)
Sends get request to the server. |
com.oakgrovesystems.reactor.processMediation.ProcessMediationObject |
get(com.oakgrovesystems.reactor.ReactorObjectId id)
Sends get request to the server. |
com.oakgrovesystems.reactor.processMediation.ProcessMediationObject |
get(com.oakgrovesystems.reactor.ReactorObjectId id,
com.oakgrovesystems.reactor.ReactorObjects objects)
Sends get request to the server. |
java.lang.String |
getAuthToken()
Gets the authentication token that this proxy is using to talk to server |
com.oakgrovesystems.reactor.ReactorResponse |
handleRequest(com.oakgrovesystems.reactor.requests.ReactorRequest request)
Sends request to the server. |
void |
lock(com.oakgrovesystems.reactor.LabelPath path,
com.oakgrovesystems.reactor.processMediation.ACE ace)
|
void |
lock(com.oakgrovesystems.reactor.LabelPath path,
com.oakgrovesystems.reactor.processMediation.ACE ace,
java.lang.String eligibleRole,
java.lang.String standbyRole,
com.oakgrovesystems.reactor.LabelPath status)
|
void |
lock(com.oakgrovesystems.reactor.LabelPath path,
com.oakgrovesystems.reactor.processMediation.ACE ace,
java.lang.String eligibleRole,
java.lang.String standbyRole,
com.oakgrovesystems.reactor.ReactorObjectId status)
|
void |
lock(com.oakgrovesystems.reactor.ReactorObjectId id,
com.oakgrovesystems.reactor.processMediation.ACE ace)
|
void |
lock(com.oakgrovesystems.reactor.ReactorObjectId id,
com.oakgrovesystems.reactor.processMediation.ACE ace,
java.lang.String eligibleRole,
java.lang.String standbyRole)
|
void |
lock(com.oakgrovesystems.reactor.ReactorObjectId id,
com.oakgrovesystems.reactor.processMediation.ACE ace,
java.lang.String eligibleRole,
java.lang.String standbyRole,
com.oakgrovesystems.reactor.LabelPath status)
|
void |
lock(com.oakgrovesystems.reactor.ReactorObjectId id,
com.oakgrovesystems.reactor.processMediation.ACE ace,
java.lang.String eligibleRole,
java.lang.String standbyRole,
com.oakgrovesystems.reactor.ReactorObjectId status)
|
protected void |
lock(com.oakgrovesystems.reactor.ReactorObjectId objectId,
com.oakgrovesystems.reactor.LabelPath objectPath,
com.oakgrovesystems.reactor.processMediation.ACE ace,
java.lang.String eligibleRole,
java.lang.String standbyRole,
com.oakgrovesystems.reactor.ReactorObjectId statusId,
com.oakgrovesystems.reactor.LabelPath statusPath)
|
java.lang.String |
login(java.lang.String username,
java.lang.String password)
Sends login request to the server. |
void |
logout()
Sends logout request to the server. |
com.oakgrovesystems.reactor.ReactorObjects |
query(com.oakgrovesystems.reactor.client.QueryCriteria criteria,
com.oakgrovesystems.reactor.ReactorObjects objects)
Sends a query request to the server. |
void |
removeStatusFromProcess(com.oakgrovesystems.reactor.LabelPath processLabelPath,
com.oakgrovesystems.reactor.LabelPath statusLabelPath)
Sends remove status request to the server. |
void |
removeStatusFromProcess(com.oakgrovesystems.reactor.processMediation.Process process,
com.oakgrovesystems.reactor.processMediation.Status status)
Sends remove status request to the server. |
void |
removeStatusFromProcess(com.oakgrovesystems.reactor.ReactorObjectId processId,
com.oakgrovesystems.reactor.ReactorObjectId statusId)
Sends remove status request to the server. |
protected abstract com.oakgrovesystems.reactor.ReactorResponse |
sendRequest(com.oakgrovesystems.reactor.requests.ReactorRequest request)
Sends request to the server. |
void |
setACLOnObject(com.oakgrovesystems.reactor.LabelPath objectLabelPath,
com.oakgrovesystems.reactor.processMediation.ACL newACL,
java.lang.Class type)
Sets a new ACL on an object by labelpath. |
void |
setACLOnObject(com.oakgrovesystems.reactor.ReactorObjectId objectId,
com.oakgrovesystems.reactor.processMediation.ACL newACL,
java.lang.Class type)
Sets a new ACL on an object by ID. |
void |
setAuthToken(java.lang.String authToken)
Sets the authentication token that proxy will use to talk to server |
void |
setObjects(java.util.Set set)
Sends the set request to the server. |
void |
setObjects(java.util.Set set,
com.oakgrovesystems.reactor.ReactorObjects objects)
Sends the set request to the server. |
void |
startProcess(com.oakgrovesystems.reactor.LabelPath labelPath)
Sends a start request to the server. |
void |
startProcess(com.oakgrovesystems.reactor.processMediation.Process process)
Sends a start request to the server. |
void |
startProcess(com.oakgrovesystems.reactor.ReactorObjectId id)
Sends a start request to the server. |
void |
stopProcess(com.oakgrovesystems.reactor.LabelPath labelPath)
Sends a stop request to the server. |
void |
stopProcess(com.oakgrovesystems.reactor.processMediation.Process process)
Sends a stop request to the server. |
void |
stopProcess(com.oakgrovesystems.reactor.ReactorObjectId id)
Sends a stop request to the server. |
void |
unlock(com.oakgrovesystems.reactor.LabelPath path,
com.oakgrovesystems.reactor.processMediation.ACE ace)
|
void |
unlock(com.oakgrovesystems.reactor.LabelPath path,
com.oakgrovesystems.reactor.processMediation.ACE ace,
java.lang.String eligibleRole,
java.lang.String standbyRole,
com.oakgrovesystems.reactor.LabelPath status)
|
void |
unlock(com.oakgrovesystems.reactor.LabelPath path,
com.oakgrovesystems.reactor.processMediation.ACE ace,
java.lang.String eligibleRole,
java.lang.String standbyRole,
com.oakgrovesystems.reactor.ReactorObjectId status)
|
void |
unlock(com.oakgrovesystems.reactor.ReactorObjectId id,
com.oakgrovesystems.reactor.processMediation.ACE ace)
|
void |
unlock(com.oakgrovesystems.reactor.ReactorObjectId id,
com.oakgrovesystems.reactor.processMediation.ACE ace,
java.lang.String eligibleRole,
java.lang.String standbyRole)
|
void |
unlock(com.oakgrovesystems.reactor.ReactorObjectId id,
com.oakgrovesystems.reactor.processMediation.ACE ace,
java.lang.String eligibleRole,
java.lang.String standbyRole,
com.oakgrovesystems.reactor.LabelPath status)
|
void |
unlock(com.oakgrovesystems.reactor.ReactorObjectId id,
com.oakgrovesystems.reactor.processMediation.ACE ace,
java.lang.String eligibleRole,
java.lang.String standbyRole,
com.oakgrovesystems.reactor.ReactorObjectId status)
|
protected void |
unlock(com.oakgrovesystems.reactor.ReactorObjectId objectId,
com.oakgrovesystems.reactor.LabelPath objectPath,
com.oakgrovesystems.reactor.processMediation.ACE ace,
java.lang.String eligibleRole,
java.lang.String standbyRole,
com.oakgrovesystems.reactor.ReactorObjectId statusId,
com.oakgrovesystems.reactor.LabelPath statusPath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String authToken
Constructor Detail |
public AbstractReactorProxy()
Method Detail |
public void setAuthToken(java.lang.String authToken)
setAuthToken
in interface ReactorProxy
authToken
- the authentication tokenpublic java.lang.String getAuthToken()
getAuthToken
in interface ReactorProxy
public com.oakgrovesystems.reactor.ReactorResponse handleRequest(com.oakgrovesystems.reactor.requests.ReactorRequest request) throws ReactorProxyException
com.oakgrovesystems.reactor.requests package and use this method to
to send it to server.
- Specified by:
handleRequest
in interface ReactorProxy
- Parameters:
request
- the request that has to be made to the server
- Returns:
- response the response from the server
- Throws:
ReactorProxyException
- if error occurs while talking to the server.
public java.lang.String login(java.lang.String username, java.lang.String password) throws ReactorProxyException
login
in interface ReactorProxy
username
- the username credential of the userpassword
- the password credential of the user
ReactorProxyException
- if username or password is null or
login request fails or an error occurs while talking to the server.public void logout() throws ReactorProxyException
logout
in interface ReactorProxy
ReactorProxyException
- if logout request fails or an error occurs while talking to the server.public void createObjects(java.util.Set set) throws ReactorProxyException
createObjects
in interface ReactorProxy
set
- The set of process mediation objects to be created.
ReactorProxyException
- if arguement set is null or create
request fails or an error occurs while talking to the server.public void createObjects(java.util.Set set, com.oakgrovesystems.reactor.ReactorObjects objects) throws ReactorProxyException
ReactorObjects
createObjects
in interface ReactorProxy
set
- The set of new process mediation objects to be created.objects
- The convenience collection object to which created objects will
be added. Can be null.
ReactorProxyException
- if argument set is null or create request fails
or an error occurs while talking to the server.public void setObjects(java.util.Set set) throws ReactorProxyException
setObjects
in interface ReactorProxy
set
- The set of process mediation objects to be updated.
ReactorProxyException
- If argument set is null or set request fails
or an error occurs while talking to the server.public void setObjects(java.util.Set set, com.oakgrovesystems.reactor.ReactorObjects objects) throws ReactorProxyException
ReactorObjects
setObjects
in interface ReactorProxy
set
- The set of process mediation objects to be updated.objects
- The convenience collection object to which updated objects will
be added. Can be null.
ReactorProxyException
- If argument set is null or set request fails or
an error occurs while talking to the server.public void delete(com.oakgrovesystems.reactor.ReactorObjectId id, java.lang.Class type) throws ReactorProxyException
delete
in interface ReactorProxy
id
- The id of the process mediation object to be deleted.type
- The class of the object to be deleted. Either Process,
Operand, Status or Policy
classes from com.oakgrovesystems.reactor.processMediation
package.
ReactorProxyException
- If arguments id or type are null or delete request fails
or an error occurs while talking to the server.public void delete(com.oakgrovesystems.reactor.ReactorObjectId id, java.lang.Class type, com.oakgrovesystems.reactor.ReactorObjects objects) throws ReactorProxyException
ReactorObjects
delete
in interface ReactorProxy
id
- The id of the process mediation object to be deleted.type
- The class of the object to be deleted. Either Process,
Operand, Status or Policy
classes from com.oakgrovesystems.reactor.processMediation
package.
ReactorProxyException
- If argument id or type are null or delete request fails
or an error occurs while talking to the server.public void delete(com.oakgrovesystems.reactor.LabelPath labelPath, java.lang.Class type) throws ReactorProxyException
delete
in interface ReactorProxy
labelPath
- The label path of the process mediation object to be deleted. The label path
must resolve to only ONE processMediation object.type
- The class of the object to be deleted. Either Process,
Operand, Status or Policy
classes from com.oakgrovesystems.reactor.processMediation
package.
ReactorProxyException
- If argument labelPath or type is null or delete request fails
or an error occurs while talking to the server.public void delete(com.oakgrovesystems.reactor.LabelPath labelPath, java.lang.Class type, com.oakgrovesystems.reactor.ReactorObjects objects) throws ReactorProxyException
ReactorObjects
delete
in interface ReactorProxy
labelPath
- The label path of the process mediation object to be deleted. The label path
must resolve to only ONE processMediation object.type
- The class of the object to be deleted. Either Process,
Operand, Status or Policy
classes from com.oakgrovesystems.reactor.processMediation
package.
ReactorProxyException
- If argument labelPath or type is null or delete request fails
or an error occurs while talking to the server.public com.oakgrovesystems.reactor.ReactorObjectId cloneInstance(com.oakgrovesystems.reactor.ReactorObjectId id) throws ReactorProxyException
cloneInstance
in interface ReactorProxy
id
- The id of the process to be cloned.
ReactorProxyException
- If argument id is null or clone request fails or
an error occurs while talking to the server.public com.oakgrovesystems.reactor.ReactorObjectId cloneInstance(com.oakgrovesystems.reactor.LabelPath labelPath) throws ReactorProxyException
cloneInstance
in interface ReactorProxy
labelPath
- The label path of the process to be cloned. The label path must resolve to only ONE
process definition.
ReactorProxyException
- If argument labelPath is null or clone request fails
or an error occurs while talking to the server.public com.oakgrovesystems.reactor.ReactorObjectId cloneInstance(com.oakgrovesystems.reactor.processMediation.Process process) throws ReactorProxyException
cloneInstance
in interface ReactorProxy
process
- The process to be cloned.
ReactorProxyException
- If argument process is null or clone request fails
or an error occurs while talking to the server.public com.oakgrovesystems.reactor.ReactorObjectId cloneInstance(com.oakgrovesystems.reactor.ReactorObjectId id, java.lang.String cloneLabel) throws ReactorProxyException
cloneInstance
in interface ReactorProxy
id
- The id of the process to be cloned.cloneLabel
- The new label to be assigned to the process instance.
ReactorProxyException
- If argument id is null or clone request fails or an error occurs while talking to the server.public com.oakgrovesystems.reactor.ReactorObjectId cloneInstance(com.oakgrovesystems.reactor.LabelPath labelPath, java.lang.String cloneLabel) throws ReactorProxyException
cloneInstance
in interface ReactorProxy
labelPath
- The label path of the process to be cloned. The label path must resolve to only ONE
process definition.cloneLabel
- The new label to be assigned to the process instance.
ReactorProxyException
- If arguement labelPath is null or clone request fails
or an error occurs while talking to the server.public com.oakgrovesystems.reactor.ReactorObjectId cloneInstance(com.oakgrovesystems.reactor.processMediation.Process process, java.lang.String cloneLabel) throws ReactorProxyException
cloneInstance
in interface ReactorProxy
process
- The process to be cloned.cloneLabel
- The new label to be assigned to the process instance.
ReactorProxyException
- If argument process is null or clone request fails
or an error occurs while talking to the server.public void startProcess(com.oakgrovesystems.reactor.ReactorObjectId id) throws ReactorProxyException
startProcess
in interface ReactorProxy
id
- The id of the process instance to be started.
ReactorProxyException
- If argument id is null or start request fails or
an error occurs while talking to the server.public void startProcess(com.oakgrovesystems.reactor.LabelPath labelPath) throws ReactorProxyException
startProcess
in interface ReactorProxy
labelPath
- The label path of the process instance to be started. The label path must resolve to
only ONE process instance.
ReactorProxyException
- If argument labelPath is null or start request fails
or an error occurs while talking to the server.public void startProcess(com.oakgrovesystems.reactor.processMediation.Process process) throws ReactorProxyException
startProcess
in interface ReactorProxy
process
- The process instance to be started.
ReactorProxyException
- If argument process is null or start request
fails or an error occurs while talking to the server.public void stopProcess(com.oakgrovesystems.reactor.ReactorObjectId id) throws ReactorProxyException
stopProcess
in interface ReactorProxy
id
- The id of the started process instance to be stopped.
ReactorProxyException
- If argument id is null or stop request fails or an error occurs while talking to the server.public void stopProcess(com.oakgrovesystems.reactor.LabelPath labelPath) throws ReactorProxyException
stopProcess
in interface ReactorProxy
labelPath
- The label path of the started process instance to be stopped. The label path
must resolve to only ONE started process instance.
ReactorProxyException
- If argument id is null or stop request fails or
an error occurs while talking to the server.public void stopProcess(com.oakgrovesystems.reactor.processMediation.Process process) throws ReactorProxyException
stopProcess
in interface ReactorProxy
process
- The started process instance to be stopped.
ReactorProxyException
- If argument process is null or stop request fails
or an error occurs while talking to the server.public void setACLOnObject(com.oakgrovesystems.reactor.ReactorObjectId objectId, com.oakgrovesystems.reactor.processMediation.ACL newACL, java.lang.Class type) throws ReactorProxyException
setACLOnObject
in interface ReactorProxy
objectId
- The id of the object on which the new ACL
will be set.type
- The class type the objectId refers to.
ReactorProxyException
- If any argument is null, the
request fails, or if other errors occur while talking to the
server.public void setACLOnObject(com.oakgrovesystems.reactor.LabelPath objectLabelPath, com.oakgrovesystems.reactor.processMediation.ACL newACL, java.lang.Class type) throws ReactorProxyException
setACLOnObject
in interface ReactorProxy
type
- The class type the labelPath refers to.
ReactorProxyException
- If any argument is null, the
request fails, or if other errors occur while talking to the
server.public void addStatusToProcess(com.oakgrovesystems.reactor.ReactorObjectId processId, com.oakgrovesystems.reactor.ReactorObjectId statusId) throws ReactorProxyException
addStatusToProcess
in interface ReactorProxy
processId
- The id of the process to which the status will be added.statusId
- The id of the status that will be added to the process.
ReactorProxyException
- If argument processId or statusId is null or
add status request fails or an error occurs while talking to the server.public void addStatusToProcess(com.oakgrovesystems.reactor.LabelPath processLabelPath, com.oakgrovesystems.reactor.LabelPath statusLabelPath) throws ReactorProxyException
addStatusToProcess
in interface ReactorProxy
processLabelPath
- The label path of the process to which the status will be added.
The label path must resolve to only ONE process instance.statusLabelPath
- The label path of the status that will be added to the process. The label
path must resolve to ony one status.
ReactorProxyException
- If argument processLabelPath or statusLabelPath is null or add status
request fails or an error occurs while talking to the server.public void addStatusToProcess(com.oakgrovesystems.reactor.processMediation.Process process, com.oakgrovesystems.reactor.processMediation.Status status) throws ReactorProxyException
addStatusToProcess
in interface ReactorProxy
process
- The process to which the status will be added.status
- The status that will be added to the process.
ReactorProxyException
- If argument process or status is null or
add status request fails or an error occurs while talking to the server.public void removeStatusFromProcess(com.oakgrovesystems.reactor.ReactorObjectId processId, com.oakgrovesystems.reactor.ReactorObjectId statusId) throws ReactorProxyException
removeStatusFromProcess
in interface ReactorProxy
processId
- The id of the process from which the status will be removed.statusId
- The id of the status that will be removed from the process.
ReactorProxyException
- If argument processId or argument statusId is null or
remove status request fails or an error occurs while talking to the server.public void removeStatusFromProcess(com.oakgrovesystems.reactor.LabelPath processLabelPath, com.oakgrovesystems.reactor.LabelPath statusLabelPath) throws ReactorProxyException
removeStatusFromProcess
in interface ReactorProxy
processLabelPath
- The label path of the process from which the status will be removed. The label
path must resolve to only ONE process instance.statusLabelPath
- The label path of the status that will be removed from the process. The label path
must resolve to ony one status.
ReactorProxyException
- If argument processLabelPath or statusLabelPath is null or
remove status request fails or an error occurs while talking to the server.public void removeStatusFromProcess(com.oakgrovesystems.reactor.processMediation.Process process, com.oakgrovesystems.reactor.processMediation.Status status) throws ReactorProxyException
removeStatusFromProcess
in interface ReactorProxy
process
- The process from which the status will be removed .status
- The status that will be removed from the process.
ReactorProxyException
- If argument process or status is null or
remove status request fails or an error occurs while talking to the server.public com.oakgrovesystems.reactor.processMediation.ProcessMediationObject get(com.oakgrovesystems.reactor.ReactorObjectId id) throws ReactorProxyException
get
in interface ReactorProxy
id
- The id of the process mediation object to get.
ReactorProxyException
- If argument id is null or get request fails or error occurs while talking to the server.public com.oakgrovesystems.reactor.processMediation.ProcessMediationObject get(com.oakgrovesystems.reactor.ReactorObjectId id, com.oakgrovesystems.reactor.ReactorObjects objects) throws ReactorProxyException
ReactorObjects
get
in interface ReactorProxy
id
- The id of the process mediation object to get.objects
- The convenience collection object to which the process mediation object
will be added. Can be null.
ReactorProxyException
- If argument id is null or get request fails or
an error occurs while talking to the server.public com.oakgrovesystems.reactor.processMediation.ProcessMediationObject get(com.oakgrovesystems.reactor.LabelPath labelPath) throws ReactorProxyException
get
in interface ReactorProxy
labelPath
- The labelPath of the process mediation object to get. The label path
must resolve to only one process mediation object.
ReactorProxyException
- If argument labelPath is null or get request fails
or an error occurs while talking to the server.public com.oakgrovesystems.reactor.processMediation.ProcessMediationObject get(com.oakgrovesystems.reactor.LabelPath labelPath, com.oakgrovesystems.reactor.ReactorObjects objects) throws ReactorProxyException
ReactorObjects
get
in interface ReactorProxy
labelPath
- The labelPath of the process mediation object to get. The label path
must resolve to only one process mediation object.objects
- The convenience collection object to which the process mediation object
will be added. Can be null
ReactorProxyException
- If argument labelPath is null or get request fails or an error occurs while talking to the server.public com.oakgrovesystems.reactor.ReactorObjects query(com.oakgrovesystems.reactor.client.QueryCriteria criteria, com.oakgrovesystems.reactor.ReactorObjects objects) throws ReactorProxyException
QueryCriteria
object.
If ReactorObjects
is provided as an argument then process mediation objects
meeting the criteria will be added to it or else a new instance of ReactorObjects
will be created and returned.
query
in interface ReactorProxy
criteria
- The criteria of the query.objects
- If specified then process mediation objects will be added to it.
ReactorProxyException
- If argument criteria is null or query request fails or an error occurs while talking to the server.public void lock(com.oakgrovesystems.reactor.ReactorObjectId id, com.oakgrovesystems.reactor.processMediation.ACE ace) throws ReactorProxyException
lock
in interface ReactorProxy
ReactorProxyException
public void lock(com.oakgrovesystems.reactor.ReactorObjectId id, com.oakgrovesystems.reactor.processMediation.ACE ace, java.lang.String eligibleRole, java.lang.String standbyRole) throws ReactorProxyException
lock
in interface ReactorProxy
ReactorProxyException
public void lock(com.oakgrovesystems.reactor.ReactorObjectId id, com.oakgrovesystems.reactor.processMediation.ACE ace, java.lang.String eligibleRole, java.lang.String standbyRole, com.oakgrovesystems.reactor.ReactorObjectId status) throws ReactorProxyException
lock
in interface ReactorProxy
ReactorProxyException
public void lock(com.oakgrovesystems.reactor.ReactorObjectId id, com.oakgrovesystems.reactor.processMediation.ACE ace, java.lang.String eligibleRole, java.lang.String standbyRole, com.oakgrovesystems.reactor.LabelPath status) throws ReactorProxyException
lock
in interface ReactorProxy
ReactorProxyException
public void lock(com.oakgrovesystems.reactor.LabelPath path, com.oakgrovesystems.reactor.processMediation.ACE ace) throws ReactorProxyException
lock
in interface ReactorProxy
ReactorProxyException
public void lock(com.oakgrovesystems.reactor.LabelPath path, com.oakgrovesystems.reactor.processMediation.ACE ace, java.lang.String eligibleRole, java.lang.String standbyRole, com.oakgrovesystems.reactor.ReactorObjectId status) throws ReactorProxyException
lock
in interface ReactorProxy
ReactorProxyException
public void lock(com.oakgrovesystems.reactor.LabelPath path, com.oakgrovesystems.reactor.processMediation.ACE ace, java.lang.String eligibleRole, java.lang.String standbyRole, com.oakgrovesystems.reactor.LabelPath status) throws ReactorProxyException
lock
in interface ReactorProxy
ReactorProxyException
public void unlock(com.oakgrovesystems.reactor.ReactorObjectId id, com.oakgrovesystems.reactor.processMediation.ACE ace) throws ReactorProxyException
unlock
in interface ReactorProxy
ReactorProxyException
public void unlock(com.oakgrovesystems.reactor.ReactorObjectId id, com.oakgrovesystems.reactor.processMediation.ACE ace, java.lang.String eligibleRole, java.lang.String standbyRole) throws ReactorProxyException
unlock
in interface ReactorProxy
ReactorProxyException
public void unlock(com.oakgrovesystems.reactor.ReactorObjectId id, com.oakgrovesystems.reactor.processMediation.ACE ace, java.lang.String eligibleRole, java.lang.String standbyRole, com.oakgrovesystems.reactor.ReactorObjectId status) throws ReactorProxyException
unlock
in interface ReactorProxy
ReactorProxyException
public void unlock(com.oakgrovesystems.reactor.ReactorObjectId id, com.oakgrovesystems.reactor.processMediation.ACE ace, java.lang.String eligibleRole, java.lang.String standbyRole, com.oakgrovesystems.reactor.LabelPath status) throws ReactorProxyException
unlock
in interface ReactorProxy
ReactorProxyException
public void unlock(com.oakgrovesystems.reactor.LabelPath path, com.oakgrovesystems.reactor.processMediation.ACE ace) throws ReactorProxyException
unlock
in interface ReactorProxy
ReactorProxyException
public void unlock(com.oakgrovesystems.reactor.LabelPath path, com.oakgrovesystems.reactor.processMediation.ACE ace, java.lang.String eligibleRole, java.lang.String standbyRole, com.oakgrovesystems.reactor.ReactorObjectId status) throws ReactorProxyException
unlock
in interface ReactorProxy
ReactorProxyException
public void unlock(com.oakgrovesystems.reactor.LabelPath path, com.oakgrovesystems.reactor.processMediation.ACE ace, java.lang.String eligibleRole, java.lang.String standbyRole, com.oakgrovesystems.reactor.LabelPath status) throws ReactorProxyException
unlock
in interface ReactorProxy
ReactorProxyException
protected void lock(com.oakgrovesystems.reactor.ReactorObjectId objectId, com.oakgrovesystems.reactor.LabelPath objectPath, com.oakgrovesystems.reactor.processMediation.ACE ace, java.lang.String eligibleRole, java.lang.String standbyRole, com.oakgrovesystems.reactor.ReactorObjectId statusId, com.oakgrovesystems.reactor.LabelPath statusPath) throws ReactorProxyException
ReactorProxyException
protected void unlock(com.oakgrovesystems.reactor.ReactorObjectId objectId, com.oakgrovesystems.reactor.LabelPath objectPath, com.oakgrovesystems.reactor.processMediation.ACE ace, java.lang.String eligibleRole, java.lang.String standbyRole, com.oakgrovesystems.reactor.ReactorObjectId statusId, com.oakgrovesystems.reactor.LabelPath statusPath) throws ReactorProxyException
ReactorProxyException
protected abstract com.oakgrovesystems.reactor.ReactorResponse sendRequest(com.oakgrovesystems.reactor.requests.ReactorRequest request) throws ReactorProxyException
ReactorProxyException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |