|
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_Process
org.compiere.model.MProcess
public class MProcess
Process 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 | |
|---|---|
MProcess(Properties ctx,
int AD_Process_ID,
String trxName)
Standard Constructor |
|
MProcess(Properties ctx,
ResultSet rs,
String trxName)
Load Contsructor |
|
| Method Summary | |
|---|---|
void |
addStatistics(int seconds)
Update Statistics |
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
static MProcess |
get(Properties ctx,
int AD_Process_ID)
Get MProcess from Cache |
static MProcess |
getFromMenu(Properties ctx,
int AD_Menu_ID)
Get MProcess from Menu |
MProcessPara |
getParameter(String name)
Get Parameter with ColumnName |
MProcessPara[] |
getParameters()
Get Parameters |
static int |
getProcess_ID(String value,
String trxname)
Grant independence to GenerateModel from AD_Process_ID |
boolean |
isJavaProcess()
Is this a Java Process |
boolean |
isWorkflow()
Is it a Workflow |
MPInstance |
processIt(int Record_ID,
Trx trx)
Process w/o parameter |
boolean |
processIt(ProcessInfo pi,
Trx trx)
Process It (sync) |
String |
toString()
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 MProcess(Properties ctx,
int AD_Process_ID,
String trxName)
ctx - contextAD_Process_ID - processtrxName - transaction name
public MProcess(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction name| Method Detail |
|---|
public static MProcess get(Properties ctx,
int AD_Process_ID)
ctx - contextAD_Process_ID - id
public static MProcess getFromMenu(Properties ctx,
int AD_Menu_ID)
ctx - contextAD_Menu_ID - id
public MProcessPara[] getParameters()
public MProcessPara getParameter(String name)
name - column name
public String toString()
toString in class X_AD_Process
public MPInstance processIt(int Record_ID,
Trx trx)
Record_ID - recordtrx - transaction
public boolean processIt(ProcessInfo pi,
Trx trx)
pi - Process Infotrx - transaction
public boolean isJavaProcess()
public boolean isWorkflow()
public void addStatistics(int seconds)
seconds - sec
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
public static int getProcess_ID(String value,
String trxname)
String - tableName
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||