Interface BulkAction<CONTEXT extends BulkExecutionContext,TARGET>
-
- Type Parameters:
CONTEXT- action processing contextTARGET- The input of this action
- All Known Implementing Classes:
AbstractBulkPageAction,DefaultBulkAttachmentDelete.BulkAttachmentDeleteAction
public interface BulkAction<CONTEXT extends BulkExecutionContext,TARGET>This will handle the logic of bulk action- Since:
- 6.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBulkAction.Result<CONTEXT extends BulkExecutionContext,TARGET>
-
Field Summary
Fields Modifier and Type Field Description static StringLOCK_PREFIX
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull BulkAction.Result<CONTEXT,TARGET>process(CONTEXT context, TARGET target)Do logic for single item in bulk action
-
-
-
Field Detail
-
LOCK_PREFIX
static final String LOCK_PREFIX
-
-
Method Detail
-
process
@NonNull BulkAction.Result<CONTEXT,TARGET> process(CONTEXT context, TARGET target) throws net.sf.hibernate.HibernateException
Do logic for single item in bulk action- Parameters:
context-target-- Returns:
- List of next item next to be process
- Throws:
net.sf.hibernate.HibernateException
-
-