Class AdminOntologyResource
- java.lang.Object
-
- fr.gouv.vitam.functional.administration.rest.AdminOntologyResource
-
@Path("/v1/admin") public class AdminOntologyResource extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADMIN_TENANT
-
Constructor Summary
Constructors Constructor Description AdminOntologyResource(OntologyResource ontologyResource, MongoDbAccessAdminImpl mongoDbAccess, FunctionalBackupService functionalBackupService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
checkOntologies(java.util.List<OntologyModel> ontologyModelList, javax.ws.rs.core.UriInfo uri)
javax.ws.rs.core.Response
findOntologies(com.fasterxml.jackson.databind.JsonNode queryDsl)
javax.ws.rs.core.Response
findOntologiesForCache(com.fasterxml.jackson.databind.JsonNode queryDsl)
javax.ws.rs.core.Response
importInternalOntologies(java.util.List<OntologyModel> ontologyModelList, javax.ws.rs.core.UriInfo uri)
-
-
-
Constructor Detail
-
AdminOntologyResource
public AdminOntologyResource(OntologyResource ontologyResource, MongoDbAccessAdminImpl mongoDbAccess, FunctionalBackupService functionalBackupService)
- Parameters:
ontologyResource
-
-
-
Method Detail
-
importInternalOntologies
@Path("/ontologies") @POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response importInternalOntologies(java.util.List<OntologyModel> ontologyModelList, @Context javax.ws.rs.core.UriInfo uri)
-
findOntologies
@Path("/ontologies") @GET @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response findOntologies(com.fasterxml.jackson.databind.JsonNode queryDsl)
-
findOntologiesForCache
@Path("/ontologies/cache") @GET @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response findOntologiesForCache(com.fasterxml.jackson.databind.JsonNode queryDsl)
-
checkOntologies
@Path("/ontologies/check") @POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response checkOntologies(java.util.List<OntologyModel> ontologyModelList, @Context javax.ws.rs.core.UriInfo uri)
-
-