Class BTProjectOperationsCheck
java.lang.Object
overit.geocall.bl.BusinessTask<ProjectOperationsCheckEvent>
overit.geocallapp.wfm.project.bl.task.BTProjectOperationsCheck
- All Implemented Interfaces:
Serializable,Tool
@Event(ProjectOperationsCheckEvent.class)
public class BTProjectOperationsCheck
extends BusinessTask<ProjectOperationsCheckEvent>
Task called before WO association to project activity.
A WO cannot be associated to different activities (also if of the same project)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ArrayList<CheckResult> protected BOProjectActivityprotected LongSet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(ProjectOperationsCheckEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected voidprotected voidprotected voidprotected voidprotected voidinit(ProjectOperationsCheckEvent event, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
checkResultList
-
woOperations
-
projectActivity
-
-
Constructor Details
-
BTProjectOperationsCheck
public BTProjectOperationsCheck()
-
-
Method Details
-
body
protected void body(ProjectOperationsCheckEvent 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<ProjectOperationsCheckEvent>- 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
-
init
-
checkProjectActivityStatus
-
checkExistingWoAssociations
- Throws:
DAExceptionDAValidateException
-
checkExistingProjectActivityAssociations
-
checkMultistageActivities
- Throws:
DAExceptionDAValidateException
-