public interface RequestManager extends Remote
Modifier and Type | Method and Description |
---|---|
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,
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(String name,
AttributeRequest[] attrreqs)
Simple search for Users with given (exact)name.
|
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.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.void deleteRequests(long[] ids) throws FdkException
ids
- the IDs of the Requests to delete.FdkException
- if the operation fails.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 failsvoid 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 failsvoid 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 failsvoid 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 failsvoid 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.boolean isOperationRequestEnabled(long id, String ecmAction) throws FdkException
id
- The ID of the object.ecmAction
- The ecm action's id.FdkException
- if the operation fails.Item[] searchResponders(String name, AttributeRequest[] attrreqs) throws FdkException
name
- The name to search forattrreqs
- The requested attributes.FdkException
- if the operation fails.Copyright © 2023. All rights reserved.