Class DocumentTypeJspBean

java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.plugins.document.web.DocumentTypeJspBean
All Implemented Interfaces:
Serializable

@SessionScoped @Named public class DocumentTypeJspBean extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
JSP Bean for document type management
See Also:
  • Field Details

  • Constructor Details

    • DocumentTypeJspBean

      public DocumentTypeJspBean()
  • Method Details

    • getManageDocumentTypes

      public String getManageDocumentTypes(jakarta.servlet.http.HttpServletRequest request)
      Gets the Document Types Management Page
      Parameters:
      request - The HTTP request
      Returns:
      The Document Types Management Page
    • getCreateDocumentType

      public String getCreateDocumentType(jakarta.servlet.http.HttpServletRequest request)
      Gets the document type creation page
      Parameters:
      request - The HTTP request
      Returns:
      The document type creation page
    • doCreateDocumentType

      public String doCreateDocumentType(jakarta.servlet.http.HttpServletRequest request)
      Perform the document type creation
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getModifyDocumentType

      public String getModifyDocumentType(jakarta.servlet.http.HttpServletRequest request)
      Gets the document type modification page
      Parameters:
      request - The HTTP request
      Returns:
      The document type modification page
    • doModifyDocumentType

      public String doModifyDocumentType(jakarta.servlet.http.HttpServletRequest request)
      Perform document type modification creation
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getAddAttribute

      public String getAddAttribute(jakarta.servlet.http.HttpServletRequest request)
      Gets ttribute creation page
      Parameters:
      request - The HTTP request
      Returns:
      the html template
    • doAddAttribute

      public String doAddAttribute(jakarta.servlet.http.HttpServletRequest request)
      Perform attribute creation
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doModifyAttribute

      public String doModifyAttribute(jakarta.servlet.http.HttpServletRequest request)
      Perform attribute modification
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getModifyAttribute

      public String getModifyAttribute(jakarta.servlet.http.HttpServletRequest request)
      Gets the modification page
      Parameters:
      request - The HTTP request
      Returns:
      The modification page
    • doConfirmDelete

      public String doConfirmDelete(jakarta.servlet.http.HttpServletRequest request)
      Confirm the deletion of a document type
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doDeleteDocumentType

      public String doDeleteDocumentType(jakarta.servlet.http.HttpServletRequest request)
      Perform the deletion of a document type
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doConfirmDeleteAttribute

      public String doConfirmDeleteAttribute(jakarta.servlet.http.HttpServletRequest request)
      Confirm the deletion of an attribute
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doDeleteAttribute

      public String doDeleteAttribute(jakarta.servlet.http.HttpServletRequest request)
      Perform the attribute deletion
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doAttributeMoveUp

      public String doAttributeMoveUp(jakarta.servlet.http.HttpServletRequest request)
      Perform the move up action
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doAttributeMoveDown

      public String doAttributeMoveDown(jakarta.servlet.http.HttpServletRequest request)
      Perform the move down action
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doLoadStyleSheets

      public String doLoadStyleSheets(jakarta.servlet.http.HttpServletRequest request)
      Save the uploaded Sytlesheets
      Parameters:
      request - The HttpServletRequest
      Returns:
      the home url
    • getStyleSheetFile

      public DocumentResource getStyleSheetFile(jakarta.servlet.http.HttpServletRequest request)
      Get the XSL specified in parameters
      Parameters:
      request - The HttpServletRequest
      Returns:
      A DocumentResource (name, content and contentType)
    • doInsertRegularExpression

      public String doInsertRegularExpression(jakarta.servlet.http.HttpServletRequest request)
      Inserts a regular expression in the attribute
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • doDeleteRegularExpression

      public String doDeleteRegularExpression(jakarta.servlet.http.HttpServletRequest request)
      Deletes a regular expression in the attribute
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action