|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.PO
org.compiere.model.X_AD_WF_Process
org.compiere.wf.MWFProcess
public class MWFProcess
Workflow Process
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_AD_WF_Process |
|---|
AD_USER_ID_AD_Reference_ID, WFSTATE_Aborted, WFSTATE_AD_Reference_ID, WFSTATE_Completed, WFSTATE_NotStarted, WFSTATE_Running, WFSTATE_Suspended, WFSTATE_Terminated |
| Fields inherited from class org.compiere.model.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Fields inherited from interface org.compiere.model.I_AD_WF_Process |
|---|
accessLevel, COLUMNNAME_AD_Message_ID, COLUMNNAME_AD_Table_ID, COLUMNNAME_AD_User_ID, COLUMNNAME_AD_WF_Process_ID, COLUMNNAME_AD_WF_Responsible_ID, COLUMNNAME_AD_Workflow_ID, COLUMNNAME_Priority, COLUMNNAME_Processed, COLUMNNAME_Processing, COLUMNNAME_Record_ID, COLUMNNAME_TextMsg, COLUMNNAME_WFState, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
MWFProcess(MWorkflow wf,
ProcessInfo pi)
Deprecated. |
|
MWFProcess(MWorkflow wf,
ProcessInfo pi,
String trxName)
New Constructor |
|
MWFProcess(Properties ctx,
int AD_WF_Process_ID,
String trxName)
Standard Constructor |
|
MWFProcess(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
void |
checkActivities(String trxName,
PO lastPO)
Check Status of Activities |
String[] |
getActionOptions()
Get Action Options |
MWFActivity[] |
getActivities(boolean requery,
boolean onlyActive)
Get active Activities of Process |
MWFActivity[] |
getActivities(boolean requery,
boolean onlyActive,
String trxName)
Get active Activities of Process |
PO |
getPO()
Get Persistent Object |
String |
getProcessMsg()
Get Runtime (Error) Message |
StateEngine |
getState()
Get State |
boolean |
perform(String action)
Perform Action |
void |
setAD_WF_Responsible_ID()
Set Workflow Responsible. |
void |
setProcessMsg(String msg)
Set Runtime (Error) Message |
void |
setTextMsg(PO po)
Set Text Msg (add to existing) |
void |
setTextMsg(String TextMsg)
Set Text Msg (add to existing) |
void |
setWFState(String WFState)
Set Process State and update Actions |
boolean |
startWork()
Start WF Execution |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public MWFProcess(Properties ctx,
int AD_WF_Process_ID,
String trxName)
ctx - contextAD_WF_Process_ID - processtrxName - transaction
public MWFProcess(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction
public MWFProcess(MWorkflow wf,
ProcessInfo pi)
throws Exception
wf - workflowpi - Process Info (Record_ID)
Exception
public MWFProcess(MWorkflow wf,
ProcessInfo pi,
String trxName)
throws Exception
wf - workflowpi - Process Info (Record_ID)trxName -
Exception| Method Detail |
|---|
public MWFActivity[] getActivities(boolean requery,
boolean onlyActive)
requery - if true requeryonlyActive - only active activities
public MWFActivity[] getActivities(boolean requery,
boolean onlyActive,
String trxName)
requery - if true requeryonlyActive - only active activities
public StateEngine getState()
public String[] getActionOptions()
public void setWFState(String WFState)
setWFState in interface I_AD_WF_ProcesssetWFState in class X_AD_WF_ProcessWFState -
public void checkActivities(String trxName,
PO lastPO)
trxName - transactionpublic void setAD_WF_Responsible_ID()
public boolean perform(String action)
action - StateEngine.ACTION_*
public boolean startWork()
public PO getPO()
public void setTextMsg(PO po)
po - base objectpublic void setTextMsg(String TextMsg)
setTextMsg in interface I_AD_WF_ProcesssetTextMsg in class X_AD_WF_ProcessTextMsg - msgpublic void setProcessMsg(String msg)
msg - messagepublic String getProcessMsg()
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||