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
Constructors Constructor Description StatusManagement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceDefinition
getServiceDefinition()
Return the service definition for this service.void
processStatusUpdates()
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
-
-
-
-
Method Detail
-
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
public ServiceDefinition getServiceDefinition()
Return the service definition for this service.- Specified by:
getServiceDefinition
in interfaceIServiceDefinitionAware
- Returns:
- the service definition
- See Also:
IServiceDefinitionAware.getServiceDefinition()
-
setServiceDefinition
public void setServiceDefinition(ServiceDefinition serviceDefinition)
Set the service definition for this service.- Specified by:
setServiceDefinition
in interfaceIServiceDefinitionAware
- Parameters:
serviceDefinition
- the new service definition- See Also:
IServiceDefinitionAware.setServiceDefinition(ServiceDefinition)
-
-