Class BTFileUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<FileUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<FileUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<FileUpdateEvent>
overit.geocallapp.docshare.documents.bl.sharedresource.task.BTSharedResourceUpdate<FileUpdateEvent>
overit.geocallapp.docshare.documents.bl.sharedresource.file.task.BTFileUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(FileUpdateEvent.class)
public class BTFileUpdate
extends BTSharedResourceUpdate<FileUpdateEvent>
Business task in order to update a
When the
BOFile. When the
FileUpdateEvent is launched
the BT notices the call and updates the BOFile basing on the event's input. Error codes:
- 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(FileUpdateEvent event, PoolKit poolKit) Updates the givenBOFile.Returns the list of fields that cannot be modified during the update.booleanDetermines whether the current state is valid for execution.Methods inherited from class overit.geocallapp.docshare.documents.bl.sharedresource.task.BTSharedResourceUpdate
completeData, validateMethods 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
-
BTFileUpdate
public BTFileUpdate()
-
-
Method Details
-
getUnmodifiableFields
Returns the list of fields that cannot be modified during the update.- Returns:
- the list of unmodifiable fields
-
isValidExecution
public boolean isValidExecution()Description copied from interface:ValidExecutionDetermines whether the current state is valid for execution.- Specified by:
isValidExecutionin interfaceValidExecution- Overrides:
isValidExecutionin classBTSharedResourceUpdate<FileUpdateEvent>- Returns:
- true if execution is valid, false otherwise