|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcompiere.model.MyValidator
public class MyValidator
Validator Example Implementation
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
MyValidator()
Constructor. |
|
| Method Summary | |
|---|---|
String |
docValidate(PO po,
int timing)
Validate Document. |
int |
getAD_Client_ID()
Get Client to be monitored |
void |
initialize(ModelValidationEngine engine,
MClient client)
Initialize Validation |
String |
login(int AD_Org_ID,
int AD_Role_ID,
int AD_User_ID)
User Login. |
String |
modelChange(PO po,
int type)
Model Change of a monitored Table. |
String |
toString()
String Representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MyValidator()
| Method Detail |
|---|
public void initialize(ModelValidationEngine engine,
MClient client)
initialize in interface ModelValidatorengine - validation engineclient - client
public String modelChange(PO po,
int type)
throws Exception
modelChange in interface ModelValidatorpo - persistent objecttype - TYPE_
Exception - if the recipient wishes the change to be not accept.
public String docValidate(PO po,
int timing)
docValidate in interface ModelValidatorpo - persistent objecttiming - see TIMING_ constants
public String login(int AD_Org_ID,
int AD_Role_ID,
int AD_User_ID)
login in interface ModelValidatorAD_Org_ID - orgAD_Role_ID - roleAD_User_ID - user
public int getAD_Client_ID()
getAD_Client_ID in interface ModelValidatorpublic String toString()
toString in class Object
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||