Class WebApplicationResourceDelete


  • @Path("/v1/api/delete")
    public class WebApplicationResourceDelete
    extends java.lang.Object
    Web Application Resource class for delete features
    • Method Detail

      • getMongoDbAccessAdmin

        public MongoDbAccess getMongoDbAccessAdmin()
        Get mongoDb access
        Returns:
        the mongoDb access
      • deleteFormat

        @Path("formats")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteFormat()
        Delete the referential format in the base
        Returns:
        Response
      • deleteRulesFile

        @Path("rules")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteRulesFile()
        Delete the referential rules in the base
        Returns:
        Response
      • deleteAccessionRegister

        @Path("accessionregisters")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteAccessionRegister()
        Delete the referential accession register in database
        Returns:
        Response
      • deleteLogbookOperation

        @Path("logbook/operation")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteLogbookOperation()
        Delete the logbook operation in database
        Returns:
        Response
      • deleteLogbookLifecycleOG

        @Path("logbook/lifecycle/objectgroup")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteLogbookLifecycleOG()
        Delete the logbook lifecyle for objectgroup in database
        Returns:
        Response
      • deleteLogbookLifecycleUnit

        @Path("logbook/lifecycle/unit")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteLogbookLifecycleUnit()
        Delete the logbook lifecycle for unit in database
        Returns:
        Response
      • deleteMetadataObjectGroup

        @Path("metadata/objectgroup")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteMetadataObjectGroup()
        Delete the metadata for objectgroup in database
        Returns:
        Response
      • deleteMetadataUnit

        @Path("metadata/unit")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteMetadataUnit()
        Delete the metadata for unit in database
        Returns:
        Response
      • deleteMasterdaAccessContract

        @Path("masterdata/accessContract")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteMasterdaAccessContract()
        Delete the masterdata for accessContract in database
        Returns:
        Response
      • deleteMasterdaIngestContract

        @Path("masterdata/ingestContract")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteMasterdaIngestContract()
        Delete the masterdata for ingestContract in database
        Returns:
        Response
      • deleteMasterdaManagementContract

        @Path("masterdata/managementContract")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteMasterdaManagementContract()
        Delete the masterdata for managementContract in database
        Returns:
        Response
      • deleteMasterdataProfile

        @Path("masterdata/profile")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteMasterdataProfile()
        Delete the masterdata for profile in database
        Returns:
        Response
      • deleteMasterdataArchiveUnitProfile

        @Path("masterdata/archiveUnitProfile")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteMasterdataArchiveUnitProfile()
        Delete the masterdata for archive unit profile in database
        Returns:
        Response
      • deleteMasterdataAgencies

        @Path("masterdata/agencies")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteMasterdataAgencies()
        Delete the masterdata for agencies in database
        Returns:
        Response
      • deleteMasterdataContext

        @Path("masterdata/context")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteMasterdataContext()
        Delete all entries for the context collection except the "admin" context
        Returns:
        Response
      • deleteMasterdataSecurityProfil

        @Path("masterdata/securityProfil")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteMasterdataSecurityProfil()
        Delete all entries for the context collection except the "admin" context
        Returns:
        Response
      • deleteAndImportOntologies

        @Path("masterdata/ontologies")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteAndImportOntologies​(@Context
                                                                   javax.servlet.http.HttpServletRequest request)
                                                            throws java.io.IOException
        Delete the EXTERNAL entries for the ontology collection and reimport the INTERNAL entries
        Returns:
        Response
        Throws:
        java.io.IOException
      • deleteGriffins

        @Path("masterdata/griffins")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteGriffins​(@Context
                                                        javax.servlet.http.HttpServletRequest request)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • deleteScenarios

        @Path("masterdata/scenarios")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteScenarios​(@Context
                                                         javax.servlet.http.HttpServletRequest request)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • purgeDataForTnr

        @Path("deleteTnr")
        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response purgeDataForTnr()
        Deprecated.
        Delete for tnr use only for tnr
      • deleteAll

        @DELETE
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteAll()
        Delete all collection in database
        Returns:
        Response