|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final java.lang.String RCS_ID
public static final boolean RCS_ID_RECORDED
Method Detail |
public Loader getLoader()
public java.lang.String getStoreLocation()
public void setStoreLocation(java.lang.String newStoreLocation)
newStoreLocation
- : String new store location, it should be
understood by the loader object assigned to this store.public void save(WorkflowContext ctx, Element component) throws WorkflowException
ctx
- : WorkflowContext contextual information might be used for this
operationcomponent
- :Element Component to be savedWorkflowException
- if fails on persistent IO operationpublic void create(WorkflowContext ctx, Element component) throws WorkflowException
ctx
- : WorkflowContext contextual information might be used for this
operationcomponent
- :Element Component to be createdWorkflowException
- if fails on persistent IO operationpublic void load(WorkflowContext ctx, Element component) throws WorkflowException
ctx
- : WorkflowContext contextual information might be used for this
operationcomponent
- :Element Component to be loaderWorkflowException
- if fails on persistent IO operation
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |