Class BTSchedulingProposalProcessor<I>
java.lang.Object
overit.geocall.bl.BusinessTask<I>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<I>
overit.geocallapp.wfm.core.bl.schedulingproposal.task.BTSchedulingProposal<I>
overit.geocallapp.wfm.core.bl.schedulingproposal.task.BTSchedulingProposalProcessor<I>
- Type Parameters:
I- the generic type
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
- Direct Known Subclasses:
BTProcessSchedulingCreationProposal,BTProcessSchedulingRemovalProposal
Generic business task for the scheduling proposal process.
Before executing its purpose, the task checks whether the scheduling proposal module is active or not.
- Since:
- 14.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecuteProcessor(Long idSchedulingProposal, PoolKit poolKit) protected booleanisStateForProcess(BOSchedulingProposal boSchedulingProposal) booleanDetermines whether the current state is valid for execution.protected abstract BOSchedulingProposalloadSchedulingProposal(Long idSchedulingProposal, PoolKit poolKit) protected abstract voidprocess(BOSchedulingProposal boSchedulingProposal, PoolKit poolKit) Methods inherited from class overit.geocallapp.wfm.core.bl.schedulingproposal.task.BTSchedulingProposal
getException, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, checkValidExecution, execute, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTSchedulingProposalProcessor
public BTSchedulingProposalProcessor()
-
-
Method Details
-
isValidExecution
public boolean isValidExecution()Description copied from interface:ValidExecutionDetermines whether the current state is valid for execution.- Specified by:
isValidExecutionin interfaceValidExecution- Overrides:
isValidExecutionin classBTSchedulingProposal<I>- Returns:
- true if execution is valid, false otherwise
-
executeProcessor
protected void executeProcessor(Long idSchedulingProposal, PoolKit poolKit) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
process
protected abstract void process(BOSchedulingProposal boSchedulingProposal, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
loadSchedulingProposal
protected abstract BOSchedulingProposal loadSchedulingProposal(Long idSchedulingProposal, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
isStateForProcess
-