|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1.5.0) E10660-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITaskMetadataService
Method Summary | |
---|---|
boolean |
containsComponentTopicDocumentations(IWorkflowContext context, java.lang.String compositeDN, java.lang.String componentName, java.lang.String topicName, oracle.bpel.services.workflow.metadata.processDocumentation.model.DocumentationAudienceEnum documentationAudience, java.util.Locale locale) Returns if the given Component in the composite contains TopicDocumentation objects in the specified topicName, documentationAudience and locale |
boolean |
containsTaskTopicDocumentations(IWorkflowContext context, java.lang.String taskId, java.lang.String topicName, oracle.bpel.services.workflow.metadata.processDocumentation.model.DocumentationAudienceEnum documentationAudience, java.util.Locale locale) Returns if the given Human task contains TopicDocumentation objects in the specified topicName, documentationAudience and locale |
java.util.List<oracle.bpel.services.workflow.metadata.processDocumentation.model.TopicDocumentationType> |
getComponentTopicDocumentations(IWorkflowContext context, java.lang.String compositeDN, java.lang.String componentName, java.lang.String topicName, oracle.bpel.services.workflow.metadata.processDocumentation.model.DocumentationAudienceEnum documentationAudience, java.util.Locale locale) Get the list of TopicDocumentation objects for the specified Component of the composite, topicName, documentationAudience and locale |
java.util.Map |
getOutcomes(IWorkflowContext context, Task task, java.util.Locale locale) Get the outcomes for the given Task object. |
ResourceBundleInfo |
getResourceBundleInfo(IWorkflowContext context, Task task, java.util.Locale locale) Get the resource bundle information |
java.util.List |
getRestrictedActions(IWorkflowContext context, Task task) Get the restricted actions |
java.util.List |
getTaskAttributes(IWorkflowContext context) Get a list of TaskAttribute objects for standard task attributes. |
java.util.List |
getTaskAttributesForTaskDefinition(IWorkflowContext context, java.lang.String taskDefinitionId) Get a list of TaskAttribute objects that describe standard task attributes and mapped flex-field columns for the specified task definition. |
java.util.List<TaskAttributeType> |
getTaskAttributesForTaskDefinitions(IWorkflowContext context, java.util.List<java.lang.String> taskDefinitionIds) Get a list of TaskAttribute objects that describe standard task attributes and mapped flex-field columns that are common for the specified task definitions. |
java.util.List<TaskAttributeType> |
getTaskAttributesForTaskNamespaces(IWorkflowContext context, java.util.List<java.lang.String> taskNamespaces) Get a list of TaskAttribute objects that describe standard task attributes and mapped flex-field columns that are common for task definitions identified by the specified namespaces. |
TaskDefinition |
getTaskDefinition(IWorkflowContext context, Task task) Get the task definition object given the task object |
TaskDefinition |
getTaskDefinitionById(IWorkflowContext context, java.lang.String taskDefinitionId) Get the task definition object given the task definition id |
TaskDefinition |
getTaskDefinitionById(IWorkflowContext context, java.lang.String taskDefinitionId, java.lang.String mdsLabel) Get the task definition object given the task definition id |
java.util.Map |
getTaskDefinitionOutcomes(IWorkflowContext context, java.lang.String taskDefinitionId, java.util.Locale locale) Get the outcomes for the given task definition. |
java.util.Map |
getTaskDefinitionOutcomes(IWorkflowContext context, java.lang.String taskDefinitionId, java.lang.String mdsLabel, java.util.Locale locale) Get the outcomes for the given task definition. |
TaskDisplay |
getTaskDisplay(IWorkflowContext context, Task task, java.lang.String applicationName) Deprecated. Since 11.1.1.1.0. |
TaskDisplayRegion |
getTaskDisplayRegion(IWorkflowContext context, Task task, java.lang.String applicationName, java.lang.String regionName) Get a region definition for the given region |
TaskMetadata |
getTaskMetadataByNamespace(IWorkflowContext context, java.lang.String taskDefinitionNamespace, java.lang.String compositeVersion) Gets the TaskMetadata object that describes the Human Task component with the specified task definition namespace and composite version. |
java.util.List<oracle.bpel.services.workflow.metadata.processDocumentation.model.TopicDocumentationType> |
getTaskTopicDocumentations(IWorkflowContext context, java.lang.String taskId, java.lang.String topicName, oracle.bpel.services.workflow.metadata.processDocumentation.model.DocumentationAudienceEnum documentationAudience, java.util.Locale locale) Get the list of TopicDocumentation objects for the specified Human task, topicName, documentationAudience and locale |
java.util.Map<java.lang.String,IPrivilege> |
getTaskVisibilityRules(IWorkflowContext context, java.lang.String taskId) Get the task visibility rules. |
java.util.Map<java.lang.String,IPrivilege> |
getTaskVisibilityRules(IWorkflowContext context, Task task) Get the task visibility rules. |
java.util.List |
getVersionTrackedAttrs(IWorkflowContext context, Task task) Get the version tracked attributes |
java.util.List |
listTaskMetadata(IWorkflowContext context, java.lang.String keyword, java.lang.String sortAttribute, java.lang.String sortOrder) Gets a List of the TaskMetadata objects that match the specified keyword(s). |
Field Detail |
---|
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_PAYLOAD
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_COMMENTS
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_ATTACHMENTS
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_HISTORY
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_FLEXFIELDS
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_REVIEWERS
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_ASSIGNEES
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_ASSIGNEE_USERS
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_ASSIGNEE_GROUPS
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_ACQUIRED_BY
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_DATES
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_START_DATE
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_END_DATE
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_ASSIGNED_DATE
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_SYSTEM_END_DATE
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_CREATED_DATE
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_EXPIRATION_DATE
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_ALL_UPDATED_DATE
static final java.lang.String TASK_VISIBILITY_ATTRIBUTE_PAYLOAD_MESSAGE_ATTR_PREFIX
Method Detail |
---|
TaskDefinition getTaskDefinitionById(IWorkflowContext context, java.lang.String taskDefinitionId, java.lang.String mdsLabel) throws TaskMetadataServiceException
context
- The workflow contexttaskDefinitionId
- a String
valuemdsLabel
- Label associated to this task definition when persisted to mds. Can be null if not available.TaskMetadataServiceException
- if an error occursTaskDefinition getTaskDefinitionById(IWorkflowContext context, java.lang.String taskDefinitionId) throws TaskMetadataServiceException
context
- The workflow contexttaskDefinitionId
- a String
valueTaskMetadataServiceException
- if an error occursTaskDefinition getTaskDefinition(IWorkflowContext context, Task task) throws TaskMetadataServiceException
context
- The workflow contexttask
- The task objectTaskMetadataServiceException
- if an error occursjava.util.List listTaskMetadata(IWorkflowContext context, java.lang.String keyword, java.lang.String sortAttribute, java.lang.String sortOrder) throws TaskMetadataServiceException
TaskMetadata
objects that match the specified keyword(s). The TaskMetadata objects describe version and composite information for Human Task components.context
- The workflow contextkeyword
- The keyword to search for task metadata. This keyword could be from id, name, title, applicationName, compositeName, componentNamesortAttribute
- The attribute to sort the results by. The possible values are 'id', 'name', 'title', 'description','applicationName','compositeName', 'componentName', 'compositeVersion', 'compositeDN' If not one of the values above, it would be defaulted to 'name'sortOrder
- The sort order - either 'ASC' or 'DESC'TaskMetadataServiceException
- if an error occursTaskMetadata getTaskMetadataByNamespace(IWorkflowContext context, java.lang.String taskDefinitionNamespace, java.lang.String compositeVersion) throws TaskMetadataServiceException
TaskMetadata
object that describes the Human Task component with the specified task definition namespace and composite version. If no composite version is specified, the task metadata returned corresponds to the Humant Task component in the active version of the composite.context
- The worklfow contexttaskDefinitionNamespace
- String the target namespace defined for the Human Task component to search for. This is the target namespace for the task definition, and is defined at design time. It defaults to "http://xmlns.oracle.com/<Application Name>/<Composite Name>/<Component Name>"compositeVersion
- The version of the composite the workflow component is located in. If null, the currently active composite version will be used.TaskMetadataServiceException
java.util.Map getOutcomes(IWorkflowContext context, Task task, java.util.Locale locale) throws TaskMetadataServiceException
context
- The workflow contexttask
- The task objectlocale
- Locale to use when looking up display strings.TaskMetadataServiceException
- if an error occursjava.util.Map getTaskDefinitionOutcomes(IWorkflowContext context, java.lang.String taskDefinitionId, java.lang.String mdsLabel, java.util.Locale locale) throws TaskMetadataServiceException
context
- The workflow contexttaskDefinitionId
- a String
valuemdsLabel
- Label associated to this task definition when persisted to mds. Can be null if not available.locale
- The Locale to use when looking up display strings.TaskMetadataServiceException
- if an error occursjava.util.Map getTaskDefinitionOutcomes(IWorkflowContext context, java.lang.String taskDefinitionId, java.util.Locale locale) throws TaskMetadataServiceException
context
- The workflow contexttaskDefinitionId
- a String
valuelocale
- The Locale to use when looking up display strings.TaskMetadataServiceException
- if an error occursjava.util.List getVersionTrackedAttrs(IWorkflowContext context, Task task) throws TaskMetadataServiceException
context
- The workflow contexttask
- The task objectTaskMetadataServiceException
- if an error occursjava.util.List getRestrictedActions(IWorkflowContext context, Task task) throws TaskMetadataServiceException
context
- The workflow contexttask
- The task objectTaskMetadataServiceException
- if an error occurs
@Deprecated
TaskDisplay getTaskDisplay(IWorkflowContext context,
Task task,
java.lang.String applicationName)
throws TaskMetadataServiceException
context
- The workflow contexttask
- The task objectapplicationName
- The application in whose context is the TaskDisplay URI requiredTaskMetadataServiceException
- For any exceptionTaskDisplayRegion getTaskDisplayRegion(IWorkflowContext context, Task task, java.lang.String applicationName, java.lang.String regionName) throws TaskMetadataServiceException
context
- The workflow contexttask
- The task objectapplicationName
- The application in whose context is the TaskDisplay URI requiredregionName
- The region nameTaskMetadataServiceException
- if an error occursResourceBundleInfo getResourceBundleInfo(IWorkflowContext context, Task task, java.util.Locale locale) throws TaskMetadataServiceException
context
- The workflow contexttask
- The task objectlocale
- The locale for which to get the resource bundle. This is needed because of some validation done in getting the resource bundle informationTaskMetadataServiceException
- if an error occursjava.util.List getTaskAttributes(IWorkflowContext context) throws TaskMetadataServiceException
TaskAttribute
objects for standard task attributes. TaskAttribute objects provide information on attribute type, column name, and user-disaplayable labels, localized to the Locale of the context user, and have the following properties:
String
name of the attribute, using dot-seperated format to specify path to attribute. For example, "title", "systemAttributes.createdDate", "systemMessageAttributes.textAttribute1".String
the name of the column on the WFTASK table corresponding to this attribute.String
human-readable label for the attribute, appropriate for the Locale in the supplied IWorkflowContext. This label is looked up from the WorkflowLabels.properties resource bundle. The resource bundle is loaded from the classpath specified in the configuration parameter worklfowCustomClasspathURL. If not available from that classpath, the bunde is loaded from the classpath used by workflow services. Labels are looked up using a key of the form TASK_ATTR.<attributeName>. If no resource string is found, then the attributeName or flexfield attribute label name is used as the label.String
the type of this attribute. Will be one of the following values:
IWorkflowConstants.TASK_ATTR_STRING
IWorkflowConstants.TASK_ATTR_DATE
IWorkflowConstants.TASK_ATTR_INTEGER
IWorkflowConstants.TASK_ATTR_DOUBLE
IWorkflowConstants.TASK_ATTR_FLOAT
IWorkflowConstants.TASK_ATTR_USER
IWorkflowConstants.TASK_ATTR_GROUP
IWorkflowConstants.TASK_ATTR_ROLE
IWorkflowConstants.TASK_ATTR_USERGROUP
IWorkflowConstants.TASK_ATTR_USER_LIST
IWorkflowConstants.TASK_ATTR_GROUP_LIST
IWorkflowConstants.TASK_ATTR_ROLE_LIST
IWorkflowConstants.TASK_ATTR_IDENTITY_LIST
context
- The workflow contextTaskMetadataServiceException
- if an error occursjava.util.List getTaskAttributesForTaskDefinition(IWorkflowContext context, java.lang.String taskDefinitionId) throws TaskMetadataServiceException
TaskAttribute
objects that describe standard task attributes and mapped flex-field columns for the specified task definition. TaskAttribute objects provide information on attribute type, column name, and user-disaplayable labels, localized to the Locale of the context user. TaskAttribute has the following properties:
String
name of the attribute, using dot-seperated format to specify path to attribute. For example, "title", "systemAttributes.createdDate", "systemMessageAttributes.textAttribute1".String
the name of the column on the WFTASK table corresponding to this attribute.String
human-readable label for the attribute, appropriate for the Locale in the supplied IWorkflowContext. This label is looked up from the WorkflowLabels.properties resource bundle. The resource bundle is loaded from the classpath specified in the configuration parameter worklfowCustomClasspathURL. If not available from that classpath, the bunde is loaded from the classpath used by workflow services. Labels are looked up using a key of the form TASK_ATTR.<attributeName> for task attributes. For mapped flex-fields, labels are looked up with a key of the form FLEX_LABEL.<attributeLabelName>. If no resource string is found, then the attributeName or flexfield attribute label name is used as the label.String
the type of this attribute. Will be one of the following values:
IWorkflowConstants.TASK_ATTR_STRING
IWorkflowConstants.TASK_ATTR_DATE
IWorkflowConstants.TASK_ATTR_INTEGER
IWorkflowConstants.TASK_ATTR_DOUBLE
IWorkflowConstants.TASK_ATTR_FLOAT
IWorkflowConstants.TASK_ATTR_USER
IWorkflowConstants.TASK_ATTR_GROUP
IWorkflowConstants.TASK_ATTR_ROLE
IWorkflowConstants.TASK_ATTR_USERGROUP
IWorkflowConstants.TASK_ATTR_USER_LIST
IWorkflowConstants.TASK_ATTR_GROUP_LIST
IWorkflowConstants.TASK_ATTR_ROLE_LIST
IWorkflowConstants.TASK_ATTR_IDENTITY_LIST
context
- The workflow contexttaskDefinitionId
- Id of the task definition to get attributes forTaskMetadataServiceException
java.util.List<TaskAttributeType> getTaskAttributesForTaskDefinitions(IWorkflowContext context, java.util.List<java.lang.String> taskDefinitionIds) throws TaskMetadataServiceException
TaskAttribute
objects that describe standard task attributes and mapped flex-field columns that are common for the specified task definitions.
For mapped flex-field columns, only attribute labels that are used by all task definitions specified are returned. For example, if taskDefinitionA uses the flex-field attribute labels "CustomerName" and "POCode", and taskDefinitionB uses the flex-field attribute labels "CustomerName" and "InvoiceID", a request for task attributes for taskDefinitionA and taskDefinitionB will return all the standard attributes, but only the flex-field attribute corresponding to "CustomerName".
TaskAttribute objects provide information on attribute type, column name, and user-disaplayable labels, localized to the Locale of the context user. TaskAttribute has the following properties:
String
name of the attribute, using dot-seperated format to specify path to attribute. For example, "title", "systemAttributes.createdDate", "systemMessageAttributes.textAttribute1".String
the name of the column on the WFTASK table corresponding to this attribute.String
human-readable label for the attribute, appropriate for the Locale in the supplied IWorkflowContext. This label is looked up from the WorkflowLabels.properties resource bundle. The resource bundle is loaded from the classpath specified in the configuration parameter worklfowCustomClasspathURL. If not available from that classpath, the bunde is loaded from the classpath used by workflow services. Labels are looked up using a key of the form TASK_ATTR.<attributeName> for task attributes. For mapped flex-fields, labels are looked up with a key of the form FLEX_LABEL.<attributeLabelName>. If no resource string is found, then the attributeName or flexfield attribute label name is used as the label.String
the type of this attribute. Will be one of the following values:
IWorkflowConstants.TASK_ATTR_STRING
IWorkflowConstants.TASK_ATTR_DATE
IWorkflowConstants.TASK_ATTR_INTEGER
IWorkflowConstants.TASK_ATTR_DOUBLE
IWorkflowConstants.TASK_ATTR_FLOAT
IWorkflowConstants.TASK_ATTR_USER
IWorkflowConstants.TASK_ATTR_GROUP
IWorkflowConstants.TASK_ATTR_ROLE
IWorkflowConstants.TASK_ATTR_USERGROUP
IWorkflowConstants.TASK_ATTR_USER_LIST
IWorkflowConstants.TASK_ATTR_GROUP_LIST
IWorkflowConstants.TASK_ATTR_ROLE_LIST
IWorkflowConstants.TASK_ATTR_IDENTITY_LIST
context
- The workflow contexttaskDefinitionIds
- List of taskDefinitionIds to get attributes forTaskMetadataServiceException
java.util.List<TaskAttributeType> getTaskAttributesForTaskNamespaces(IWorkflowContext context, java.util.List<java.lang.String> taskNamespaces) throws TaskMetadataServiceException
TaskAttribute
objects that describe standard task attributes and mapped flex-field columns that are common for task definitions identified by the specified namespaces.
The method will attempt to determine the task definitions by looking up the currently active versions of task components that have the specified task namespace. If no active version can be found for a particular namespace, the namespace will be skipped.
For mapped flex-field columns, only attribute labels that are used by all task definitions specified are returned. For example, if taskDefinitionA uses the flex-field attribute labels "CustomerName" and "POCode", and taskDefinitionB uses the flex-field attribute labels "CustomerName" and "InvoiceID", a request for task attributes for taskDefinitionA and taskDefinitionB will return all the standard attributes, but only the flex-field attribute corresponding to "CustomerName".
TaskAttribute objects provide information on attribute type, column name, and user-disaplayable labels, localized to the Locale of the context user. TaskAttribute has the following properties:
String
name of the attribute, using dot-seperated format to specify path to attribute. For example, "title", "systemAttributes.createdDate", "systemMessageAttributes.textAttribute1".String
the name of the column on the WFTASK table corresponding to this attribute.String
human-readable label for the attribute, appropriate for the Locale in the supplied IWorkflowContext. This label is looked up from the WorkflowLabels.properties resource bundle. The resource bundle is loaded from the classpath specified in the configuration parameter worklfowCustomClasspathURL. If not available from that classpath, the bunde is loaded from the classpath used by workflow services. Labels are looked up using a key of the form TASK_ATTR.<attributeName> for task attributes. For mapped flex-fields, labels are looked up with a key of the form FLEX_LABEL.<attributeLabelName>. If no resource string is found, then the attributeName or flexfield attribute label name is used as the label.String
the type of this attribute. Will be one of the following values:
IWorkflowConstants.TASK_ATTR_STRING
IWorkflowConstants.TASK_ATTR_DATE
IWorkflowConstants.TASK_ATTR_INTEGER
IWorkflowConstants.TASK_ATTR_DOUBLE
IWorkflowConstants.TASK_ATTR_FLOAT
IWorkflowConstants.TASK_ATTR_USER
IWorkflowConstants.TASK_ATTR_GROUP
IWorkflowConstants.TASK_ATTR_ROLE
IWorkflowConstants.TASK_ATTR_USERGROUP
IWorkflowConstants.TASK_ATTR_USER_LIST
IWorkflowConstants.TASK_ATTR_GROUP_LIST
IWorkflowConstants.TASK_ATTR_ROLE_LIST
IWorkflowConstants.TASK_ATTR_IDENTITY_LIST
context
- The workflow contexttaskNamespaces
- List of task namespaces to get attributes forTaskMetadataServiceException
java.util.Map<java.lang.String,IPrivilege> getTaskVisibilityRules(IWorkflowContext context, Task task) throws TaskMetadataServiceException
context
- The workflow context containing the user whose privileges is begin queried fortask
- The task for which the visibility rules is begin queried forMap
value. This method will return an empty map if there are no task visibility attribute rules definedTaskMetadataServiceException
- if an error occursjava.util.Map<java.lang.String,IPrivilege> getTaskVisibilityRules(IWorkflowContext context, java.lang.String taskId) throws TaskMetadataServiceException
context
- The workflow context containing the user whose privileges is begin queried fortaskId
- The task for which the visibility rules is begin queried forMap
value. This method will return an empty map if there are no task visibility attribute rules definedTaskMetadataServiceException
- if an error occursgetTaskVisibilityRules(IWorkflowContext , Task)
java.util.List<oracle.bpel.services.workflow.metadata.processDocumentation.model.TopicDocumentationType> getComponentTopicDocumentations(IWorkflowContext context, java.lang.String compositeDN, java.lang.String componentName, java.lang.String topicName, oracle.bpel.services.workflow.metadata.processDocumentation.model.DocumentationAudienceEnum documentationAudience, java.util.Locale locale) throws TaskMetadataServiceException
context
- The workflow contextcompositeDN
- The compositeDN of the processcomponentName
- The component nametopicName
- The topic namedocumentationAudience
- The enum for documentation audience typelocale
- The locale of the audience userTaskMetadataServiceException
boolean containsComponentTopicDocumentations(IWorkflowContext context, java.lang.String compositeDN, java.lang.String componentName, java.lang.String topicName, oracle.bpel.services.workflow.metadata.processDocumentation.model.DocumentationAudienceEnum documentationAudience, java.util.Locale locale) throws TaskMetadataServiceException
context
- The workflow contextcompositeDN
- The compositeDN of the processcomponentName
- The component nametopicName
- The topic namedocumentationAudience
- The enum for documentation audience typelocale
- The locale of the audience userTaskMetadataServiceException
java.util.List<oracle.bpel.services.workflow.metadata.processDocumentation.model.TopicDocumentationType> getTaskTopicDocumentations(IWorkflowContext context, java.lang.String taskId, java.lang.String topicName, oracle.bpel.services.workflow.metadata.processDocumentation.model.DocumentationAudienceEnum documentationAudience, java.util.Locale locale) throws TaskMetadataServiceException
context
- The workflow contexttaskId
- The task idtopicName
- The topic namedocumentationAudience
- The enum for documentation audience typelocale
- The locale of the audience userTaskMetadataServiceException
boolean containsTaskTopicDocumentations(IWorkflowContext context, java.lang.String taskId, java.lang.String topicName, oracle.bpel.services.workflow.metadata.processDocumentation.model.DocumentationAudienceEnum documentationAudience, java.util.Locale locale) throws TaskMetadataServiceException
context
- The workflow contexttaskId
- The task idtopicName
- The topic namedocumentationAudience
- The enum for documentation audience typelocale
- The locale of the audience userTaskMetadataServiceException
|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1.5.0) E10660-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |