oracle.apps.fnd.wf.common
Interface Loader
- public interface Loader
Loader is the persistent manager of all workflow components that subclass
Element. When a new component is created, this class will be used to create
its persistent representation. It's subclass is responsible for
specialization on a certain persistent resource. The configruation of such
persistent resource is passed through WorkflowContext. We do not dicate the
format as how this information is formatted.
RCS_ID
public static final java.lang.String RCS_ID
RCS_ID_RECORDED
public static final boolean RCS_ID_RECORDED
save
public void save(WorkflowContext ctx,
Element component)
throws WorkflowException
- Save the component to the database. Database connection and session
information is passed by WorkflowContext
- Parameters:
ctx
- Context object that provide context information for this
operationcomponent
- whose information will be saved- Throws:
WorkflowException
- when fails IO opteration
load
public void load(WorkflowContext ctx,
Element component)
throws WorkflowException
- Load persistent data for the component from a persistent source. Database
connection and session information is passed by WorkflowContext
- Parameters:
ctx
- Context object that provide context information for this
operationcomponent
- whose information will be loaded- Throws:
WorkflowException
- when fails IO opteration
create
public void create(WorkflowContext ctx,
Element component)
throws WorkflowException
- Create a persistent representation of the component in the database.
Database connection and session information is passed by WorkflowContext
- Parameters:
ctx
- Context object that provide context information for this
operationcomponent
- whose information will be loaded- Throws:
WorkflowException
- when fails IO opteration
find
public java.util.List find(WorkflowContext ctx,
java.lang.Class componentClass,
java.lang.String query)
throws WorkflowException
- Retrieve a list of components from the database. Database connection and
session information is passed by WorkflowContext
- Parameters:
ctx
- Context object that provide context information for this
operationcomponentClass
- the type of component that will be loaded from
database- Returns:
- Iterator contains list of componets, type of componentClass. Empty
list is returned if not find.
- Throws:
WorkflowException
- when fails IO opteration