Class BTBeforeUserUpsert
java.lang.Object
overit.geocall.bl.BusinessTask<BeforeUserUpsertEvent>
overit.geocall.basic.bl.login.task.BTBeforeUserUpsert
- All Implemented Interfaces:
Serializable,Tool
@Event(BeforeUserUpsertEvent.class)
public class BTBeforeUserUpsert
extends BusinessTask<BeforeUserUpsertEvent>
Task that listen the
Can raise a DAException if there is some connection problem with the database.
BeforeUserUpsertEvent.
Can raise a DAException if there is some connection problem with the database.
- Since:
- 10
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LongadjudicateUserTypes(List<Object> attributes, Set<Long> roles) protected voidbody(BeforeUserUpsertEvent 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
-
BTBeforeUserUpsert
public BTBeforeUserUpsert()
-
-
Method Details
-
body
protected void body(BeforeUserUpsertEvent event, 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<BeforeUserUpsertEvent>- 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
-
adjudicateUserTypes
-