Class BTExtractDBLastSecretVersions
java.lang.Object
overit.geocall.bl.BusinessTask<BOSecret>
overit.geocall.basic.bl.auth.task.BTExtractDBLastSecretVersions
- All Implemented Interfaces:
Serializable,Tool
Task to extract the latest versions of a secret saved in the database. "Latest versions" means the current value of secret (used to sign something)
and the previous value.
- See Also:
- GCApi:
- task
-
Constructor Summary
ConstructorsConstructorDescriptionBTExtractDBLastSecretVersions(Holder<DAOSecret> daoSecret, Holder<DAOSecretValue> daoSecretValue) For test purposes only. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidImplements this method to write the specific task logic to handle the input parameter.String[]Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTExtractDBLastSecretVersions
public BTExtractDBLastSecretVersions(@Tool(DAOSecret.class) Holder<DAOSecret> daoSecret, @Tool(DAOSecretValue.class) Holder<DAOSecretValue> daoSecretValue) For test purposes only.- Parameters:
daoSecret-Holder<DAOSecret> about theDAOSecret, useful to deal with secrets in the application database.daoSecretValue-Holder<DAOSecretValue> about theDAOSecretValue, useful to deal with secret values in the application database.
-
-
Method Details
-
body
Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<BOSecret>- Parameters:
boSecret- the object upon which the task will works onpk- the poolkit containing the reference to the database connection that can be used- Throws:
DAException- in case of database errorDAValidateException- in case of database validation error
-
getLastSecretVersions
-