Class BTEditSecretLog
java.lang.Object
overit.geocall.bl.BusinessTask<EditSecretEvent>
overit.geocall.basic.bl.DataLogReactor<EditSecretEvent>
overit.geocall.basic.bl.secret.task.BTEditSecretLog
- All Implemented Interfaces:
Serializable,Tool
Task that listen the
EditSecretEvent and save the log relative to the edited secret.- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetData(EditSecretEvent event) Gets the data to log.protected LonggetFactory(EditSecretEvent event) Gets the id of the factory.protected LonggetObjectId(EditSecretEvent event) Gets the unique id associated to the object.protected StringgetType(EditSecretEvent event) Gets the type's name of the data log.Methods inherited from class overit.geocall.basic.bl.DataLogReactor
bodyMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTEditSecretLog
public BTEditSecretLog()
-
-
Method Details
-
getType
Description copied from class:DataLogReactorGets the type's name of the data log.- Specified by:
getTypein classDataLogReactor<EditSecretEvent>- Parameters:
event- Event used to retrieve the information about the object to log.- Returns:
- The type's name of the data log.
-
getData
Description copied from class:DataLogReactorGets the data to log.- Specified by:
getDatain classDataLogReactor<EditSecretEvent>- Parameters:
event- Event used to retrieve the information about the object to log.- Returns:
- String representing all the data to log inside the db.
-
getObjectId
Description copied from class:DataLogReactorGets the unique id associated to the object.- Specified by:
getObjectIdin classDataLogReactor<EditSecretEvent>- Parameters:
event- Event used to retrieve the information about the object to log.- Returns:
- The unique id associated to the object.
-
getFactory
Description copied from class:DataLogReactorGets the id of the factory. Possibly the one associated with the object to log.- Specified by:
getFactoryin classDataLogReactor<EditSecretEvent>- Parameters:
event- Event used to retrieve the information about the object to log.- Returns:
- The id associated to the factory.
-