oracle.apps.fnd.wf.common
Interface Store

All Known Implementing Classes:
RuntimeStore, DesignStore

public interface Store

Store is a container where instances of workflow entities are managed. It is upto this class to maintain the lifecycle of its contained instances of Element.


Field Summary
static java.lang.String RCS_ID
           
static boolean RCS_ID_RECORDED
           
 
Method Summary
 void create(WorkflowContext ctx, Element component)
          Create a persistent view of the object in the context provided.
 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.
 void load(WorkflowContext ctx, Element component)
          Load a compoenent from its persistent storage.
 void save(WorkflowContext ctx, Element component)
          Save an child element with the provided WorkflowContext.
 void setStoreLocation(java.lang.String newStoreLocation)
          Change store location
 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID

RCS_ID_RECORDED

public static final boolean RCS_ID_RECORDED
Method Detail

getLoader

public Loader getLoader()
Returns a loader object that is assigned to the store.
Returns:
loader : Loader loader object that is responsible for persistent data io

getStoreLocation

public java.lang.String getStoreLocation()
Returns location of the store, the format of this string is understood by the loader.
Returns:
storeLocation : String

setStoreLocation

public void setStoreLocation(java.lang.String newStoreLocation)
Change store location
Parameters:
newStoreLocation - : String new store location, it should be understood by the loader object assigned to this store.

save

public void save(WorkflowContext ctx,
                 Element component)
          throws WorkflowException
Save an child element with the provided WorkflowContext. This method should delegate IO operation to its loader if needed.
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 void create(WorkflowContext ctx,
                   Element component)
            throws WorkflowException
Create a persistent view of the object in the context provided. This method should delegate IO operation to its loader if needed.
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 void load(WorkflowContext ctx,
                 Element component)
          throws WorkflowException
Load a compoenent from its persistent storage. This method should delegate IO operations to its loader if needed.
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