|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRule
All rules must implement this interfaces.
| Method Summary | |
|---|---|
void |
deregisterPartName(java.lang.String partName)
Method derigsterPartName. |
void |
destroy()
Destroys the rule when removed from the context |
void |
execute(PartRequest request)
The actual rule will be processed here. |
IWidget |
getOwner()
|
int |
getUseCount()
How many times is the current rule used |
void |
init()
Initializes the rule This initialization is context wide. |
boolean |
isRegistered(java.lang.String partName)
Method isRegistered. |
void |
post(PartRequest request)
Post processing of the rule This is mainly changing states in eg components after the executer has been process. |
void |
pre(PartRequest request)
Preprocessing of the rule. |
void |
registerPartName(java.lang.String partName)
Method registerPartName. |
| Method Detail |
|---|
void init()
void pre(PartRequest request)
request - the request objectvoid execute(PartRequest request)
request - the request objectvoid post(PartRequest request)
request - the request objectvoid destroy()
int getUseCount()
void registerPartName(java.lang.String partName)
partName - the name of the partvoid deregisterPartName(java.lang.String partName)
partName - the name of the partboolean isRegistered(java.lang.String partName)
partName - the name of the part
IWidget getOwner()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||