|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.workflow.lite.LiteWorkflowLib
org.apache.oozie.workflow.lite.DBLiteWorkflowLib
public class DBLiteWorkflowLib
| Constructor Summary | |
|---|---|
DBLiteWorkflowLib(javax.xml.validation.Schema schema,
java.lang.Class<? extends DecisionNodeHandler> decisionHandlerClass,
java.lang.Class<? extends ActionNodeHandler> actionHandlerClass,
java.sql.Connection connection)
|
|
| Method Summary | |
|---|---|
void |
close()
Close store. |
void |
commit()
Commit changes to store. |
void |
delete(java.lang.String id)
Delets the Workflow Instance with the given id. |
WorkflowInstance |
get(java.lang.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(javax.xml.validation.Schema schema,
java.lang.Class<? extends DecisionNodeHandler> decisionHandlerClass,
java.lang.Class<? extends ActionNodeHandler> actionHandlerClass,
java.sql.Connection connection)
| Method Detail |
|---|
public void insert(WorkflowInstance instance)
throws WorkflowException
instance -
WorkflowException
public WorkflowInstance get(java.lang.String id)
throws WorkflowException
id -
WorkflowException
public void update(WorkflowInstance instance)
throws WorkflowException
instance -
WorkflowException
public void delete(java.lang.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 | |||||||||