|
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 Workflow operations.
| Method Summary | |
Item |
getRequestForWorkflowProcess(long workflowPid, AttributeRequest[] attrs)Returns a Request corresponding to a given WorkflowProcess id. |
Item |
getWorkflowConfiguration(long id, java.lang.String operation, boolean direct, AttributeRequest[] attrs)Returns the WorkflowConfiguration of the specified type that is associated with the given item ID, or null if no WorkflowConfiguration of the specified type exists for the given item ID. |
Item[] |
getWorkflowConfigurations(long id, AttributeRequest[] attrs)Returns every WorkflowConfiguration that is associated directly with the given Item ID, or null if no WorkflowConfigurations exist directly on the given Item ID. |
Item[] |
listWorkflows(AttributeRequest[] attributes)Returns all Workflow instances that have been registered. |
void |
removeWorkflowConfiguration(long id, java.lang.String type)Removes the given Item ID's WorkflowConfiguration of the specified type. |
void |
setWorkflowConfiguration(long id, java.lang.String operation, NamedValue[] config)Sets a WorkflowConfiguration for an Item, replacing any existing WorkflowConfiguration of the same operation type. |
java.lang.String |
validateWorkflowParameterValue(long workflowId, java.lang.String paramName, java.lang.String value)Validates that the value for the parameter name is correct according to the validator defined for that parameter. |
| Method Detail |
public Item getRequestForWorkflowProcess(long workflowPid,
AttributeRequest[] attrs)
throws FdkException
workflowPid - ID of the workflow process.FdkException - if the operation fails.
public Item getWorkflowConfiguration(long id,
java.lang.String operation,
boolean direct,
AttributeRequest[] attrs)
throws FdkException
id - ID of the Item from which to retrieve the WorkflowConfiguration of the specified type.operation - the operation to configure (the type of WorkflowConfiguration) (see Attributes.WORKFLOW_CONFIGURATION_OPERATION and Attributes.WORKFLOW_OPERATIONS).direct - whether to only retrieve the WorkflowConfiguration of the specified type directly from the given Item ID; if false and the given Item ID does not have a direct WorkflowConfiguration of the specified type, then this method retrieves the WorkflowConfiguration from the closest parent of the Item ID that does have one.attrs - the requested attributes (see setWorkflowConfiguration).FdkException - if the operation fails.
public Item[] getWorkflowConfigurations(long id,
AttributeRequest[] attrs)
throws FdkException
id - ID of the Item from which to retrieve WorkflowConfiguration instances.attrs - the requested attributes (see setWorkflowConfiguration).FdkException - if the operation fails.
public Item[] listWorkflows(AttributeRequest[] attributes)
throws FdkException
attributes - the requested attributes.FdkException - if the operation fails.
public void removeWorkflowConfiguration(long id,
java.lang.String type)
throws FdkException
id - ID of the Item from which to remove the WorkflowConfiguration.FdkException - if the operation fails.
public void setWorkflowConfiguration(long id,
java.lang.String operation,
NamedValue[] config)
throws FdkException
id - ID of the item on which to set the WorkflowConfiguration.operation - the operation to configure (the type of WorkflowConfiguration) (see Attributes.WORKFLOW_CONFIGURATION_OPERATION and Attributes.WORKFLOW_OPERATIONS).FdkException - if the operation fails.
public java.lang.String validateWorkflowParameterValue(long workflowId,
java.lang.String paramName,
java.lang.String value)
throws FdkException
value for the parameter name is correct according to the validator defined for that parameter.workflowId - ID of the Workflow on which the parameter is defined.paramName - name of the workflow parameter.value - value to verify.FdkException - if the operation fails, or if the validation 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 | |||||||