|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
IEntityAction objects are used to perform or trigger some kind of work or data calculation. It is the preffered way in the celgen application framework to encapsulate and handle business logic.
Using IEntityAction it is possible to make business-logic transperent for multiple types view solutions in the frameworks MVC design. The IEntityAction objects can be connected to the entity descriptor model making it pssible to integrate the business logic in the dynamic view structure in the swing based view implementation.
Field Summary | |
static int |
ASSOCIATION_EXPORT
|
static int |
DRAG
|
static int |
ENTITY
|
static int |
IDENTITY_EXPORT
|
static int |
MISCELLANEOUS
|
static int |
NEVER_EXPORT
|
static int |
PRIMARY
|
static int |
QUALIFIER
|
static int |
READ_ONLY
|
static int |
SECONDARY
|
static int |
SELECTION
|
static int |
SYSTEM
|
Method Summary | |
java.lang.String |
getCodeName()
Access method that returns the code name that can be used to identify the called IAction object. |
IDataBundleDescriptor |
getDataBundleDescriptor()
Access method that returns the IActionDataDescriptor for the IActionData theat the called action needs to perform its logic payload. |
java.lang.String |
getDisplayHint()
Access method that returns a end-user presentable hint text that can be used as a help text or fly-by hint. |
java.lang.String |
getDisplayName()
Access method that returns a end-user presentable name that can be used as button and meny labels. |
IEntityDescriptor |
getEntityDescriptor()
Access method that returns the IEntityDescriptor object that the called action object is a part of. |
boolean |
isInCategory(int category)
Access method that return true if the called action object has of the provided category flag set to true. |
void |
perform(IDataBundle data)
Performs the actions logic using the provided IActionData object. |
Field Detail |
public static final int ENTITY
public static final int SELECTION
public static final int QUALIFIER
public static final int READ_ONLY
public static final int SYSTEM
public static final int NEVER_EXPORT
public static final int IDENTITY_EXPORT
public static final int ASSOCIATION_EXPORT
public static final int PRIMARY
public static final int SECONDARY
public static final int MISCELLANEOUS
public static final int DRAG
Method Detail |
public void perform(IDataBundle data)
public IDataBundleDescriptor getDataBundleDescriptor()
public IEntityDescriptor getEntityDescriptor()
public java.lang.String getCodeName()
public java.lang.String getDisplayName()
public java.lang.String getDisplayHint()
public boolean isInCategory(int category)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |