org.caleigo.core
Class CompositeEntityDescriptor.CompositeStoreEntityAction
java.lang.Object
org.caleigo.core.AbstractEntityAction
org.caleigo.core.AbstractTransactionEntityAction
org.caleigo.core.CompositeEntityDescriptor.CompositeStoreEntityAction
- All Implemented Interfaces:
- IEntityAction, ITransactionEntityAction, IUnaryEntityAction
- Enclosing class:
- CompositeEntityDescriptor
- public static class CompositeEntityDescriptor.CompositeStoreEntityAction
- extends AbstractTransactionEntityAction
- implements IUnaryEntityAction
The default store action used by the CompositeEntityDescriptor class.
- Author:
- Niklas Norberg
Fields inherited from interface org.caleigo.core.IEntityAction |
ASSOCIATION_EXPORT, DRAG, ENTITY, IDENTITY_EXPORT, MISCELLANEOUS, NEVER_EXPORT, PRIMARY, QUALIFIER, READ_ONLY, SECONDARY, SELECTION, SYSTEM |
Method Summary |
void |
cleanUpTransaction(IDataBundle data,
IDataTransaction transaction)
Clean up method for the action where the action can clean up data
operations, if necessary via an overriding method in an implementing
class, which were performed by the action. |
void |
defineDataDescriptor()
This method is called by the action objects constructor once and only
once. |
void |
perform(IEntity entity)
|
protected void |
prepareEntityData(IEntity entity)
Simple help method that is called when an action are triggered
emmidiatelly before the action is validated. |
void |
prepareTransaction(IDataBundle data,
IDataTransaction transaction)
Prepare method for the action where the action is expected to add
the data operations needed to perform the action. |
Methods inherited from class org.caleigo.core.AbstractEntityAction |
addDataTypeDescriptor, addEntityDescriptor, addSelectionDescriptor, getCodeName, getDataBundleDescriptor, getDisplayHint, getDisplayName, getEntityDescriptor, isInCategory, setCategoryFlags, validateData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
insertedBaseEntity
IEntity insertedBaseEntity
CompositeEntityDescriptor.CompositeStoreEntityAction
public CompositeEntityDescriptor.CompositeStoreEntityAction(ICompositeEntityDescriptor entityDescriptor)
prepareTransaction
public void prepareTransaction(IDataBundle data,
IDataTransaction transaction)
- Prepare method for the action where the action is expected to add
the data operations needed to perform the action.
- Specified by:
prepareTransaction
in interface ITransactionEntityAction
- Specified by:
prepareTransaction
in class AbstractTransactionEntityAction
cleanUpTransaction
public void cleanUpTransaction(IDataBundle data,
IDataTransaction transaction)
- Clean up method for the action where the action can clean up data
operations, if necessary via an overriding method in an implementing
class, which were performed by the action. E.g. resetting flags etc.
- Overrides:
cleanUpTransaction
in class AbstractTransactionEntityAction
defineDataDescriptor
public final void defineDataDescriptor()
- This method is called by the action objects constructor once and only
once. The method is expected to define the action data requriments
(IDataBundleDescriptor) using the diferent add methods for descriptors
defined in this class.
- Specified by:
defineDataDescriptor
in class AbstractTransactionEntityAction
perform
public void perform(IEntity entity)
- Specified by:
perform
in interface IUnaryEntityAction
prepareEntityData
protected void prepareEntityData(IEntity entity)
- Simple help method that is called when an action are triggered
emmidiatelly before the action is validated. The method is
provided for optional override and does nothing by default.
Copyright © 2005 Caleigo. All Rights Reserved.