Class BTGisOfflinePackageInsert
java.lang.Object
overit.geocall.bl.BusinessTask<GisOfflinePackageInsertEvent>
overit.geocallapp.wfm.core.bl.gis.offline.task.BTGisOfflinePackageInsert
- All Implemented Interfaces:
Serializable,Tool
@Event(GisOfflinePackageInsertEvent.class)
public class BTGisOfflinePackageInsert
extends BusinessTask<GisOfflinePackageInsertEvent>
Business task in order to insert a
When the
BOGisOfflinePackage. When the
GisOfflinePackageInsertEvent is launched
the BT notices the call and inserts the BOGisOfflinePackage basing on the event's input. - Since:
- 12.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(GisOfflinePackageInsertEvent event, PoolKit pk) Inserts the givenBOGisOfflinePackageand writes the newly generated id into the event journal.protected voidvalidate(BOGisOfflinePackage gisOfflinePackage) Validates the data before the insertion.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTGisOfflinePackageInsert
public BTGisOfflinePackageInsert()
-
-
Method Details
-
body
protected void body(GisOfflinePackageInsertEvent event, PoolKit pk) throws DAException, DAValidateException Inserts the givenBOGisOfflinePackageand writes the newly generated id into the event journal.- Specified by:
bodyin classBusinessTask<GisOfflinePackageInsertEvent>- Parameters:
event- theGisOfflinePackageInsertEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validate
Validates the data before the insertion.- Parameters:
gisOfflinePackage- the givenBOGisOfflinePackagecontaining the new values- Throws:
DAValidateException- the DA validate exception
-