Package org.bonitasoft.engine.operation
Interface EntityAction
-
- All Known Implementing Classes:
MergeEntityAction,UpdateDataRefAction
public interface EntityAction- Author:
- Elias Ricken de Medeiros, Matthieu Chaffotte
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<org.bonitasoft.engine.bdm.Entity>execute(java.util.List<org.bonitasoft.engine.bdm.Entity> entities, BusinessDataContext businessDataContext)Executes an action against a a list of entities.org.bonitasoft.engine.bdm.Entityexecute(org.bonitasoft.engine.bdm.Entity entity, BusinessDataContext businessDataContext)Executes an action against an entity.voidhandleNull(BusinessDataContext businessDataContext)Executes an action against a null entity.
-
-
-
Method Detail
-
handleNull
void handleNull(BusinessDataContext businessDataContext) throws SEntityActionExecutionException
Executes an action against a null entity.- Parameters:
businessDataContext- the business data context- Throws:
SEntityActionExecutionException
-
execute
org.bonitasoft.engine.bdm.Entity execute(org.bonitasoft.engine.bdm.Entity entity, BusinessDataContext businessDataContext) throws SEntityActionExecutionExceptionExecutes an action against an entity.- Parameters:
entity- the entitybusinessDataContext- the business data context- Returns:
- the entity after the action execution.
- Throws:
SEntityActionExecutionException
-
execute
java.util.List<org.bonitasoft.engine.bdm.Entity> execute(java.util.List<org.bonitasoft.engine.bdm.Entity> entities, BusinessDataContext businessDataContext) throws SEntityActionExecutionExceptionExecutes an action against a a list of entities.- Parameters:
entities- the list of entitiesbusinessDataContext- the business data context- Returns:
- the list of entities after the action execution.
- Throws:
SEntityActionExecutionException
-
-