Class BTCompanyUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<CompanyUpdateEvent>
overit.geocall.basic.bl.company.task.BTCompanyUpdate
- All Implemented Interfaces:
Serializable,Tool
@Event(CompanyUpdateEvent.class)
public class BTCompanyUpdate
extends BusinessTask<CompanyUpdateEvent>
Task that listen the
Can raise a DAValidate exception in case there's no user with the key passed by or a DAException if there is some connection problem with the database.
CompanyUpdateEvent and update the company information into the database.
Can raise a DAValidate exception in case there's no user with the key passed by or a DAException if there is some connection problem with the database.
- Since:
- 9.2
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(CompanyUpdateEvent 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
-
BTCompanyUpdate
public BTCompanyUpdate()
-
-
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<CompanyUpdateEvent>- 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
-