oracle.apps.fnd.wf.engine
Class WorkItemFactory
java.lang.Object
|
+--oracle.apps.fnd.wf.engine.WorkItemFactory
- public class WorkItemFactory
- extends java.lang.Object
Factory class for WorkItem.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RCS_ID
public static final java.lang.String RCS_ID
RCS_ID_RECORDED
public static final boolean RCS_ID_RECORDED
getWorkItem
public WorkItem getWorkItem(WorkflowContext pCtx,
java.lang.String pStoreId,
java.lang.String pItemType,
java.lang.String pItemKey)
throws WorkflowException
getWorkItem
public WorkItem getWorkItem(WorkflowContext pCtx,
java.lang.String pItemType,
java.lang.String pItemKey)
throws WorkflowException
getRuntimeStore
public RuntimeStore getRuntimeStore(WorkflowContext pCtx)
throws WorkflowException
createWorkItem
public WorkItem createWorkItem(WorkflowContext pCtx,
java.lang.String pItemType,
java.lang.String pProcessName)
throws WorkflowException
- Creates new item instance.
- Parameters:
pCtx
- WorkflowContext will be used in the course of lifetime of this
item instancepItemType
- name of item type (meta data) will be used to create this
instancepProcessName
- item key for this item instance- Returns:
- newly created WorkItem instance
- Throws:
WorkflowException
- if item instance already exists.WorkflowEngineException
- Exception
getWorkItemList
public java.util.List getWorkItemList(WorkflowContext pCtx)
throws WorkflowException
- Return a list of WorkItems
- Parameters:
pCtx
- Workflow context- Returns:
- iterator to go through all WorkItems
- Throws:
WorkflowException
- ExceptionWorkflowEngineException
- for error when getting an WorkItem.
getInstance
public static WorkItemFactory getInstance()
- Get instance of this singleton WorkItemFactory
- Returns:
- WorkItemFactory