Package com.avoka.fc.core.service
Class StatusManagement
java.lang.Object
com.avoka.fc.core.service.BaseService
com.avoka.fc.core.service.CayenneService
com.avoka.fc.core.service.StatusManagement
- All Implemented Interfaces:
IServiceDefinitionAware
,IStatusManagement
public class StatusManagement
extends CayenneService
implements IStatusManagement, IServiceDefinitionAware
Status management services that handles scheduled status changes.
- Since:
- 22.04.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the service definition for this service.void
Handles the processing of Status updates based on Notification records.void
setLogToEventLog
(boolean value) Specify whether to log the results of the Status Management job to the event log.void
setServiceDefinition
(ServiceDefinition serviceDefinition) Set the service definition for this service.Methods inherited from class com.avoka.fc.core.service.CayenneService
commitChanges, deleteObject, deleteObjects, findObject, getDataContext, getDataDomain, getObjectForPK, getObjectStore, newObject, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, refetchEntity, refetchObject, registerNewObject, rollbackChanges, toMap, toMap
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
Constructor Details
-
StatusManagement
public StatusManagement()
-
-
Method Details
-
processStatusUpdates
public void processStatusUpdates()Handles the processing of Status updates based on Notification records.- Specified by:
processStatusUpdates
in interfaceIStatusManagement
-
setLogToEventLog
public void setLogToEventLog(boolean value) Specify whether to log the results of the Status Management job to the event log.- Specified by:
setLogToEventLog
in interfaceIStatusManagement
- Parameters:
value
- boolean
-
getServiceDefinition
Return the service definition for this service.- Specified by:
getServiceDefinition
in interfaceIServiceDefinitionAware
- Returns:
- the service definition
- See Also:
-
setServiceDefinition
Set the service definition for this service.- Specified by:
setServiceDefinition
in interfaceIServiceDefinitionAware
- Parameters:
serviceDefinition
- the new service definition- See Also:
-