Class AuthorisedGraphForExportDelegate
- java.lang.Object
-
- uk.gov.gchq.gaffer.operation.export.graph.handler.GraphDelegate
-
- uk.gov.gchq.gaffer.operation.export.graph.AuthorisedGraphForExportDelegate
-
public class AuthorisedGraphForExportDelegate extends GraphDelegate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthorisedGraphForExportDelegate.Builder
-
Nested classes/interfaces inherited from class uk.gov.gchq.gaffer.operation.export.graph.handler.GraphDelegate
GraphDelegate.BaseBuilder<BUILDER extends GraphDelegate.BaseBuilder>
-
-
Field Summary
-
Fields inherited from class uk.gov.gchq.gaffer.operation.export.graph.handler.GraphDelegate
CANNOT_EXPORT_TO_THE_SAME_GRAPH_S, CANT_BOTH_BE_NULL, GRAPH_ID, GRAPH_ID_S_CANNOT_BE_CREATED_WITHOUT_DEFINED_KNOWN_S, GRAPH_LIBRARY_CANNOT_BE_FOUND_WITH_GRAPHID_S, GRAPH_S_ALREADY_EXISTS_SO_YOU_CANNOT_USE_A_DIFFERENT_S_DO_NOT_SET_THE_S_FIELD, PARENT_SCHEMA_IDS, PARENT_STORE_PROPERTIES_ID, S_CANNOT_BE_USED_WITHOUT_A_GRAPH_LIBRARY, S_MUST_BE_SPECIFIED_WITH_S, SCHEMA_COULD_NOT_BE_FOUND_IN_THE_GRAPH_LIBRARY_WITH_ID_S, SCHEMA_ID, SCHEMA_STRING, STORE_GRAPH_LIBRARY_IS_NULL, STORE_PROPERTIES_COULD_NOT_BE_FOUND_IN_THE_GRAPH_LIBRARY_WITH_ID_S, STORE_PROPERTIES_ID, STORE_PROPERTIES_STRING, USER_IS_NOT_AUTHORISED_TO_EXPORT_USING_S_S
-
-
Constructor Summary
Constructors Constructor Description AuthorisedGraphForExportDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Graph
createGraphInstance(Store store, String graphId, Schema schema, StoreProperties storeProperties, List<String> parentSchemaIds, String parentStorePropertiesId, Map idAuths, User user)
Map<String,List<String>>
getIdAuths()
User
getUser()
void
setIdAuths(Map<String,List<String>> idAuths)
void
setUser(User user)
void
validateGraph(Store store, String graphId, Schema schema, StoreProperties storeProperties, List<String> parentSchemaIds, String parentStorePropertiesId, Pair<Schema,StoreProperties> existingGraphPair)
-
Methods inherited from class uk.gov.gchq.gaffer.operation.export.graph.handler.GraphDelegate
createGraph, createGraphInstance, createGraphInstance, createGraphSerialisable, createGraphSerialisable, validate, validate, validateGraph
-
-
-
-
Method Detail
-
getUser
public User getUser()
-
setUser
public void setUser(User user)
-
createGraphInstance
public Graph createGraphInstance(Store store, String graphId, Schema schema, StoreProperties storeProperties, List<String> parentSchemaIds, String parentStorePropertiesId, Map idAuths, User user)
-
validateGraph
public void validateGraph(Store store, String graphId, Schema schema, StoreProperties storeProperties, List<String> parentSchemaIds, String parentStorePropertiesId, Pair<Schema,StoreProperties> existingGraphPair)
- Overrides:
validateGraph
in classGraphDelegate
-
-