Class DocumentTypeService
java.lang.Object
fr.paris.lutece.plugins.document.service.DocumentTypeService
@ApplicationScoped
@Named("document.DocumentTypeService")
public class DocumentTypeService
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentTypeServiceDeprecated, for removal: This API element is subject to removal in a future version.Gets document types list as an XML document
-
Constructor Details
-
DocumentTypeService
public DocumentTypeService()Creates a new instance of DocumentSpacesService
-
-
Method Details
-
getInstance
Deprecated, for removal: This API element is subject to removal in a future version.Use@Injectto obtain theDocumentTypeServiceinstance. This method will be removed in future versions.Returns the unique instance of theDocumentTypeServiceservice.This method is deprecated and is provided for backward compatibility only. For new code, use dependency injection with
@Injectto obtain theDocumentTypeServiceinstance instead.- Returns:
- The unique instance of
DocumentTypeService.
-
getXmlDocumentTypesList
Gets document types list as an XML document- Returns:
- An XML document containing document types
-
@Injectto obtain theDocumentTypeServiceinstance.