Class BTInvalidateToken
java.lang.Object
overit.geocall.bl.BusinessTask<InvalidateTokenEvent>
overit.geocall.basic.bl.token.task.BTInvalidateToken
- All Implemented Interfaces:
Serializable,Tool
@Event(InvalidateTokenEvent.class)
public class BTInvalidateToken
extends BusinessTask<InvalidateTokenEvent>
Task that handle the
Can raise a DAValidate exception in case there is no session associated with the token, or a DAException if there is some connection problem with the database.
InvalidateTokenEvent and invalidate the session related to the token passed by.
Can raise a DAValidate exception in case there is no session associated with the token, or a DAException if there is some connection problem with the database.
- Since:
- 9.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(InvalidateTokenEvent event, 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
-
BTInvalidateToken
public BTInvalidateToken()
-
-
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<InvalidateTokenEvent>- Parameters:
event- 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
-