Class BTGenerateSecret
java.lang.Object
overit.geocall.bl.BusinessTask<GenerateSecretEvent>
overit.geocall.basic.bl.auth.task.BTGenerateSecret
- All Implemented Interfaces:
Serializable,Tool
@Event(GenerateSecretEvent.class)
public class BTGenerateSecret
extends BusinessTask<GenerateSecretEvent>
Task to create a secret saved in the database. This could be used to generate a static or a rotating secret.
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(GenerateSecretEvent generateSecretEvent, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTGenerateSecret
-
-
Method Details
-
body
protected void body(GenerateSecretEvent generateSecretEvent, PoolKit pk) throws DAException, DAValidateException Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<GenerateSecretEvent>- Parameters:
generateSecretEvent- 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
-