Class DocumentTypeService

java.lang.Object
fr.paris.lutece.plugins.document.service.DocumentTypeService

@ApplicationScoped @Named("document.DocumentTypeService") public class DocumentTypeService extends Object
  • Constructor Details

    • DocumentTypeService

      public DocumentTypeService()
      Creates a new instance of DocumentSpacesService
  • Method Details

    • getInstance

      @Deprecated(since="8.0", forRemoval=true) public static DocumentTypeService getInstance()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use @Inject to obtain the DocumentTypeService instance. This method will be removed in future versions.
      Returns the unique instance of the DocumentTypeService service.

      This method is deprecated and is provided for backward compatibility only. For new code, use dependency injection with @Inject to obtain the DocumentTypeService instance instead.

      Returns:
      The unique instance of DocumentTypeService.
    • getXmlDocumentTypesList

      public String getXmlDocumentTypesList()
      Gets document types list as an XML document
      Returns:
      An XML document containing document types