Class BTTeamActivityManualAssignment
java.lang.Object
overit.geocall.bl.BusinessTask<TeamActivityManualAssignmentEvent>
overit.geocallapp.wfm.core.bl.schedule.team.task.BTTeamActivityManualAssignment
- All Implemented Interfaces:
Serializable,Tool
@Event(TeamActivityManualAssignmentEvent.class)
public class BTTeamActivityManualAssignment
extends BusinessTask<TeamActivityManualAssignmentEvent>
Business task in order to schedule an activity to a resource.
When the
When the
TeamActivityManualAssignmentEvent is launched
the BT notices the call and schedules the activity basing on the event's input. - Since:
- 18.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaggiungiInfoAdAttivita(HashGetter attivita) protected voidbody(TeamActivityManualAssignmentEvent teamActivityManualAssignmentEvent, PoolKit poolKit) Implements this method to write the specific task logic to handle the input parameter.protected TeamActivityManualAssignmentOutputgetTeamActivityManualAssignmentOutput(overit.geocallapp.wfm.schedulazione.manuale.incollamento.DATIncollaAttivitaSquadraNew scheduleWorkOrderToTeam, TeamPreProcessAssignmentOutput preProcessOutput, PooledConnection conn) protected TeamPreProcessAssignmentOutputpreProcessTeamAssignment(TeamActivityManualAssignmentInput input, PoolKit poolKit) protected voidsetAssistantsSchedulingPosition(overit.geocallapp.wfm.schedulazione.manuale.incollamento.DATIncollaAttivitaSquadraNew scheduleWorkOrderToTeam, overit.geocallapp.wfm.schedulazione.manuale.anteprima.SquadraAnteprima team) protected voidsetSchedulingPosition(overit.geocallapp.wfm.schedulazione.manuale.incollamento.DATIncollaAttivitaSquadraNew scheduleWorkOrderToTeam, HashGetter pasteParams) protected voidsetSchedulingPositionAfterPrevScheduling(HashGetter params, Long previousPastedSchedulingId) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTTeamActivityManualAssignment
public BTTeamActivityManualAssignment()
-
-
Method Details
-
body
protected void body(TeamActivityManualAssignmentEvent teamActivityManualAssignmentEvent, 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<TeamActivityManualAssignmentEvent>- Parameters:
teamActivityManualAssignmentEvent- 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
-
setSchedulingPositionAfterPrevScheduling
protected void setSchedulingPositionAfterPrevScheduling(HashGetter params, Long previousPastedSchedulingId) -
setSchedulingPosition
protected void setSchedulingPosition(overit.geocallapp.wfm.schedulazione.manuale.incollamento.DATIncollaAttivitaSquadraNew scheduleWorkOrderToTeam, HashGetter pasteParams) -
setAssistantsSchedulingPosition
protected void setAssistantsSchedulingPosition(overit.geocallapp.wfm.schedulazione.manuale.incollamento.DATIncollaAttivitaSquadraNew scheduleWorkOrderToTeam, overit.geocallapp.wfm.schedulazione.manuale.anteprima.SquadraAnteprima team) -
getTeamActivityManualAssignmentOutput
protected TeamActivityManualAssignmentOutput getTeamActivityManualAssignmentOutput(overit.geocallapp.wfm.schedulazione.manuale.incollamento.DATIncollaAttivitaSquadraNew scheduleWorkOrderToTeam, TeamPreProcessAssignmentOutput preProcessOutput, PooledConnection conn) -
preProcessTeamAssignment
protected TeamPreProcessAssignmentOutput preProcessTeamAssignment(TeamActivityManualAssignmentInput input, PoolKit poolKit) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
aggiungiInfoAdAttivita
- Throws:
DAExceptionDAValidateException
-