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