Class BTDefaultProfileCheck
java.lang.Object
overit.geocall.bl.BusinessTask<DefaultProfileCheckEvent>
overit.geocallapp.wfm.core.bl.timesheet.configuration.profile.task.BTDefaultProfileCheck
- All Implemented Interfaces:
Serializable,Tool
@Event(DefaultProfileCheckEvent.class)
public class BTDefaultProfileCheck
extends BusinessTask<DefaultProfileCheckEvent>
Business task in order to check and eventually insert a default
BOProfile. - Since:
- 9.2
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(DefaultProfileCheckEvent event, PoolKit poolKit) Implements this method to write the specific task logic to handle the input parameter.protected BOProfilegetDefaultProfile(PoolKit poolKit) protected voidinsertDefaultProfile(PoolKit poolKit) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTDefaultProfileCheck
public BTDefaultProfileCheck()
-
-
Method Details
-
body
protected void body(DefaultProfileCheckEvent event, PoolKit poolKit) 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<DefaultProfileCheckEvent>- Parameters:
event- the object upon which the task will works onpoolKit- 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
-
getDefaultProfile
- Throws:
DAValidateExceptionDAException
-
insertDefaultProfile
- Throws:
DAValidateExceptionDAException
-