Skip navigation links

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 3 (10.1.3)
B28985-02


oracle.bpel.services.workflow.runtimeconfig
Interface IRuntimeConfigService


public interface IRuntimeConfigService

The RuntimeConfigService is used to query and update metadata specific to the runtime operation of the Workflow Service. It is used for querying and setting flexfield mappings, for querying the what Dynamic Assignment Functions are available, and for querying and setting the URIs used to display task details.

An instance of IRuntimeConfigService can be created by calling IWorkflowServiceClient.getRuntimeConfigService(). An instance of IWorkflowServiceClient can be created using the WorkflowServiceClientFactory.

All the RuntimeConfigService methods take IWorkflowContext as their first parameter. The IWorkflowContext object allows the RuntimeConfigService to validate that the method is being called by an authenticated user, and that the user has the necessary authority to perform the action being requested. The IWorkflowContext object also contains information on the user's timezone and locale. An IWorkflowContext object can be obtained by calling ITaskQueryService.authenticate(java.lang.String, java.lang.String, java.lang.String, java.lang.String) or ITaskQueryService.createContext(javax.servlet.http.HttpServletRequest).

In most cases, any authenticated user can use the query methods, but only a user with administrator privileges can use methods that update data.

Many of the parameters and return types of the methods are JAXB model objects from the package oracle.bpel.services.workflow.runtimeconfig.model. These objects do not have public constructors. To create new instances of these objects you should use the appropriate methods on oracle.bpel.services.workflow.runtimeconfig.model.ObjectFactory.

Since:
10.1.3.1.0

Method Summary
 AttributeLabel createAttributeLabel(IWorkflowContext ctx, AttributeLabel label)
          Creates a new label for a Task flexfield attribute from the supplied AttributeLabel object.
 PayloadMapping createPayloadMapping(IWorkflowContext ctx, PayloadMapping mapping)
          Creates a mapping between a payload attribute for a specific task defintion, and a task flexfield attribute, using an attribute label.
 void deleteAttributeLabel(IWorkflowContext ctx, java.lang.String labelId)
          Deletes the attribute label with the suppled labelId.
 void deletePayloadMapping(IWorkflowContext ctx, PayloadMapping mapping)
          Deletes the payload mapping described by the supplied PayloadMapping object.
 AttributeLabelUsageList getAttributeLabelUsages(IWorkflowContext ctx, java.lang.String attributeType)
          Gets a list of attribute labels and their usages by payload mappings.
 DynamicAssignFunctionList getGroupDynamicAssignmentFunctions(IWorkflowContext ctx)
          Gets the currently registered list of the dynamic assignment functions that select a group for assignment as a DynamicAssignFunctionList object.
 DynamicAssignFunctionList getUserDynamicAssignmentFunctions(IWorkflowContext ctx)
          Gets the currently registered list of the dynamic assignment functions that select a user for assignment as a DynamicAssignFunctionList object.
 PayloadMappingsList getWorkflowPayloadMappings(IWorkflowContext ctx, java.lang.String workflowId)
          Gets a list of payload mappings that have been defined for the specified task type, in the form of a PayloadMappingsList object.
 AttributeLabel updateAttributeLabel(IWorkflowContext ctx, AttributeLabel label)
          Updates an existing attribute label using the supplied AttributeLabel object.

 

Method Detail

getWorkflowPayloadMappings

public PayloadMappingsList getWorkflowPayloadMappings(IWorkflowContext ctx,
                                                      java.lang.String workflowId)
                                               throws WorkflowException
Gets a list of payload mappings that have been defined for the specified task type, in the form of a PayloadMappingsList object. A payload mapping defines a mapping between a Task payload attribute and a flexfield attribute column on the WFTASK table (such as TextAttribute1), via an AttributeLabel. The PayloadMappingsList contains a List of PayloadMapping objects. PayloadMapping has the following properties: