Package org.cyclos.impl.users
Interface BulkActionServiceLocal
-
- All Superinterfaces:
BulkActionService,CRUDService<BulkActionDTO,BulkActionData,BulkActionDataParams>,CRUDServiceLocal<BulkAction,BulkActionDTO,BulkActionData,BulkActionDataParams>,Service
- All Known Implementing Classes:
BulkActionServiceImpl
public interface BulkActionServiceLocal extends BulkActionService, CRUDServiceLocal<BulkAction,BulkActionDTO,BulkActionData,BulkActionDataParams>
Local interface forBulkActionService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longarchive(long id)Archives the given bulk action, returning the number of relations to users removedvoidmarkFinished(BulkAction bulkAction)Marks the givenBulkActionas finishedbooleanprocessNext(Long id)Processes the next user of the bulk action with the given id, returning whether there are more users to process or not.-
Methods inherited from interface org.cyclos.services.users.BulkActionService
cancel, getErrorStackTrace, getSearchData, getSearchUsersData, getStatus, search, searchUsers
-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
Methods inherited from interface org.cyclos.impl.CRUDServiceLocal
find, findAll, getEntityClass, newEntity, remove, removeAll, saveEntity, saveSkippingEntityLog, toDTO, toEntity, validate
-
-
-
-
Method Detail
-
archive
long archive(long id)
Archives the given bulk action, returning the number of relations to users removed
-
markFinished
void markFinished(BulkAction bulkAction)
Marks the givenBulkActionas finished
-
processNext
boolean processNext(Long id)
Processes the next user of the bulk action with the given id, returning whether there are more users to process or not. Assumes there is no current transaction, as it will need 1 or 2 transactions to run: one to execute and another one if there's an error
-
-