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 SummaryFields Modifier and Type Field Description static StringERROR_ADDING_GRAPH_GRAPH_ID_Sstatic StringERROR_BUILDING_GRAPH_GRAPH_ID_Sstatic StringUSER_IS_LIMITED_TO_ONLY_USING_PARENT_PROPERTIES_ID_FROM_GRAPHLIBRARY_BUT_FOUND_STORE_PROPERTIES_S
 - 
Constructor SummaryConstructors Constructor Description FederatedAddGraphHandlerParent()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description VoiddoOperation(OP operation, Context context, Store store)Execute the givenOperation.
 
- 
- 
- 
Field Detail- 
ERROR_BUILDING_GRAPH_GRAPH_ID_Spublic static final String ERROR_BUILDING_GRAPH_GRAPH_ID_S - See Also:
- Constant Field Values
 
 - 
ERROR_ADDING_GRAPH_GRAPH_ID_Spublic 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_Spublic 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- 
doOperationpublic Void doOperation(OP operation, Context context, Store store) throws OperationException Description copied from interface:OperationHandlerExecute the givenOperation.- Specified by:
- doOperationin interface- OperationHandler<OP extends AddGraph>
- Parameters:
- operation- the- Operationto be executed
- context- the operation chain context, containing the user who executed the operation
- store- the- Storethe operation should be run on
- Returns:
- the output for the operation or null.
- Throws:
- OperationException- thrown if the operation fails
 
 
- 
 
-