Class BTDataCollectionTemplateConversionLoadOldTemplate
java.lang.Object
overit.geocall.bl.BusinessTask<DataCollectionTemplateConversionLoadOldTemplateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<DataCollectionTemplateConversionLoadOldTemplateEvent>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<DataCollectionTemplateConversionLoadOldTemplateEvent>
overit.geocallapp.wfm.core.bl.datacollection.converter.template.task.BTDataCollectionTemplateConversionLoadOldTemplate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionTemplateConversionLoadOldTemplateEvent.class)
public class BTDataCollectionTemplateConversionLoadOldTemplate
extends BTDataCollection<DataCollectionTemplateConversionLoadOldTemplateEvent>
Business task in order to load a
When the
TemplateTree. When the
DataCollectionTemplateConversionLoadOldTemplateEvent is
launched the BT notices the call and loads the TemplateTree basing on
the event's input. Error Code:
Codes.C270_1583: No structure found for old template id: {0}
- Since:
- 13.0
- See Also:
- GCApi:
- task
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(DataCollectionTemplateConversionLoadOldTemplateEvent event, PoolKit poolKit) Starting from the given id, it loads the correspondingTemplateTreeand writes it into the event journal.protected TeacherGets the Teacher.Methods inherited from class overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection
getException, isValidExecution, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, checkValidExecution, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
teacherDuty
-
-
Constructor Details
-
BTDataCollectionTemplateConversionLoadOldTemplate
public BTDataCollectionTemplateConversionLoadOldTemplate()
-
-
Method Details
-
execute
protected void execute(DataCollectionTemplateConversionLoadOldTemplateEvent event, PoolKit poolKit) throws DAException, DAValidateException Starting from the given id, it loads the correspondingTemplateTreeand writes it into the event journal.- Specified by:
executein classValidExecutionBusinessTask<DataCollectionTemplateConversionLoadOldTemplateEvent>- Parameters:
event- theDataCollectionTemplateConversionLoadOldTemplateEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
getTeacher
Gets the Teacher.- Returns:
- the
Teacher
-