Class FederatedAddGraphHandlerParent<OP extends AddGraph>
- java.lang.Object
-
- uk.gov.gchq.gaffer.federatedstore.operation.handler.FederatedAddGraphHandlerParent<OP>
-
- All Implemented Interfaces:
OperationHandler<OP>
- Direct Known Subclasses:
FederatedAddGraphHandler
,FederatedAddGraphWithHooksHandler
public abstract class FederatedAddGraphHandlerParent<OP extends AddGraph> extends Object implements OperationHandler<OP>
A handler for operations that addGraph to the FederatedStore.- See Also:
OperationHandler
,FederatedStore
,GraphDelegate
-
-
Field Summary
Fields Modifier and Type Field Description static String
ERROR_ADDING_GRAPH_GRAPH_ID_S
static String
ERROR_BUILDING_GRAPH_GRAPH_ID_S
static String
USER_IS_LIMITED_TO_ONLY_USING_PARENT_PROPERTIES_ID_FROM_GRAPHLIBRARY_BUT_FOUND_STORE_PROPERTIES_S
-
Constructor Summary
Constructors Constructor Description FederatedAddGraphHandlerParent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
doOperation(OP operation, Context context, Store store)
Execute the givenOperation
.
-
-
-
Field Detail
-
ERROR_BUILDING_GRAPH_GRAPH_ID_S
public static final String ERROR_BUILDING_GRAPH_GRAPH_ID_S
- See Also:
- Constant Field Values
-
ERROR_ADDING_GRAPH_GRAPH_ID_S
public static final String ERROR_ADDING_GRAPH_GRAPH_ID_S
- See Also:
- Constant Field Values
-
USER_IS_LIMITED_TO_ONLY_USING_PARENT_PROPERTIES_ID_FROM_GRAPHLIBRARY_BUT_FOUND_STORE_PROPERTIES_S
public static final String USER_IS_LIMITED_TO_ONLY_USING_PARENT_PROPERTIES_ID_FROM_GRAPHLIBRARY_BUT_FOUND_STORE_PROPERTIES_S
- See Also:
- Constant Field Values
-
-
Method Detail
-
doOperation
public Void doOperation(OP operation, Context context, Store store) throws OperationException
Description copied from interface:OperationHandler
Execute the givenOperation
.- Specified by:
doOperation
in interfaceOperationHandler<OP extends AddGraph>
- Parameters:
operation
- theOperation
to be executedcontext
- the operation chain context, containing the user who executed the operationstore
- theStore
the operation should be run on- Returns:
- the output for the operation or null.
- Throws:
OperationException
- thrown if the operation fails
-
-