Class BTDirectoryUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<DirectoryUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<DirectoryUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<DirectoryUpdateEvent>
overit.geocallapp.docshare.documents.bl.sharedresource.task.BTSharedResourceUpdate<DirectoryUpdateEvent>
overit.geocallapp.docshare.documents.bl.sharedresource.directory.task.BTDirectoryUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DirectoryUpdateEvent.class)
public class BTDirectoryUpdate
extends BTSharedResourceUpdate<DirectoryUpdateEvent>
Business task in order to update a
When the
BODirectory. When the
DirectoryUpdateEvent is launched
the BT notices the call and updates the BODirectory 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(DirectoryUpdateEvent event, PoolKit poolKit) Updates the givenBODirectory.Returns the list of fields that cannot be modified during the update.booleanDetermines whether the current state is valid for execution.protected voidnotifyUpdate(BODirectory savedDirectory, BODirectory newDirectory, PoolKit poolKit) Notifies the update of the directory by calling theDirectoryNotificationEvent.protected voidvalidate(BOSharedResource newDirectory, PoolKit poolKit) Validates the givenBODirectory.Methods inherited from class overit.geocallapp.docshare.documents.bl.sharedresource.task.BTSharedResourceUpdate
completeDataMethods 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
-
BTDirectoryUpdate
public BTDirectoryUpdate()
-
-
Method Details
-
getNotUpdatableFields
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<DirectoryUpdateEvent>- Returns:
- true if execution is valid, false otherwise