Class BTCustomerNoteViewSearch
java.lang.Object
overit.geocall.bl.BusinessTask<CustomerNoteViewSearchEvent>
overit.geocallapp.wfm.core.bl.common.validexecution.ValidExecutionBusinessTask<CustomerNoteViewSearchEvent>
overit.geocallapp.wfm.core.bl.common.validexecution.ValidPermissionBusinessTask<CustomerNoteViewSearchEvent>
overit.geocallapp.wfm.cee.bl.task.BTCeeManagement<CustomerNoteViewSearchEvent>
overit.geocallapp.wfm.cee.ux.note.task.BTCustomerNoteViewSearch
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(CustomerNoteViewSearchEvent.class)
public class BTCustomerNoteViewSearch
extends BTCeeManagement<CustomerNoteViewSearchEvent>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected RestClientHelperprotected InterventionApiprotected M2Mapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(CustomerNoteViewSearchEvent event, PoolKit poolKit) protected CustomerNoteViewgetCustomerNoteView(DTOIntervention intervention, DTOCustomerNote customerNote) protected List<CustomerNoteView> getCustomerNoteViews(Long interventionId) getInterventionIds(Long operationId, PoolKit pk) protected voidprotected List<DTOCustomerNote> loadCustomerNotes(Long interventionId) protected DTOInterventionloadIntervention(Long interventionId) protected List<CustomerNoteView> searchCustomerNote(CustomerNoteViewSearchEvent event, PoolKit pk) Methods inherited from class overit.geocallapp.wfm.cee.bl.task.BTCeeManagement
checkValidExecution, isValidExecution, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.wfm.core.bl.common.validexecution.ValidPermissionBusinessTask
getExceptionMethods inherited from class overit.geocallapp.wfm.core.bl.common.validexecution.ValidExecutionBusinessTask
body, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
helper
-
interventionApi
-
mapper
-
-
Constructor Details
-
BTCustomerNoteViewSearch
public BTCustomerNoteViewSearch()
-
-
Method Details
-
execute
protected void execute(CustomerNoteViewSearchEvent event, PoolKit poolKit) throws DAException, DAValidateException - Specified by:
executein classValidExecutionBusinessTask<CustomerNoteViewSearchEvent>- Throws:
DAExceptionDAValidateException
-
initialize
protected void initialize() -
searchCustomerNote
protected List<CustomerNoteView> searchCustomerNote(CustomerNoteViewSearchEvent event, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getInterventionIds
protected List<Long> getInterventionIds(Long operationId, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getCustomerNoteViews
protected List<CustomerNoteView> getCustomerNoteViews(Long interventionId) throws DAValidateException - Throws:
DAValidateException
-
loadIntervention
- Throws:
DAValidateException
-
loadCustomerNotes
-
getCustomerNoteView
protected CustomerNoteView getCustomerNoteView(DTOIntervention intervention, DTOCustomerNote customerNote)
-