Class DocumentTypeInfoRepository


  • @API(type=NOT_EXTENDABLE,
         src=PUBLIC)
    public class DocumentTypeInfoRepository
    extends java.lang.Object
    Class used to retrieve information about the registered document types.
    • Constructor Detail

      • DocumentTypeInfoRepository

        public DocumentTypeInfoRepository()
    • Method Detail

      • setInstance

        public static void setInstance​(DocumentTypeInfoRepository instance)
        Parameters:
        instance - The instance to set.
      • getDocumentTypeInfo

        public DocumentTypeInfo getDocumentTypeInfo​(java.lang.String id)
        Returns information about the document type with the given id.
        Parameters:
        id - The id of the document type.
        Returns:
        Information about the document type.
      • getAllDocumentTypeInfos

        public java.util.List<DocumentTypeInfo> getAllDocumentTypeInfos()
        Returns information about all document types.
        Returns:
        Information about all document types.
      • getErrorDocumentTypes

        public java.util.List<java.lang.String> getErrorDocumentTypes()
        Finds all the .framework files that for some reason could not be loaded.
        Returns:
        a list of all the .framework file that could not be loaded.
      • removeErrorDocumentType

        public void removeErrorDocumentType​(java.io.File frameworkDescriptor)
        Removes the errorDocumentType with the given descriptor path from the errors list.
        Parameters:
        frameworkDescriptor - the .framework file.