Class DocumentJspBean

  • All Implemented Interfaces:
    Serializable

    public class DocumentJspBean
    extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
    JspBean for document management
    See Also:
    Serialized Form
    • Constructor Detail

      • DocumentJspBean

        public DocumentJspBean()
        Constructor
    • Method Detail

      • getManageDocuments

        public String getManageDocuments​(javax.servlet.http.HttpServletRequest request)
        Gets the document management page
        Parameters:
        request - The HTTP request
        Returns:
        The document management page
      • getCreateDocument

        public String getCreateDocument​(javax.servlet.http.HttpServletRequest request)
        Gets the document creation page
        Parameters:
        request - The HTTP request
        Returns:
        The document creation page
      • doCreateDocument

        public String doCreateDocument​(javax.servlet.http.HttpServletRequest request)
        Perform the creation
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
      • getModifyDocument

        public String getModifyDocument​(javax.servlet.http.HttpServletRequest request)
        Gets the document modification page
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
      • doModifyDocument

        public String doModifyDocument​(javax.servlet.http.HttpServletRequest request)
        Perform the modification
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
      • deleteDocument

        public String deleteDocument​(javax.servlet.http.HttpServletRequest request)
        Confirm the deletion
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the confirmation
      • doDeleteDocument

        public String doDeleteDocument​(javax.servlet.http.HttpServletRequest request)
        Perform the deletion
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
      • doChangeState

        public String doChangeState​(javax.servlet.http.HttpServletRequest request)
        Perform the changing of state
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
      • doValidateDocument

        public String doValidateDocument​(javax.servlet.http.HttpServletRequest request)
        Perform the document validation
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
      • doConfirmArchiveDocument

        public String doConfirmArchiveDocument​(javax.servlet.http.HttpServletRequest request)
        Confirm the filing
        Parameters:
        request - The HTTP servlet Request
        Returns:
        The url of filing jsp
      • doRemoveSelection

        public String doRemoveSelection​(javax.servlet.http.HttpServletRequest request)
        Remove selection
        Parameters:
        request - The HTTP request
        Returns:
        The forward url
      • doArchiveSelection

        public String doArchiveSelection​(javax.servlet.http.HttpServletRequest request)
        Unpublish and archive selected documents
        Parameters:
        request - The Http request
        Returns:
        The URL to redirect to
      • doActionSelectionDocument

        public String doActionSelectionDocument​(javax.servlet.http.HttpServletRequest request)
        Processes document action for multiselection
        Parameters:
        request - The Http request
        Returns:
        The URL to redirect to
      • doArchiveDocument

        public String doArchiveDocument​(javax.servlet.http.HttpServletRequest request)
        Perform the document filing
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
      • doSearchDocumentById

        public String doSearchDocumentById​(javax.servlet.http.HttpServletRequest request)
        Perform a document search by Id
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
      • getPreviewDocument

        public String getPreviewDocument​(javax.servlet.http.HttpServletRequest request)
        Get the preview page
        Parameters:
        request - The HTTP request
        Returns:
        The preview page
      • getMoveDocument

        public String getMoveDocument​(javax.servlet.http.HttpServletRequest request)
        Perform the changing of space
        Parameters:
        request - The HTTP request
        Returns:
        The document move page
      • doMoveDocument

        public String doMoveDocument​(javax.servlet.http.HttpServletRequest request)
        Perform the document moving
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
      • getMassArchivalDocument

        public fr.paris.lutece.portal.web.pluginaction.IPluginActionResult getMassArchivalDocument​(javax.servlet.http.HttpServletRequest request)
        Gets the document creation page
        Parameters:
        request - The HTTP request
        Returns:
        The document creation page
      • doMassArchivalDocument

        public String doMassArchivalDocument​(javax.servlet.http.HttpServletRequest request)
                                      throws DocumentException
        Gets the document creation page
        Parameters:
        request - The HTTP request
        Returns:
        The document creation page
        Throws:
        DocumentException
      • getHomeUrl

        public String getHomeUrl​(javax.servlet.http.HttpServletRequest request)
        Overrides:
        getHomeUrl in class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
        Returns:
        Return the URL of the menu if the user come from the menu, of the URL of the main page of this feature if he comes from anywhere else
      • init

        public void init​(javax.servlet.http.HttpServletRequest request,
                         String strRight)
                  throws fr.paris.lutece.portal.service.admin.AccessDeniedException,
                         fr.paris.lutece.portal.service.admin.PasswordResetException
        Overrides:
        init in class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
        fr.paris.lutece.portal.service.admin.PasswordResetException