Class BTElaborationHistoryCreation
java.lang.Object
overit.geocall.bl.BusinessTask<ElaborationHistoryCreationEvent>
overit.geocallapp.wfm.ai.bl.processing.history.task.BTElaborationHistoryCreation
- All Implemented Interfaces:
Serializable,Tool
@Event(ElaborationHistoryCreationEvent.class)
public class BTElaborationHistoryCreation
extends BusinessTask<ElaborationHistoryCreationEvent>
- Since:
- 9.2
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(ElaborationHistoryCreationEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected BOElaborationHistorycreateElaborationHistory(BOConfigurationParams configurationParams, Long trainingType, PoolKit pk) protected BOConfParamsHistorygetLastConfigurationParametersHistory(Long configurationParamsId, PoolKit pk) protected BOElaborationHistorygetLastElaborationHistory(Long confParamsHistoryId, PoolKit pk) protected LonggetLastModelHistoryId(Long modelId, PoolKit pk) protected BOElaborationHistoryinsertElaborationHistory(BOElaborationHistory elaborationHistory, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTElaborationHistoryCreation
public BTElaborationHistoryCreation()
-
-
Method Details
-
body
protected void body(ElaborationHistoryCreationEvent event, PoolKit pk) 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<ElaborationHistoryCreationEvent>- Parameters:
event- the object upon which the task will works onpk- 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
-
createElaborationHistory
protected BOElaborationHistory createElaborationHistory(BOConfigurationParams configurationParams, Long trainingType, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getLastConfigurationParametersHistory
protected BOConfParamsHistory getLastConfigurationParametersHistory(Long configurationParamsId, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getLastElaborationHistory
protected BOElaborationHistory getLastElaborationHistory(Long confParamsHistoryId, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getLastModelHistoryId
protected Long getLastModelHistoryId(Long modelId, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
insertElaborationHistory
protected BOElaborationHistory insertElaborationHistory(BOElaborationHistory elaborationHistory, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-