Class BTDataCollectionSheetInstanceAssociateToSchedulingUser
java.lang.Object
overit.geocall.bl.BusinessTask<DataCollectionSheetInstanceAssociateToSchedulingUserEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<DataCollectionSheetInstanceAssociateToSchedulingUserEvent>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<DataCollectionSheetInstanceAssociateToSchedulingUserEvent>
overit.geocallapp.wfm.core.bl.datacollection.instance.task.BTDataCollectionSheetInstanceAssociate<DataCollectionSheetInstanceAssociateToSchedulingUserEvent>
overit.geocallapp.wfm.core.bl.datacollection.instance.task.BTDataCollectionSheetInstanceAssociateToSchedulingUser
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionSheetInstanceAssociateToSchedulingUserEvent.class)
public class BTDataCollectionSheetInstanceAssociateToSchedulingUser
extends BTDataCollectionSheetInstanceAssociate<DataCollectionSheetInstanceAssociateToSchedulingUserEvent>
Business task in order to associate a scheduling user to a
When the
DataCollectionSheetInstance. When the
DataCollectionSheetInstanceAssociateToSchedulingUserEvent is launched
the BT notices the call and associates the users to the DataCollectionSheetInstance basing on the event's input. Visibility:
- scheduling users that belong to the same current user's operation center
- Since:
- 12.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(DataCollectionSheetInstanceAssociateToSchedulingUserEvent event, PoolKit poolKit) Associates the scheduling user to the data collection sheet instance.Returns the valid sheet scopes.protected voidValidates the input.Methods inherited from class overit.geocallapp.wfm.core.bl.datacollection.instance.task.BTDataCollectionSheetInstanceAssociate
checkSheet, isValidExecution, loadSheetInstance, saveSheetInstance, saveSheetInstanceMethods inherited from class overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection
getException, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, checkValidExecution, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTDataCollectionSheetInstanceAssociateToSchedulingUser
public BTDataCollectionSheetInstanceAssociateToSchedulingUser()
-
-
Method Details
-
getValidSheetScopes
Returns the valid sheet scopes.- Specified by:
getValidSheetScopesin classBTDataCollectionSheetInstanceAssociate<DataCollectionSheetInstanceAssociateToSchedulingUserEvent>- Returns:
- the valid sheet scopes
-
execute
protected void execute(DataCollectionSheetInstanceAssociateToSchedulingUserEvent event, PoolKit poolKit) throws DAException, DAValidateException Associates the scheduling user to the data collection sheet instance.- Specified by:
executein classValidExecutionBusinessTask<DataCollectionSheetInstanceAssociateToSchedulingUserEvent>- Parameters:
event- theDataCollectionSheetInstanceAssociateToSchedulingUserEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validate
protected void validate(DataCollectionSheetInstanceAssociateToSchedulingUserInput input) throws DAValidateException Validates the input.- Parameters:
input- theDataCollectionSheetInstanceAssociateToSchedulingUserInput- Throws:
DAValidateException- the DA validate exception
-