Class BTSharedResourceMetadataUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<SharedResourceMetadataUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<SharedResourceMetadataUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<SharedResourceMetadataUpdateEvent>
overit.geocallapp.docshare.documents.bl.sharedresource.metadata.task.BTSharedResourceMetadataUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(SharedResourceMetadataUpdateEvent.class)
public class BTSharedResourceMetadataUpdate
extends ValidPermissionBusinessTask<SharedResourceMetadataUpdateEvent>
Business task to update a
When the
BOSharedResourceMetadata. When the
SharedResourceMetadataUpdateEvent is launched
the BT notices the call and updates 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(SharedResourceMetadataUpdateEvent event, PoolKit poolKit) Updates theBOSharedResourceMetadata.protected Collection<String> Retrieves the collection of the unmodifiable fields of theBOSharedResourceMetadatato be updated.booleanDetermines whether the current state is valid for execution.protected BOSharedResourceMetadataloadSharedResourceMetadata(Long sharedResourceId, PoolKit poolKit) Loads theBOSharedResourceMetadataassociated with the givenBOSharedResourceMetadataid.protected voidvalidate(BOSharedResourceMetadata input, PoolKit poolKit) Validates the data present in the 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
-
BTSharedResourceMetadataUpdate
public BTSharedResourceMetadataUpdate()
-
-
Method Details
-
getUnmodifiableFields
Retrieves the collection of the unmodifiable fields of theBOSharedResourceMetadatato be updated.- Returns:
- fields the collection of the read-only fields of the shared resource metadata to be updated
-
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