|
Oracle® Content Services Web Services Java API Reference 10g Release 1 (10.1.1) B19047-01 |
|||||||
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[] attrs) Simple search for Users with given (exact)name. |
Method Detail |
public void acknowledgeRequestForUser(long requestId, NamedValue[] def, AttributeRequest[] attributes) throws FdkException
requestId
- The ID of the request.def
- attributes on the requestattributes
- The requested attributes.FdkException
- if the operation fails.public void approveRequestForUser(long requestId, NamedValue[] def, AttributeRequest[] attributes) throws FdkException
requestId
- The ID of the request.def
- attributes on the requestattributes
- The requested attributes.FdkException
- if the operation fails.public void cancelRequestForUser(long requestId, NamedValue[] def, AttributeRequest[] attributes) throws FdkException
requestId
- The ID of the request.def
- attributes on the requestattributes
- The requested attributes.FdkException
- if the operation fails.public 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 void deleteRequests(long[] ids) throws FdkException
ids
- the IDs of the Requests to delete.FdkException
- if the operation fails.public void denyRequestForUser(long requestId, NamedValue[] def, AttributeRequest[] attributes) throws FdkException
requestId
- The ID of the request.def
- attributes on the requestattributes
- The requested attributes.FdkException
- 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[] 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 Item[] searchResponders(java.lang.String name, AttributeRequest[] attrs) throws FdkException
name
- The name to search forFdkException
- if the operation fails.
|
Oracle® Content Services Web Services Java API Reference 10g Release 1 (10.1.1) B19047-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |