Class BTSchedulingCreationProposalSearch
java.lang.Object
overit.geocall.bl.BusinessTask<SchedulingCreationProposalSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<SchedulingCreationProposalSearchEvent>
overit.geocallapp.wfm.core.bl.schedulingproposal.task.BTSchedulingProposal<SchedulingCreationProposalSearchEvent>
overit.geocallapp.wfm.core.bl.schedulingproposal.creation.task.BTSchedulingCreationProposalSearch
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(SchedulingCreationProposalSearchEvent.class)
public class BTSchedulingCreationProposalSearch
extends BTSchedulingProposal<SchedulingCreationProposalSearchEvent>
Business task in order to search a
When the
BOSchedulingCreationProposal. When the
SchedulingCreationProposalSearchEvent is launched the BT notices the call and
searches the BOSchedulingCreationProposal basing on the event's input. - finally a new
PageResponseof the just createdBOSchedulingCreationProposalis generated and returned into the event's journal
- Since:
- 14.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(SchedulingCreationProposalSearchEvent event, PoolKit poolKit) Writes thePageResponseof the searched scheduling proposals into the event journal.protected PageResponse<BOSchedulingCreationProposal> searchSchedulingProposal(Page page, SchedulingCreationProposalSearchFilter searchFilter, PoolKit pk) Searches for the needed scheduling proposal using the informations contained into the givenSchedulingProposalSearchEventMethods inherited from class overit.geocallapp.wfm.core.bl.schedulingproposal.task.BTSchedulingProposal
getException, isValidExecution, 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
-
BTSchedulingCreationProposalSearch
public BTSchedulingCreationProposalSearch()
-
-
Method Details
-
execute
protected void execute(SchedulingCreationProposalSearchEvent event, PoolKit poolKit) throws DAException, DAValidateException Writes thePageResponseof the searched scheduling proposals into the event journal.- Specified by:
executein classValidExecutionBusinessTask<SchedulingCreationProposalSearchEvent>- Parameters:
event- theSchedulingCreationProposalSearchEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
searchSchedulingProposal
protected PageResponse<BOSchedulingCreationProposal> searchSchedulingProposal(Page page, SchedulingCreationProposalSearchFilter searchFilter, PoolKit pk) throws DAException, DAValidateException Searches for the needed scheduling proposal using the informations contained into the givenSchedulingProposalSearchEvent- Parameters:
page- thePagewith the needed pagination informationsearchFilter- theSchedulingCreationProposalSearchFilterpk- thePoolKit- Returns:
- the
PageResponsecontaining the paginated results - Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-