Class BTGisOfflinePackageUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<GisOfflinePackageUpdateEvent>
overit.geocallapp.wfm.core.bl.gis.offline.task.BTGisOfflinePackageUpdate
- All Implemented Interfaces:
Serializable,Tool
@Event(GisOfflinePackageUpdateEvent.class)
public class BTGisOfflinePackageUpdate
extends BusinessTask<GisOfflinePackageUpdateEvent>
Business task in order to update a
When the
BOGisOfflinePackage. When the
GisOfflinePackageUpdateEvent is launched
the BT notices the call and updates the BOGisOfflinePackage basing on the event's input. - Since:
- 12.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(GisOfflinePackageUpdateEvent event, PoolKit pk) Updates theBOGisOfflinePackagewith all its needed components.protected voidvalidate(BOGisOfflinePackage gisOfflinePackage) Validates the data before the update.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTGisOfflinePackageUpdate
public BTGisOfflinePackageUpdate()
-
-
Method Details
-
body
protected void body(GisOfflinePackageUpdateEvent event, PoolKit pk) throws DAException, DAValidateException Updates theBOGisOfflinePackagewith all its needed components.- Specified by:
bodyin classBusinessTask<GisOfflinePackageUpdateEvent>- Parameters:
event- theGisOfflinePackageUpdateEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validate
Validates the data before the update.- Parameters:
gisOfflinePackage- the givenBOGisOfflinePackagecontaining the new values- Throws:
DAValidateException- the DA validate exception
-