|
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_AlertRule
org.compiere.model.MAlertRule
public class MAlertRule
Alert Rule 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 |
| Fields inherited from interface org.compiere.model.I_AD_AlertRule |
|---|
accessLevel, COLUMNNAME_AD_Alert_ID, COLUMNNAME_AD_AlertRule_ID, COLUMNNAME_AD_Table_ID, COLUMNNAME_ErrorMsg, COLUMNNAME_FromClause, COLUMNNAME_IsValid, COLUMNNAME_Name, COLUMNNAME_OtherClause, COLUMNNAME_PostProcessing, COLUMNNAME_PreProcessing, COLUMNNAME_SelectClause, COLUMNNAME_WhereClause, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
MAlertRule(Properties ctx,
int AD_AlertRule_ID,
String trxName)
Standatd Constructor |
|
MAlertRule(Properties ctx,
ResultSet rs,
String trxName)
Standard Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterDelete(boolean success)
Executed after Delete operation. |
protected boolean |
afterSave(boolean newRecord,
boolean success)
Called after Save for Post-Save Operation |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
MAlert |
getParent()
Get parent |
String |
getSql()
Deprecated. Use getSql(boolean) instead |
String |
getSql(boolean applySecurity)
Get Sql |
void |
setParent(MAlert alert)
Set parent alert. |
String |
toString()
String Representation |
| Methods inherited from class org.compiere.model.X_AD_AlertRule |
|---|
get_AccessLevel, getAD_Alert_ID, getAD_Alert, getAD_AlertRule_ID, getAD_Table_ID, getAD_Table, getErrorMsg, getFromClause, getKeyNamePair, getName, getOtherClause, getPostProcessing, getPreProcessing, getSelectClause, getWhereClause, initPO, isValid, setAD_Alert_ID, setAD_AlertRule_ID, setAD_Table_ID, setErrorMsg, setFromClause, setIsValid, setName, setOtherClause, setPostProcessing, setPreProcessing, setSelectClause, setWhereClause |
| 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 MAlertRule(Properties ctx,
int AD_AlertRule_ID,
String trxName)
ctx - contextAD_AlertRule_ID - idtrxName - transaction
public MAlertRule(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public MAlert getParent()
public void setParent(MAlert alert)
alert - public String getSql()
getSql(boolean) instead
public String getSql(boolean applySecurity)
applySecurity - apply role/client security
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
protected boolean afterSave(boolean newRecord,
boolean success)
PO
afterSave in class POnewRecord - new recordsuccess - true if save operation was success
protected boolean afterDelete(boolean success)
PO
afterDelete in class POsuccess - true if record deleted
public String toString()
toString in class X_AD_AlertRule
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||