Class ReferentialAccessionRegisterImpl

  • All Implemented Interfaces:
    VitamAutoCloseable, java.lang.AutoCloseable

    public class ReferentialAccessionRegisterImpl
    extends java.lang.Object
    implements VitamAutoCloseable
    Referential Accession Register Implement
    • Method Detail

      • findAccessionRegisterSymbolic

        public java.util.List<AccessionRegisterSymbolic> findAccessionRegisterSymbolic​(com.fasterxml.jackson.databind.JsonNode queryDsl)
                                                                                throws ReferentialException
        Find the accession register symbolic filtered by the query dsl, if an empty query dsl is provided, the last 20 accession register symbolics will be returned.
        Parameters:
        queryDsl - that filter the accession register to find
        Returns:
        the list of accession register symbolic or an empty list
        Throws:
        ReferentialException
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface VitamAutoCloseable
      • findDocuments

        public RequestResponseOK<AccessionRegisterSummary> findDocuments​(com.fasterxml.jackson.databind.JsonNode select)
                                                                  throws ReferentialException
        search for an accession register's summary
        Parameters:
        select - the search criteria for the select operation
        Returns:
        A list of AccressionRegisterSummaries matching the 'select' criteria.
        Throws:
        ReferentialException - If the search's result is null or empty, or if the mongo search throw error
      • findDetail

        public RequestResponseOK<AccessionRegisterDetail> findDetail​(com.fasterxml.jackson.databind.JsonNode select)
                                                              throws ReferentialException
        search for an accession register's operation detail
        Parameters:
        select - the search criteria for the select operation
        Returns:
        A list of AccressionRegisterDetails matching the 'select' criteria.
        Throws:
        ReferentialException - If the search's result is null or empty, or if the mongo search throw error