oracle.apps.fnd.wf.engine
Class RuntimeStore

java.lang.Object
  |
  +--oracle.apps.fnd.wf.common.Element
        |
        +--oracle.apps.fnd.wf.common.BaseComponent
              |
              +--oracle.apps.fnd.wf.engine.EngineBaseComponent
                    |
                    +--oracle.apps.fnd.wf.engine.RuntimeStore
All Implemented Interfaces:
Store

public synchronized class RuntimeStore
extends EngineBaseComponent
implements Store


Field Summary
static long PERIOD_TO_KEEP
           
static java.lang.String RCS_ID
           
static boolean RCS_ID_RECORDED
           
 
Fields inherited from class oracle.apps.fnd.wf.engine.EngineBaseComponent
ACTIVE, BLOCK, CANCELLED, COMPLETE, ERROR, FORCED_COMPLETE, NOT_INITIALIZED, SUSPENDED, 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
 
Constructor Summary
RuntimeStore()
           
RuntimeStore(DesignStore)
           
 
Method Summary
 void create(WorkflowContext, Element)
          Create a persistent view of the object in the context provided.
 DesignStore getDesignStore()
           
 Loader getLoader()
          Returns a loader object that is assigned to the store.
 java.lang.String getStoreLocation()
          Returns location of the store, the format of this string is understood by the loader.
 WorkItem getWorkItem(WorkflowContext, java.lang.String, java.lang.String)
           
 void load(WorkflowContext, Element)
          Load a compoenent from its persistent storage.
 void purge()
           
 void save(WorkflowContext, Element)
          Save an child element with the provided WorkflowContext.
 void setDesignStore(DesignStore)
           
 void setStoreLocation(java.lang.String)
          Change store location
 java.lang.String toString()
           
 
Methods inherited from class oracle.apps.fnd.wf.engine.EngineBaseComponent
addChild, getAttributeValue, getAttributeValues, getEndDate, getInstancePath, getMetaType, getStartDate, getStatus, getWorkItem, isActive, isComplete, save, setAttributeValue, setAttributeValues, setMetaType, setStatus
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID

RCS_ID_RECORDED

public static final boolean RCS_ID_RECORDED

PERIOD_TO_KEEP

public static final long PERIOD_TO_KEEP
Constructor Detail

RuntimeStore

public RuntimeStore(DesignStore)

RuntimeStore

public RuntimeStore()
Method Detail

getWorkItem

public WorkItem getWorkItem(WorkflowContext,
                            java.lang.String,
                            java.lang.String)
                     throws WorkflowException

setDesignStore

public final void setDesignStore(DesignStore)
                          throws WorkflowEngineException

getDesignStore

public DesignStore getDesignStore()

toString

public java.lang.String toString()
Overrides:
toString in class Element

getLoader

public Loader getLoader()
Description copied from interface: Store
Returns a loader object that is assigned to the store.
Specified by:
getLoader in interface Store
Following copied from interface: oracle.apps.fnd.wf.common.Store
Returns:
loader : Loader loader object that is responsible for persistent data io

getStoreLocation

public java.lang.String getStoreLocation()
Description copied from interface: Store
Returns location of the store, the format of this string is understood by the loader.
Specified by:
getStoreLocation in interface Store
Following copied from interface: oracle.apps.fnd.wf.common.Store
Returns:
storeLocation : String

setStoreLocation

public void setStoreLocation(java.lang.String)
Description copied from interface: Store
Change store location
Specified by:
setStoreLocation in interface Store
Following copied from interface: oracle.apps.fnd.wf.common.Store
Parameters:
newStoreLocation - : String new store location, it should be understood by the loader object assigned to this store.

save

public final void save(WorkflowContext,
                       Element)
                throws WorkflowException
Description copied from interface: Store
Save an child element with the provided WorkflowContext. This method should delegate IO operation to its loader if needed.
Specified by:
save in interface Store
Following copied from interface: oracle.apps.fnd.wf.common.Store
Parameters:
ctx - : WorkflowContext contextual information might be used for this operation
component - :Element Component to be saved
Throws:
WorkflowException - if fails on persistent IO operation

create

public final void create(WorkflowContext,
                         Element)
                  throws WorkflowException
Description copied from interface: Store
Create a persistent view of the object in the context provided. This method should delegate IO operation to its loader if needed.
Specified by:
create in interface Store
Following copied from interface: oracle.apps.fnd.wf.common.Store
Parameters:
ctx - : WorkflowContext contextual information might be used for this operation
component - :Element Component to be created
Throws:
WorkflowException - if fails on persistent IO operation

load

public final void load(WorkflowContext,
                       Element)
                throws WorkflowException
Description copied from interface: Store
Load a compoenent from its persistent storage. This method should delegate IO operations to its loader if needed.
Specified by:
load in interface Store
Following copied from interface: oracle.apps.fnd.wf.common.Store
Parameters:
ctx - : WorkflowContext contextual information might be used for this operation
component - :Element Component to be loader
Throws:
WorkflowException - if fails on persistent IO operation

purge

public void purge()