Class TagJspBean

  • All Implemented Interfaces:
    java.io.Serializable

    @Controller(controllerJsp="ManageTags.jsp",
                controllerPath="jsp/admin/plugins/blog/",
                right="BLOG_MANAGEMENT")
    public class TagJspBean
    extends ManageBlogJspBean
    This class provides the user interface to manage Blog features ( manage, create, modify, remove )
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TagJspBean()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String doCreateTag​(javax.servlet.http.HttpServletRequest request)
      Process the data capture form of a new tag
      java.lang.String doModifyTag​(javax.servlet.http.HttpServletRequest request)
      Process the change form of a tag
      java.lang.String doRemoveTag​(javax.servlet.http.HttpServletRequest request)
      Handles the removal form of a tag
      java.lang.String getConfirmRemoveTag​(javax.servlet.http.HttpServletRequest request)
      Manages the removal form of a tag whose identifier is in the http request
      java.lang.String getCreateTag​(javax.servlet.http.HttpServletRequest request)
      Returns the form to create a tag
      java.lang.String getManageTags​(javax.servlet.http.HttpServletRequest request)
      Build the Manage View
      java.lang.String getModifyTag​(javax.servlet.http.HttpServletRequest request)
      Returns the form to update info about a tag
      • Methods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean

        processController
      • Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

        getPlugin, init
      • Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean

        getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TagJspBean

        public TagJspBean()
    • Method Detail

      • getManageTags

        @View(value="manageTags",
              defaultView=true)
        public java.lang.String getManageTags​(javax.servlet.http.HttpServletRequest request)
        Build the Manage View
        Parameters:
        request - The HTTP request
        Returns:
        The page
      • getCreateTag

        @View("createTag")
        public java.lang.String getCreateTag​(javax.servlet.http.HttpServletRequest request)
                                      throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Returns the form to create a tag
        Parameters:
        request - The Http request
        Returns:
        the html code of the tag form
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doCreateTag

        @Action("createTag")
        public java.lang.String doCreateTag​(javax.servlet.http.HttpServletRequest request)
        Process the data capture form of a new tag
        Parameters:
        request - The Http Request
        Returns:
        The Jsp URL of the process result
      • getConfirmRemoveTag

        @Action("confirmRemoveTag")
        public java.lang.String getConfirmRemoveTag​(javax.servlet.http.HttpServletRequest request)
                                             throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Manages the removal form of a tag whose identifier is in the http request
        Parameters:
        request - The Http request
        Returns:
        the html code to confirm
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doRemoveTag

        @Action("removeTag")
        public java.lang.String doRemoveTag​(javax.servlet.http.HttpServletRequest request)
        Handles the removal form of a tag
        Parameters:
        request - The Http request
        Returns:
        the jsp URL to display the form to manage tag
      • getModifyTag

        @View("modifyTag")
        public java.lang.String getModifyTag​(javax.servlet.http.HttpServletRequest request)
                                      throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Returns the form to update info about a tag
        Parameters:
        request - The Http request
        Returns:
        The HTML form to update info
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doModifyTag

        @Action("modifyTag")
        public java.lang.String doModifyTag​(javax.servlet.http.HttpServletRequest request)
        Process the change form of a tag
        Parameters:
        request - The Http request
        Returns:
        The Jsp URL of the process result