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