Class DocumentTypeInfoRepository
java.lang.Object
ro.sync.ecss.extensions.api.webapp.doctype.DocumentTypeInfoRepository
Class used to retrieve information about the registered document types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns information about all document types.Returns information about the document type with the given id.Finds all the .framework files that for some reason could not be loaded.static DocumentTypeInfoRepository
void
removeErrorDocumentType
(File frameworkDescriptor) Removes the errorDocumentType with the given descriptor path from the errors list.static void
setInstance
(DocumentTypeInfoRepository instance)
-
Constructor Details
-
DocumentTypeInfoRepository
public DocumentTypeInfoRepository()
-
-
Method Details
-
getInstance
- Returns:
- Returns the instance.
-
setInstance
- Parameters:
instance
- The instance to set.
-
getDocumentTypeInfo
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
Returns information about all document types.- Returns:
- Information about all document types.
-
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
Removes the errorDocumentType with the given descriptor path from the errors list.- Parameters:
frameworkDescriptor
- the .framework file.
-