|
Oracle Content Database Web Services Java API Reference 10g Release 1 (10.2) B31408-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
FDK interface for managing Request operations.
Method Summary | |
void |
acknowledgeRequestForUser(long requestId, NamedValue[] def, AttributeRequest[] attributes) Acknowledges the request for the given user. |
void |
approveRequestForUser(long requestId, NamedValue[] def, AttributeRequest[] attributes) Approves the request for the given user. |
void |
cancelRequestForUser(long requestId, NamedValue[] def, AttributeRequest[] attributes) Cancels the request for the given user. |
void |
createUserRequest(long[] targets, NamedValue[] params) Creates a UserRequest for each set of targets that are controlled by a specific UserRequestWorkflowConfiguration. |
void |
deleteRequests(long[] ids) Deletes the Reqeusts having the given IDs. |
void |
denyRequestForUser(long requestId, NamedValue[] def, AttributeRequest[] attributes) Denies the request for the given user. |
boolean |
isOperationRequestEnabled(long id, java.lang.String ecmAction) Returns whether the specified operation(ecm action) is workflow enabled i.e request based. |
Item[] |
listRequests(long id, NamedValue[] def, AttributeRequest[] attributes) Returns the list of all reqeusts sent out by given user(id). |
Item[] |
listRequestsForUser(long id, NamedValue[] def, AttributeRequest[] attributes) Returns the list of all reqeusts that the given user is responder to. |
Item[] |
searchResponders(java.lang.String name, AttributeRequest[] attrreqs) Simple search for Users with given (exact)name. |
Method Detail |
public Item[] listRequests(long id, NamedValue[] def, AttributeRequest[] attributes) throws FdkException
id
- The ID of the userdef
- attributes on the request search
attributes
- The requested attributes.FdkException
- if the operation fails.public Item[] listRequestsForUser(long id, NamedValue[] def, AttributeRequest[] attributes) throws FdkException
id
- The ID of the userdef
- attributes on the request search
attributes
- The requested attributes.FdkException
- if the operation fails.public void deleteRequests(long[] ids) throws FdkException
ids
- the IDs of the Requests to delete.FdkException
- if the operation fails.public void approveRequestForUser(long requestId, NamedValue[] def, AttributeRequest[] attributes) throws FdkException
Note: This method is only available for REQUEST Items whose WORKFLOW has a WORKFLOW_TYPE attribute with value FdkConstants.WORKFLOW_TYPE_ORACLE; it does not work for custom WORKFLOW instances (WORKFLOW_TYPE attribute with value FdkConstants.WORKFLOW_TYPE_BPEL).
requestId
- ID of the requestdef
- attributes on the requestattributes
- requested attributesFdkException
- if the operation failspublic void denyRequestForUser(long requestId, NamedValue[] def, AttributeRequest[] attributes) throws FdkException
Note: This method is only available for REQUEST Items whose WORKFLOW has a WORKFLOW_TYPE attribute with value FdkConstants.WORKFLOW_TYPE_ORACLE; it does not work for custom WORKFLOW instances (WORKFLOW_TYPE attribute with value FdkConstants.WORKFLOW_TYPE_BPEL).
requestId
- ID of the requestdef
- attributes on the requestattributes
- requested attributesFdkException
- if the operation failspublic void cancelRequestForUser(long requestId, NamedValue[] def, AttributeRequest[] attributes) throws FdkException
Note: This method is only available for REQUEST Items whose WORKFLOW has a WORKFLOW_TYPE attribute with value FdkConstants.WORKFLOW_TYPE_ORACLE; it does not work for custom WORKFLOW instances (WORKFLOW_TYPE attribute with value FdkConstants.WORKFLOW_TYPE_BPEL).
requestId
- ID of the requestdef
- attributes on the requestattributes
- requested attributesFdkException
- if the operation failspublic void acknowledgeRequestForUser(long requestId, NamedValue[] def, AttributeRequest[] attributes) throws FdkException
Note: This method is only available for REQUEST Items whose WORKFLOW has a WORKFLOW_TYPE attribute with value FdkConstants.WORKFLOW_TYPE_ORACLE; it does not work for custom WORKFLOW instances (WORKFLOW_TYPE attribute with value FdkConstants.WORKFLOW_TYPE_BPEL).
requestId
- ID of the requestdef
- attributes on the requestattributes
- requested attributesFdkException
- if the operation failspublic void createUserRequest(long[] targets, NamedValue[] params) throws FdkException
targets
- the targets of the UserRequest.params
- parameters (name/value) to send to workflowFdkException
- if the operation fails.public boolean isOperationRequestEnabled(long id, java.lang.String ecmAction) throws FdkException
id
- The ID of the object.ecmAction
- The ecm action's id.FdkException
- if the operation fails.public Item[] searchResponders(java.lang.String name, AttributeRequest[] attrreqs) throws FdkException
name
- The name to search forattrreqs
- The requested attributes.FdkException
- if the operation fails.
|
Oracle Content Database Web Services Java API Reference 10g Release 1 (10.2) B31408-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |