|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.apps.fnd.wf.common.Element | +--oracle.apps.fnd.wf.common.BaseComponent | +--oracle.apps.fnd.wf.engine.EngineBaseComponent
Field Summary | |
static java.lang.String |
ACTIVE
|
static java.lang.String |
BLOCK
|
static java.lang.String |
CANCELLED
|
static java.lang.String |
COMPLETE
|
static java.lang.String |
ERROR
|
static java.lang.String |
FORCED_COMPLETE
|
static java.lang.String |
NOT_INITIALIZED
|
static java.lang.String |
RCS_ID
|
static boolean |
RCS_ID_RECORDED
|
static java.lang.String |
SUSPENDED
|
static java.lang.String |
WAITING
|
Fields inherited from class oracle.apps.fnd.wf.common.Element |
ELEMENT_DB_CREATED, ELEMENT_DB_CREATING, ELEMENT_DB_DIRTY, ELEMENT_DB_LOADED, ELEMENT_DB_LOADING, ELEMENT_DB_NOT_INITIALIZED, ELEMENT_DB_SAVED, ELEMENT_DB_SAVING |
Method Summary | |
void |
addChild(BaseComponent pChild)
Override the parent method to make sure all the children has the same workItem |
AttributeValue |
getAttributeValue(java.lang.String pAttributeName)
This method returns an attribute of the same name in the current attribute value list or null |
java.util.List |
getAttributeValues()
Retrieve attribute values from database if needed |
long |
getEndDate()
|
java.lang.String |
getInstancePath()
This is information method could be used to identify the instance of this component. |
DesignBaseComponent |
getMetaType()
DesignStore entity reference of this engine component. |
long |
getStartDate()
|
java.lang.String |
getStatus()
Return current runtime status of this component. |
WorkItem |
getWorkItem()
Each process activity must belong to a workitem. |
boolean |
isActive()
Convenient method to test if the component is still to be executed. |
boolean |
isComplete()
Convenient method to test if the component has finished execution. |
void |
save(WorkflowContext pCtx)
For internal use only. |
void |
setAttributeValue(java.lang.String pAttributeName,
java.lang.Object pValue)
Set a name attribute value to a base component. |
void |
setAttributeValues(java.util.Map pValues)
Set attribute value in bulk |
void |
setMetaType(DesignBaseComponent pMetaData)
Sets DesignStore entity reference of this engine component. |
void |
setStatus(java.lang.String pStatus)
Change status of this component, should only be used by engines internally. |
Methods inherited from class oracle.apps.fnd.wf.common.BaseComponent |
getChildByTypeAndName, getChildren, getChildrenByName, getChildrenByType, getName, getParent, removeChild, removeChildren |
Methods inherited from class oracle.apps.fnd.wf.common.Element |
create, getDBStatus, getId, load, setStore, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String RCS_ID
public static final boolean RCS_ID_RECORDED
public static java.lang.String NOT_INITIALIZED
public static java.lang.String CANCELLED
public static java.lang.String BLOCK
public static java.lang.String COMPLETE
public static java.lang.String ACTIVE
public static java.lang.String SUSPENDED
public static java.lang.String ERROR
public static java.lang.String WAITING
public static java.lang.String FORCED_COMPLETE
Method Detail |
public void setAttributeValue(java.lang.String pAttributeName, java.lang.Object pValue) throws WorkflowException
pCtx
- context the engine runs inpAttributeName
- name of the attribute of this component.pValue
- an attribute object which can be one of the following type
BigDecimal Date StringWorkflowException
- thrownpublic java.lang.String getStatus()
public void setStatus(java.lang.String pStatus)
pStatus
- : int new status for the component. Does not flush to
loader. Engine must explicitly call save to persist the status.public boolean isComplete()
public boolean isActive()
public WorkItem getWorkItem()
public void addChild(BaseComponent pChild)
addChild
in class BaseComponent
oracle.apps.fnd.wf.common.BaseComponent
child
- : BaseComponent child to be added.public java.lang.String getInstancePath()
public DesignBaseComponent getMetaType()
DesignStore
entity reference of this engine component.DesignBaseComponent
DesignStore
entity
referencepublic void setMetaType(DesignBaseComponent pMetaData)
DesignStore
entity reference of this engine component.pMetaData
- :DesignBaseComponent
DesignStore
entity
referencepublic java.util.List getAttributeValues()
AttributeValue
spublic void setAttributeValues(java.util.Map pValues) throws WorkflowException
pCtx
- ParameterpValues
- ParameterWorkflowException
- Exceptionpublic AttributeValue getAttributeValue(java.lang.String pAttributeName)
pAttributeName
- Parameterpublic void save(WorkflowContext pCtx) throws WorkflowException
Element
save
in class Element
oracle.apps.fnd.wf.common.Element
pCtx
- ParameterWorkflowException
- Exceptionpublic long getStartDate()
public long getEndDate()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |