Class BTSharedResourceMetadataInsert
java.lang.Object
overit.geocall.bl.BusinessTask<SharedResourceMetadataInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<SharedResourceMetadataInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<SharedResourceMetadataInsertEvent>
overit.geocallapp.docshare.documents.bl.sharedresource.metadata.task.BTSharedResourceMetadataInsert
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(SharedResourceMetadataInsertEvent.class)
public class BTSharedResourceMetadataInsert
extends ValidPermissionBusinessTask<SharedResourceMetadataInsertEvent>
Business task to insert a
When the
BOSharedResourceMetadata. When the
SharedResourceMetadataInsertEvent is launched
the BT notices the call and inserts the BOSharedResourceMetadata based 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(SharedResourceMetadataInsertEvent event, PoolKit poolKit) Inserts the shared resource metadata and writes the id into the event journal.booleanDetermines whether the current state is valid for execution.protected BOSharedResourceloadSharedResource(Long sharedResourceId, PoolKit poolKit) Loads theBOSharedResourceassociated to the givenBOSharedResource.protected BOSharedResourceMetadataloadSharedResourceMetadata(Long sharedResourceId, PoolKit poolKit) Loads theBOSharedResourceMetadataassociated to the givenBOSharedResource.protected voidvalidate(BOSharedResourceMetadata input, PoolKit poolKit) Validates the data passed as input.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
-
BTSharedResourceMetadataInsert
public BTSharedResourceMetadataInsert()
-
-
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