Class BTDaemonDataLog
java.lang.Object
overit.geocall.bl.BusinessTask<DaemonSavingNotificationEvent>
overit.geocall.basic.bl.DataLogReactor<DaemonSavingNotificationEvent>
overit.geocallapp.wfm.core.bl.securitylog.task.BTDaemonDataLog
- All Implemented Interfaces:
Serializable,Tool
@Event(DaemonSavingNotificationEvent.class)
public class BTDaemonDataLog
extends DataLogReactor<DaemonSavingNotificationEvent>
Business task in order to log the daemon data when a change is performed.
When the
When the
DaemonSavingNotificationEvent is launched the BT
notices the call and logs the updated daemon data basing on the event's input. - Since:
- 9.2
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class overit.geocall.basic.bl.DataLogReactor
bodyMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTDaemonDataLog
public BTDaemonDataLog()
-
-
Method Details
-
getData
Description copied from class:DataLogReactorGets the data to log.- Specified by:
getDatain classDataLogReactor<DaemonSavingNotificationEvent>- Parameters:
event- Event used to retrieve the information about the object to log.- Returns:
- String representing all the data to log inside the db.
-
getFactory
Description copied from class:DataLogReactorGets the id of the factory. Possibly the one associated with the object to log.- Specified by:
getFactoryin classDataLogReactor<DaemonSavingNotificationEvent>- Parameters:
event- Event used to retrieve the information about the object to log.- Returns:
- The id associated to the factory.
-
getObjectId
Description copied from class:DataLogReactorGets the unique id associated to the object.- Specified by:
getObjectIdin classDataLogReactor<DaemonSavingNotificationEvent>- Parameters:
event- Event used to retrieve the information about the object to log.- Returns:
- The unique id associated to the object.
-
getType
Description copied from class:DataLogReactorGets the type's name of the data log.- Specified by:
getTypein classDataLogReactor<DaemonSavingNotificationEvent>- Parameters:
event- Event used to retrieve the information about the object to log.- Returns:
- The type's name of the data log.
-