Package org.cyclos.impl.banking
Class ArchiveAccountFeeLogBackgroundTask
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractGlobalServerComponent
-
- org.cyclos.impl.utils.tasks.AbstractTask
-
- org.cyclos.impl.utils.tasks.AbstractBackgroundTask
-
- org.cyclos.impl.banking.ArchiveAccountFeeLogBackgroundTask
-
- All Implemented Interfaces:
BackgroundTask
public class ArchiveAccountFeeLogBackgroundTask extends AbstractBackgroundTask
Background task that marks a given account fee log as archived
-
-
Field Summary
-
Fields inherited from class org.cyclos.impl.utils.tasks.AbstractTask
errorLogService, invokerHandler, loggingHandler
-
Fields inherited from class org.cyclos.impl.AbstractGlobalServerComponent
rawEntityManagerHandler
-
Fields inherited from class org.cyclos.impl.AbstractServerComponent
accountHandler, configurationHandler, dataTranslationHandler, notificationHandler, profileFieldHandler, transactionHandler, translationHandler
-
-
Constructor Summary
Constructors Constructor Description ArchiveAccountFeeLogBackgroundTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected longdoExecute(String context)Must be implemented to actually execute the task logic, returning the number of affected recordsStringgetName()Returns the name for this task-
Methods inherited from class org.cyclos.impl.utils.tasks.AbstractBackgroundTask
execute
-
Methods inherited from class org.cyclos.impl.utils.tasks.AbstractTask
getLogConfiguration, logName, logTaskError, logTaskSuccess, shouldGenerateErrorLog, toString
-
Methods inherited from class org.cyclos.impl.AbstractGlobalServerComponent
getBaseEntityManagerHandler, getEntityManager
-
Methods inherited from class org.cyclos.impl.AbstractServerComponent
dataTranslationProxy, delete, detach, find, flush, from, getApplicationContext, getFormatter, getFormatter, getFormatter, getLogger, getRemoteAddress, getSessionData, mailContentBuilder, message, message, persist, processBatch, processBatch, refresh, remove, selectFrom, subQuery, update
-
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:BackgroundTaskReturns the name for this task- Specified by:
getNamein interfaceBackgroundTask- Specified by:
getNamein classAbstractTask
-
doExecute
protected long doExecute(String context)
Description copied from class:AbstractBackgroundTaskMust be implemented to actually execute the task logic, returning the number of affected records- Specified by:
doExecutein classAbstractBackgroundTask
-
-