|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.workflow.lite.LiteWorkflowLib org.apache.oozie.workflow.lite.DBLiteWorkflowLib
public class DBLiteWorkflowLib
Constructor Summary | |
---|---|
DBLiteWorkflowLib(Schema schema,
Class<? extends ControlNodeHandler> controlNodeHandler,
Class<? extends DecisionNodeHandler> decisionHandlerClass,
Class<? extends ActionNodeHandler> actionHandlerClass,
Connection connection)
|
Method Summary | |
---|---|
void |
close()
Close store. |
void |
commit()
Commit changes to store. |
void |
delete(String id)
Delets the Workflow Instance with the given id. |
WorkflowInstance |
get(String id)
Loads the Workflow instance with the given ID. |
void |
insert(WorkflowInstance instance)
Save the Workflow Instance for the given Workflow Application. |
void |
update(WorkflowInstance instance)
Updates the Workflow Instance to DB. |
Methods inherited from class org.apache.oozie.workflow.lite.LiteWorkflowLib |
---|
createInstance, createInstance, parseDef |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBLiteWorkflowLib(Schema schema, Class<? extends ControlNodeHandler> controlNodeHandler, Class<? extends DecisionNodeHandler> decisionHandlerClass, Class<? extends ActionNodeHandler> actionHandlerClass, Connection connection)
Method Detail |
---|
public void insert(WorkflowInstance instance) throws WorkflowException
instance
-
WorkflowException
public WorkflowInstance get(String id) throws WorkflowException
id
-
WorkflowException
public void update(WorkflowInstance instance) throws WorkflowException
instance
-
WorkflowException
public void delete(String id) throws WorkflowException
id
-
WorkflowException
public void commit() throws WorkflowException
WorkflowLib
WorkflowException
- thrown if the commit could not be done.public void close() throws WorkflowException
WorkflowLib
WorkflowException
- thrown if the close could not be done.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |