Class BTRootInsert
java.lang.Object
overit.geocall.bl.BusinessTask<RootInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<RootInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<RootInsertEvent>
overit.geocallapp.docshare.documents.bl.sharedresource.directory.task.BTRootInsert
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(RootInsertEvent.class)
public class BTRootInsert
extends ValidPermissionBusinessTask<RootInsertEvent>
Business task that creates the root
BODirectory.
Handles the RootInsertEvent by creating and persisting the root directory
with system-defined properties. The root directory represents the top-level container
in the document hierarchy and is automatically created when a new directory is created for the first time. - 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(BODirectory root, PoolKit poolKit) protected voidexecute(RootInsertEvent event, PoolKit poolKit) Writes the id of the inserted root into the event journal.booleanDetermines whether the current state is valid for execution.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
-
BTRootInsert
public BTRootInsert()
-
-
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