Class BTMainVersionFileLoad
java.lang.Object
overit.geocall.bl.BusinessTask<MainVersionFileLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<MainVersionFileLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<MainVersionFileLoadEvent>
overit.geocallapp.docshare.documents.bl.sharedresource.file.task.BTMainVersionFileLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(MainVersionFileLoadEvent.class)
public class BTMainVersionFileLoad
extends ValidPermissionBusinessTask<MainVersionFileLoadEvent>
Business task in order to load the main version of a
When the
BOFile,
which corresponds to the currently active one or the latest one if the active one is not available. When the
MainVersionFileLoadEvent is launched the BT notices
the call and loads the BOFile basing on the event's input. Error Code:
- Since:
- 14.0
- See Also:
- GCApi:
- task
-
Field Summary
Fields inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(MainVersionFileLoadEvent event, PoolKit poolKit) Writes the loaded file into the event journal.booleanDetermines whether the current state is valid for execution.protected BOFileloadMainVersion(MainVersionFileLoadEvent event, PoolKit poolKit) Loads the main version of the file.searchFiles(FileSearchFilter filter, PoolKit poolKit) Searches the files based on the given filter.Methods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
checkValidExecution, getException, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTMainVersionFileLoad
public BTMainVersionFileLoad()
-
-
Method Details
-
isValidExecution
public boolean isValidExecution()Description copied from interface:ValidExecutionDetermines whether the current state is valid for execution.- Returns:
- true if execution is valid, false otherwise