|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.oakgrovesystems.reactor.requests.ReactorRequest | +--com.oakgrovesystems.reactor.requests.SetACL
A request to replace an ACL on a Process Mediation Object. The parameters must include an ID or Labelpath of the object, as well as an ACL to set.
Field Summary | |
static java.lang.String |
ACL_PARM_NAME
This stores the actual ACL to replace. |
static java.lang.String |
ID_PARM_NAME
These parameters are mutually exclusive. |
static java.lang.String |
LABEL_PATH_PARM_NAME
|
static java.lang.String |
REQUEST_TYPE
The request type of SetACL requests. |
static java.lang.String |
TYPE_PARM_NAME
This stores the Class type to set. |
Fields inherited from class com.oakgrovesystems.reactor.requests.ReactorRequest |
operandOutputter, policyOutputter, processOutputter, statusOutputter |
Constructor Summary | |
SetACL()
Creates a SetACL request without specifying the authentication token to use to make the request. |
|
SetACL(java.lang.String authToken)
Creates a SetACL request that will use the specified authentication token |
Method Summary | |
com.oakgrovesystems.reactor.processMediation.ACL |
getNewACL()
Returns the new ACL to set. |
com.oakgrovesystems.reactor.ReactorObjectId |
getObjectId()
Returns the id of the object to set the ACL on. |
com.oakgrovesystems.reactor.LabelPath |
getObjectLabelPath()
Returns the label path of the object to set ACL on. |
java.lang.Class |
getType()
Returns the type of the object to set the ACL on. |
java.util.List |
paramsToXML()
Converts the object-based parameters to XML. |
protected void |
parseParameters(org.jdom.Element params,
com.oakgrovesystems.reactor.LabelPathToIdMapper mapper)
Configures the parameters from the XML representation |
protected com.oakgrovesystems.reactor.ReactorResponse |
parseReturnValues(org.jdom.Element returnValues)
|
void |
setNewACL(com.oakgrovesystems.reactor.processMediation.ACL newACL)
Specifies the new ACL to set. |
void |
setObjectId(com.oakgrovesystems.reactor.ReactorObjectId id)
Specifies the id of the object to set the ACL on. |
void |
setObjectLabelPath(com.oakgrovesystems.reactor.LabelPath lp)
Specifies the label path of the object to set ACL on. |
void |
setType(java.lang.Class type)
Specifies the type of the object to set the ACL on. |
Methods inherited from class com.oakgrovesystems.reactor.requests.ReactorRequest |
configureFromXML, configureFromXML, createResponseXML, createResponseXML, createReturnValuesElem, createRtnValXML, getAuthToken, getLabelPath, getObjectId, getParameter, getParameter, getParameterNames, getRequestType, makeAuthTokenXML, makeObjectElement, makeOperandElement, makePolicyElement, makeProcessElement, makeReferenceElement, makeStatusElement, parseResponse, send, sendAsXML, sendViaHttp, setAuthToken, setParameter, setRequestType, toString, toXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String ID_PARM_NAME
public static final java.lang.String LABEL_PATH_PARM_NAME
public static final java.lang.String TYPE_PARM_NAME
public static final java.lang.String ACL_PARM_NAME
public static final java.lang.String REQUEST_TYPE
Constructor Detail |
public SetACL()
public SetACL(java.lang.String authToken)
authToken
- the authentication token to use to make the
requestMethod Detail |
public void setObjectId(com.oakgrovesystems.reactor.ReactorObjectId id)
id
- the id of the object to set ACL onpublic com.oakgrovesystems.reactor.ReactorObjectId getObjectId()
public void setType(java.lang.Class type)
public java.lang.Class getType()
public void setObjectLabelPath(com.oakgrovesystems.reactor.LabelPath lp)
lp
- the label path of the object to set ACL onpublic com.oakgrovesystems.reactor.LabelPath getObjectLabelPath()
public com.oakgrovesystems.reactor.processMediation.ACL getNewACL()
public void setNewACL(com.oakgrovesystems.reactor.processMediation.ACL newACL)
newACL
- the new ACL to setpublic java.util.List paramsToXML() throws FailedRequestException
paramsToXML
in class ReactorRequest
FailedRequestException
protected void parseParameters(org.jdom.Element params, com.oakgrovesystems.reactor.LabelPathToIdMapper mapper) throws FailedRequestException
ReactorRequest
parseParameters
in class ReactorRequest
params
- the 'parameters' Element of the request
FailedRequestException
- if the parameters can't be configured from the XML.protected com.oakgrovesystems.reactor.ReactorResponse parseReturnValues(org.jdom.Element returnValues) throws FailedRequestException
parseReturnValues
in class ReactorRequest
FailedRequestException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |