Class BTProjectActivityRelationUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<ProjectActivityRelationUpdateEvent>
overit.geocallapp.wfm.project.bl.activityrelation.task.BTProjectActivityRelationUpdate
- All Implemented Interfaces:
Serializable,Tool
@Event(ProjectActivityRelationUpdateEvent.class)
public class BTProjectActivityRelationUpdate
extends BusinessTask<ProjectActivityRelationUpdateEvent>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(ProjectActivityRelationUpdateEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected voidcheckActivityRelationValues(BOActivityRelation activityRel) protected BOActivityRelationupdateRelation(BOActivityRelation activityRel, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTProjectActivityRelationUpdate
public BTProjectActivityRelationUpdate()
-
-
Method Details
-
body
protected void body(ProjectActivityRelationUpdateEvent 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<ProjectActivityRelationUpdateEvent>- 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
-
checkActivityRelationValues
protected void checkActivityRelationValues(BOActivityRelation activityRel) throws DAValidateException - Throws:
DAValidateException
-
updateRelation
protected BOActivityRelation updateRelation(BOActivityRelation activityRel, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-