Class FederatedRemoveGraphHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.federatedstore.operation.handler.impl.FederatedRemoveGraphHandler
-
- All Implemented Interfaces:
OperationHandler<RemoveGraph>,OutputOperationHandler<RemoveGraph,Boolean>
- Direct Known Subclasses:
FederatedRemoveGraphAndDeleteAllDataHandler
public class FederatedRemoveGraphHandler extends Object implements OutputOperationHandler<RemoveGraph,Boolean>
A handler for RemoveGraph operation for the FederatedStore.Does not delete the graph, just removes it from the scope of the FederatedStore.
- See Also:
FederatedStore,RemoveGraph
-
-
Constructor Summary
Constructors Constructor Description FederatedRemoveGraphHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleandoOperation(RemoveGraph operation, Context context, Store store)Execute the givenOutputoperation.
-
-
-
Method Detail
-
doOperation
public Boolean doOperation(RemoveGraph operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandlerExecute the givenOutputoperation.- Specified by:
doOperationin interfaceOperationHandler<RemoveGraph>- Specified by:
doOperationin interfaceOutputOperationHandler<RemoveGraph,Boolean>- Parameters:
operation- theOutputoperation to be executedcontext- the operation chain context, containing the user who executed the operationstore- theStorethe operation should be run on- Returns:
- the output for the operation.
- Throws:
OperationException- thrown if the operation fails
-
-