|
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_Node
org.compiere.wf.MWFNode
public class MWFNode
Workflow Node Model
| Field Summary |
|---|
| 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 |
| Constructor Summary | |
|---|---|
MWFNode(MWorkflow wf,
String Value,
String Name)
Parent Constructor |
|
MWFNode(Properties ctx,
int AD_WF_Node_ID,
String trxName)
Standard Constructor - save to cache |
|
MWFNode(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor - save to cache |
|
| Method Summary | |
|---|---|
protected boolean |
afterDelete(boolean success)
After Delete |
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
int |
calculateDynamicPriority(int seconds)
Calculate Dynamic Priority |
static MWFNode |
get(Properties ctx,
int AD_WF_Node_ID)
Get WF Node from Cache |
String |
getActionInfo()
Get Action Info |
String |
getAttributeName()
Get Attribute Name |
MColumn |
getColumn()
Get Column |
String |
getDescription(boolean translated)
Get Description |
int |
getDurationCalendarField()
Get Duration CalendarField |
long |
getDurationMS()
Get Duration in ms |
String |
getHelp(boolean translated)
Get Help |
long |
getLimitMS()
Get Duration Limit in ms |
String |
getName(boolean translated)
Get Name |
int |
getNextNodeCount()
Get Number of Next Nodes |
MWFNodePara[] |
getParameters()
Get Parameters |
Point |
getPosition()
Get Position |
MWFNodeNext[] |
getTransitions(int AD_Client_ID)
Get the transitions |
MWorkflow |
getWorkflow()
Get Workflow |
boolean |
isUserApproval()
Is this an Approval setp? |
boolean |
isUserChoice()
Is this a User Choice step? |
boolean |
isUserManual()
Is this a Manual user step? |
void |
setClientOrg(int AD_Client_ID,
int AD_Org_ID)
Set Client Org |
void |
setPosition(int x,
int y)
Set Position |
void |
setPosition(Point position)
Set Position |
String |
toString()
String Representation |
String |
toStringX()
User String Representation |
| 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 MWFNode(Properties ctx,
int AD_WF_Node_ID,
String trxName)
ctx - contextAD_WF_Node_ID - idtrxName - transaction
public MWFNode(MWorkflow wf,
String Value,
String Name)
wf - workflow (parent)Value - valueName - name
public MWFNode(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result set to load info fromtrxName - transaction| Method Detail |
|---|
public static MWFNode get(Properties ctx,
int AD_WF_Node_ID)
ctx - contextAD_WF_Node_ID - id
public void setClientOrg(int AD_Client_ID,
int AD_Org_ID)
setClientOrg in class POAD_Client_ID - clientAD_Org_ID - orgpublic int getNextNodeCount()
public MWFNodeNext[] getTransitions(int AD_Client_ID)
AD_Client_ID - for client
public String getName(boolean translated)
translated - translated
public String getDescription(boolean translated)
translated - translated
public String getHelp(boolean translated)
translated - translated
public void setPosition(Point position)
position - point
public void setPosition(int x,
int y)
x - xy - ypublic Point getPosition()
public String getActionInfo()
public String getAttributeName()
getAttributeName in interface I_AD_WF_NodegetAttributeName in class X_AD_WF_NodeX_AD_WF_Node.getAttributeName()public MColumn getColumn()
public boolean isUserApproval()
public boolean isUserChoice()
public boolean isUserManual()
public long getDurationMS()
public long getLimitMS()
public int getDurationCalendarField()
public int calculateDynamicPriority(int seconds)
seconds - second after created
public MWFNodePara[] getParameters()
public MWorkflow getWorkflow()
public String toString()
toString in class X_AD_WF_Nodepublic String toStringX()
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
protected boolean afterDelete(boolean success)
afterDelete in class POsuccess - success
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||