Class BTFileInsert
java.lang.Object
overit.geocall.bl.BusinessTask<FileInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<FileInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<FileInsertEvent>
overit.geocallapp.docshare.documents.bl.sharedresource.task.BTSharedResourceInsert<FileInsertEvent>
overit.geocallapp.docshare.documents.bl.sharedresource.file.task.BTFileInsert
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(FileInsertEvent.class)
public class BTFileInsert
extends BTSharedResourceInsert<FileInsertEvent>
Business task in order to insert a
When the
BOFile. When the
FileInsertEvent is launched
the BT notices the call and inserts 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 voidcompleteData(BOSharedResource sharedResource, PoolKit poolKit) Completes the data of the given shared resource before the insertion.protected voidexecute(FileInsertEvent event, PoolKit poolKit) Inserts the givenBOFileand writes the newly generated id into the event journal.booleanDetermines whether the current state is valid for execution.protected voidsetPhysicalPath(BOFile file, PoolKit poolKit) Sets the physical path of the file.protected voidvalidate(BOSharedResource sharedResource, PoolKit poolKit) Validates the given shared resource.Methods inherited from class overit.geocallapp.docshare.documents.bl.sharedresource.task.BTSharedResourceInsert
loadParentMethods 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
-
BTFileInsert
public BTFileInsert()
-
-
Method Details
-
isValidExecution
public boolean isValidExecution()Description copied from interface:ValidExecutionDetermines whether the current state is valid for execution.- Specified by:
isValidExecutionin interfaceValidExecution- Overrides:
isValidExecutionin classBTSharedResourceInsert<FileInsertEvent>- Returns:
- true if execution is valid, false otherwise