|
||||||||
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.design.DesignBaseComponent | +--oracle.apps.fnd.wf.design.DesignStore
DesignStore
is the container for the workflow design
store, which contains all of the workflow entities.
Fields inherited from class oracle.apps.fnd.wf.design.DesignBaseComponent |
RCS_ID, RCS_ID_RECORDED |
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 |
Fields inherited from interface oracle.apps.fnd.wf.common.Store |
RCS_ID, RCS_ID_RECORDED |
Constructor Summary | |
DesignStore()
|
Method Summary | |
void |
create(WorkflowContext pCtx,
Element pComponent)
Creates a component in the design store. |
java.lang.String |
getAccessLevel()
Returns the access level of this design store. |
java.lang.String |
getDisplayName()
Not used |
static DesignStore |
getInstance(WorkflowContext ctx)
Factory method for a design store. |
ItemType |
getItemType(java.lang.String pItemName)
Returns an item type given a item type name. |
ItemType |
getItemType(WorkflowContext pCtx,
java.lang.String pItemName)
Returns an item type in the design store given a item type name, or creates one if it's not already exist or not loaded. |
java.util.Iterator |
getItemTypes()
Returns the iterator that points to a list of item type(s). |
java.lang.String |
getLanguage()
Returns the language used in this design store. |
Loader |
getLoader()
Returns the loader associates with this design store. |
java.lang.String |
getMajorVersion()
Returns the major version of this design store. |
java.lang.String |
getMinorVersion()
Returns the minor version of this design store. |
java.lang.String |
getStoreLocation()
Returns the location of this design store. |
void |
load(WorkflowContext pCtx,
Element pComponent)
Loads a component from design store. |
ItemType |
loadItem(WorkflowContext pCtx,
java.lang.String pItemName)
Creates an item type within this design store and populates the item type. |
void |
loadStore(WorkflowContext pWFContext)
Populates the design store based on the store information retrieved from the loader. |
void |
save(WorkflowContext pCtx,
Element pComponent)
Saves a component to design store. |
void |
saveStore(WorkflowContext pWFContext)
Saves the design store to a specific format (wft, xml, database) based on the version of loader used. |
void |
setAccessLevel(java.lang.String pAccessLevel)
Setter function for the access level of this design store. |
void |
setLanguage(java.lang.String pLanguage)
Setter function for the language used in this design store. |
void |
setLoader()
Sets the loader associates with this design store based on store type. |
void |
setMajorVersion(java.lang.String pMajorVersion)
Setter function for the major version of this design store. |
void |
setMinorVersion(java.lang.String pMinorVersion)
Setter function for the minor version of this design store. |
void |
setStoreLocation(java.lang.String pStoreLocation)
Setter function for the location of this design store. |
void |
setStoreType(java.lang.String pStoreType)
Setter function for the type of the store is used in this design store. |
Methods inherited from class oracle.apps.fnd.wf.design.DesignBaseComponent |
assign, createRuntimeInstance, getAccessController, getAttribute, getAttributes, getDescription, resolveReference, setDescription, setDisplayName, setName, setResolved, toString |
Methods inherited from class oracle.apps.fnd.wf.common.BaseComponent |
addChild, getChildByTypeAndName, getChildren, getChildrenByName, getChildrenByType, getName, getParent, removeChild, removeChildren |
Methods inherited from class oracle.apps.fnd.wf.common.Element |
create, getDBStatus, getId, load, save, setStore |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DesignStore()
Method Detail |
public static DesignStore getInstance(WorkflowContext ctx) throws WorkflowException
ctx
- :WorkflowContext
context within we create this design
store
For example
Hashmap map = new Hashmap(); map.put(WorkflowContext.WF_DESIGN_STORE_LOCATION,"file:///d:/temp/wfdemo.wft"); map.put(WorkflowContext.WF_DESIGN_STORE_TYPE,WorkflowContext.WF_WFT_STORE); WorkflowContext ctx = new WorkflowContext(map); DesignStore designStore = DesignStore.getInstance(ctx);
public java.lang.String getAccessLevel()
public void setAccessLevel(java.lang.String pAccessLevel)
pAccessLevel
- : Access level.public java.lang.String getMajorVersion()
public void setMajorVersion(java.lang.String pMajorVersion)
pMajorVersion
- : Major version.public java.lang.String getMinorVersion()
public void setMinorVersion(java.lang.String pMinorVersion)
pMinorVersion
- : Minor version.public java.lang.String getLanguage()
public void setLanguage(java.lang.String pLanguage)
pLanguage
- : Language.public java.lang.String getStoreLocation()
getStoreLocation
in interface Store
public void setStoreLocation(java.lang.String pStoreLocation)
setStoreLocation
in interface Store
pStoreLocation
- : Store location.public void setStoreType(java.lang.String pStoreType)
pStoreType
- : Store Type.public void loadStore(WorkflowContext pWFContext) throws WorkflowException
pWFContext
- : Workflow context.public void saveStore(WorkflowContext pWFContext) throws java.lang.Exception
pWFContext
- : Workflow context.public java.lang.String getDisplayName()
getDisplayName
in class DesignBaseComponent
public ItemType loadItem(WorkflowContext pCtx, java.lang.String pItemName) throws WorkflowException
pCtx
- : Workflow context.pItemName
- : Item type name.public ItemType getItemType(java.lang.String pItemName)
pItemName
- : Item type name.public ItemType getItemType(WorkflowContext pCtx, java.lang.String pItemName) throws WorkflowException
pCtx
- : Workflow context.pItemName
- : Item type name.public java.util.Iterator getItemTypes()
public void setLoader() throws java.lang.Exception
public Loader getLoader()
getLoader
in interface Store
public final void load(WorkflowContext pCtx, Element pComponent) throws WorkflowException
load
in interface Store
pCtx
- : Workflow context.pComponent
- : Component.public final void save(WorkflowContext pCtx, Element pComponent) throws WorkflowException
save
in interface Store
pCtx
- : Workflow context.pComponent
- : Component.public final void create(WorkflowContext pCtx, Element pComponent) throws WorkflowException
create
in interface Store
pCtx
- : Workflow context.pComponent
- : Component.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |