Class BTMicroclusterAggregateRemove
java.lang.Object
overit.geocall.bl.BusinessTask<MicroclusterAggregateRemoveEvent>
overit.geocallapp.wfm.core.ux.location.microcluster.microclusteraggregate.task.BTMicroclusterAggregateRemove
- All Implemented Interfaces:
Serializable,Tool
@Event(MicroclusterAggregateRemoveEvent.class)
public class BTMicroclusterAggregateRemove
extends BusinessTask<MicroclusterAggregateRemoveEvent>
Business task in order to remove a
When the
BOMicroclusterAggregate. When the
MicroclusterAggregateRemoveEvent is launched the BT notices
the call and removes the BOMicroclusterAggregate basing on the
event's input. - See Also:
- GCApi:
- task
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DAOMicroclusterAggregateprotected DAOMicroclusterZoneprotected DAOZoneMicroclusterAggregateprotected BOMicroclusterAggregate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(MicroclusterAggregateRemoveEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected voidDelete microcluster aggregate headerprotected voidDelete RMCAGGREGATEZONE records for this aggregateprotected voidMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
microclusterAggregate
-
daoMCAggregate
-
daoRMCZone
-
daoRZoneMC
-
-
Constructor Details
-
BTMicroclusterAggregateRemove
public BTMicroclusterAggregateRemove()
-
-
Method Details
-
body
protected void body(MicroclusterAggregateRemoveEvent 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<MicroclusterAggregateRemoveEvent>- 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
-
updateRMicroclusterZone
- Throws:
DAExceptionDAValidateException
-
deleteMicroclusterAggregate
Delete microcluster aggregate header- Throws:
DAExceptionDAValidateException
-
deleteRZoneMcAggregate
Delete RMCAGGREGATEZONE records for this aggregate- Throws:
DAExceptionDAValidateException
-