|
|||||||||||
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.Delete
A request to permanently remove a Process Mediation Object.
Field Summary | |
static java.lang.String |
DELETE_DEF_PARM_NAME
The name of the request parameter that is the boolean value of deleteDefinitionOnly |
static java.lang.String |
ID_PARM_NAME
The name of the request parameter that is the id of the object to delete. |
static java.lang.String |
LABEL_PATH_PARM_NAME
The name of the request parameter that is the label path of the object to delete. |
static java.lang.String |
REQUEST_TYPE
The request type of Delete requests. |
static java.lang.String |
TYPE_PARM_NAME
The name of the request parameter that is the type of the object to delete |
Fields inherited from class com.oakgrovesystems.reactor.requests.ReactorRequest |
operandOutputter, policyOutputter, processOutputter, statusOutputter |
Constructor Summary | |
Delete()
Creates a Delete request without specifying the authentication token to use to make the request. |
|
Delete(java.lang.String authToken)
Creates a Delete request that will use the specified authentication token |
Method Summary | |
boolean |
getDeleteDefinitionOnly()
Whether or not only a Process definition may be deleted by this request. |
com.oakgrovesystems.reactor.ReactorObjectId |
getId()
returns the id of the object to delete |
com.oakgrovesystems.reactor.LabelPath |
getLabelPath()
returns the label path of the object to delete |
java.lang.Class |
getType()
returns the Class of the object to delete |
java.util.List |
paramsToXML()
Returns a List of Elements representing the parameters of the request |
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 |
setDeleteDefinitionOnly(boolean deleteDefinitionOnly)
Specifies whether or not only a Process definition may be deleted by this request. |
void |
setId(com.oakgrovesystems.reactor.ReactorObjectId id)
Specifies the id of the object to delete. |
void |
setLabelPath(com.oakgrovesystems.reactor.LabelPath lp)
Specifies the label path of the object to delete. |
void |
setType(java.lang.Class type)
Specifies the Class of the object to delete |
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 DELETE_DEF_PARM_NAME
public static final java.lang.String REQUEST_TYPE
Constructor Detail |
public Delete()
public Delete(java.lang.String authToken)
authToken
- the authentication token to use to make the requestMethod Detail |
public void setId(com.oakgrovesystems.reactor.ReactorObjectId id)
id
- the id of the object to deletepublic com.oakgrovesystems.reactor.ReactorObjectId getId()
public void setLabelPath(com.oakgrovesystems.reactor.LabelPath lp)
lp
- the label path of the object to deletepublic com.oakgrovesystems.reactor.LabelPath getLabelPath()
public void setType(java.lang.Class type)
type
- the Class of the object to deletepublic java.lang.Class getType()
public void setDeleteDefinitionOnly(boolean deleteDefinitionOnly)
deleteDefinitionOnly
- whether or not to delete the Process definitonpublic boolean getDeleteDefinitionOnly()
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.public java.util.List paramsToXML() throws FailedRequestException
ReactorRequest
paramsToXML
in class ReactorRequest
FailedRequestException
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 |