Class BTConfigurationParametersSave
java.lang.Object
overit.geocall.bl.BusinessTask<ConfigurationParametersSaveEvent>
overit.geocallapp.wfm.ai.bl.configuration.configurationparams.task.BTConfigurationParametersSave
- All Implemented Interfaces:
Serializable,Tool
@Event(ConfigurationParametersSaveEvent.class)
public class BTConfigurationParametersSave
extends BusinessTask<ConfigurationParametersSaveEvent>
- Since:
- 9.2
- See Also:
- GCApi:
- task
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DAOAIConfigurationParamsprotected DAOAIConfigurationParamsOpCenters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(ConfigurationParametersSaveEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected voiddeleteOperationsCenter(Long confParamsOpCenterId, PoolKit pk) protected DBViewgetExistingOperationsCenters(Long confParamsId, PoolKit pk) protected voidprotected BOConfigurationParamsinsertConfigurationParameters(BOConfigurationParams configurationParameters, PoolKit pk) protected voidinsertOperationsCenter(Long confParamsId, Long opCenterId, PoolKit pk) protected BOConfigurationParamssaveConfigurationParameters(BOConfigurationParams configurationParameters, PoolKit pk) protected voidsaveConfigurationParametersOperationsCenter(BOConfigurationParams savedConfigurationParameters, PoolKit pk) protected BOConfigurationParamsupdateConfigurationParameters(BOConfigurationParams configurationParameters, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
daoAIConfigurationParams
-
daoAIConfigurationParamsOpCenters
-
-
Constructor Details
-
BTConfigurationParametersSave
public BTConfigurationParametersSave()
-
-
Method Details
-
body
protected void body(ConfigurationParametersSaveEvent 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<ConfigurationParametersSaveEvent>- 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
-
initialize
protected void initialize() -
saveConfigurationParameters
protected BOConfigurationParams saveConfigurationParameters(BOConfigurationParams configurationParameters, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
insertConfigurationParameters
protected BOConfigurationParams insertConfigurationParameters(BOConfigurationParams configurationParameters, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
updateConfigurationParameters
protected BOConfigurationParams updateConfigurationParameters(BOConfigurationParams configurationParameters, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
saveConfigurationParametersOperationsCenter
protected void saveConfigurationParametersOperationsCenter(BOConfigurationParams savedConfigurationParameters, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getExistingOperationsCenters
protected DBView getExistingOperationsCenters(Long confParamsId, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
insertOperationsCenter
protected void insertOperationsCenter(Long confParamsId, Long opCenterId, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
deleteOperationsCenter
protected void deleteOperationsCenter(Long confParamsOpCenterId, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-