java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
fr.paris.lutece.plugins.mydashboard.modules.favorites.web.ManageCategoriesJspBean
fr.paris.lutece.plugins.mydashboard.modules.favorites.web.CategoryJspBean
All Implemented Interfaces:
Serializable

@Controller(controllerJsp="ManageCategories.jsp", controllerPath="jsp/admin/plugins/mydashboard/modules/favorites/", right="CATEGORIES_MANAGEMENT") public class CategoryJspBean extends ManageCategoriesJspBean
This class provides the user interface to manage Category features ( manage, create, modify, remove )
See Also:
  • Field Summary

    Fields inherited from class fr.paris.lutece.plugins.mydashboard.modules.favorites.web.ManageCategoriesJspBean

    RIGHT_MANAGEFAVORITES
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doAssociateDemandTypeCategory(javax.servlet.http.HttpServletRequest request)
    Handles the removal association between demand type and category
    doAssociateFavoriteCategory(javax.servlet.http.HttpServletRequest request)
    Handles the removal association between favorite and category
    doCreateCategory(javax.servlet.http.HttpServletRequest request)
    Process the data capture form of a new category
    doModifyCategory(javax.servlet.http.HttpServletRequest request)
    Process the change form of a category
    doRemoveAssociatedDemandType(javax.servlet.http.HttpServletRequest request)
    Handles the removal association between demand type and category
    doRemoveAssociatedFavorite(javax.servlet.http.HttpServletRequest request)
    Handles the removal association between favorite and category
    doRemoveCategory(javax.servlet.http.HttpServletRequest request)
    Handles the removal form of a category
    getConfirmRemoveAssociatedDemandType(javax.servlet.http.HttpServletRequest request)
    Action to confirm the deletion of the association between the category and demand type
    getConfirmRemoveAssociatedFavorite(javax.servlet.http.HttpServletRequest request)
    Action to confirm the deletion of the association between the category and the favorite
    getConfirmRemoveCategory(javax.servlet.http.HttpServletRequest request)
    Manages the removal form of a category whose identifier is in the http request
    getCreateCategory(javax.servlet.http.HttpServletRequest request)
    Returns the form to create a category
    getManageCategories(javax.servlet.http.HttpServletRequest request)
    Build the Manage View
    getModifyCategory(javax.servlet.http.HttpServletRequest request)
    Returns the form to update info about a category

    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 Details

    • CategoryJspBean

      public CategoryJspBean()
  • Method Details

    • getManageCategories

      @View(value="manageCategories", defaultView=true) public String getManageCategories(javax.servlet.http.HttpServletRequest request)
      Build the Manage View
      Parameters:
      request - The HTTP request
      Returns:
      The page
    • getCreateCategory

      @View("createCategory") public String getCreateCategory(javax.servlet.http.HttpServletRequest request)
      Returns the form to create a category
      Parameters:
      request - The Http request
      Returns:
      the html code of the category form
    • doCreateCategory

      @Action("createCategory") public String doCreateCategory(javax.servlet.http.HttpServletRequest request)
      Process the data capture form of a new category
      Parameters:
      request - The Http Request
      Returns:
      The Jsp URL of the process result
    • getConfirmRemoveCategory

      @Action("confirmRemoveCategory") public String getConfirmRemoveCategory(javax.servlet.http.HttpServletRequest request)
      Manages the removal form of a category whose identifier is in the http request
      Parameters:
      request - The Http request
      Returns:
      the html code to confirm
    • doRemoveCategory

      @Action("removeCategory") public String doRemoveCategory(javax.servlet.http.HttpServletRequest request)
      Handles the removal form of a category
      Parameters:
      request - The Http request
      Returns:
      the jsp URL to display the form to manage categories
    • getModifyCategory

      @View("modifyCategory") public String getModifyCategory(javax.servlet.http.HttpServletRequest request)
      Returns the form to update info about a category
      Parameters:
      request - The Http request
      Returns:
      The HTML form to update info
    • doModifyCategory

      @Action("modifyCategory") public String doModifyCategory(javax.servlet.http.HttpServletRequest request)
      Process the change form of a category
      Parameters:
      request - The Http request
      Returns:
      The Jsp URL of the process result
    • getConfirmRemoveAssociatedFavorite

      @Action("confirmRemoveAssociatedFavorite") public String getConfirmRemoveAssociatedFavorite(javax.servlet.http.HttpServletRequest request)
      Action to confirm the deletion of the association between the category and the favorite
      Parameters:
      request -
      Returns:
      XPage
    • doRemoveAssociatedFavorite

      @Action("removeAssociatedFavorite") public String doRemoveAssociatedFavorite(javax.servlet.http.HttpServletRequest request)
      Handles the removal association between favorite and category
      Parameters:
      request - The Http request
      Returns:
      the jsp URL to display the form to remove association between favorites and categories
    • doAssociateFavoriteCategory

      @Action("associateFavoriteCategory") public String doAssociateFavoriteCategory(javax.servlet.http.HttpServletRequest request)
      Handles the removal association between favorite and category
      Parameters:
      request - The Http request
      Returns:
      the jsp URL to display the form to remove association between favorites and categories
    • getConfirmRemoveAssociatedDemandType

      @Action("confirmRemoveAssociatedDemandType") public String getConfirmRemoveAssociatedDemandType(javax.servlet.http.HttpServletRequest request)
      Action to confirm the deletion of the association between the category and demand type
      Parameters:
      request -
      Returns:
      XPage
    • doRemoveAssociatedDemandType

      @Action("removeAssociatedDemandType") public String doRemoveAssociatedDemandType(javax.servlet.http.HttpServletRequest request)
      Handles the removal association between demand type and category
      Parameters:
      request - The Http request
      Returns:
      the jsp URL to display the form to remove association between demand types and categories
    • doAssociateDemandTypeCategory

      @Action("associateDemandTypeCategory") public String doAssociateDemandTypeCategory(javax.servlet.http.HttpServletRequest request)
      Handles the removal association between demand type and category
      Parameters:
      request - The Http request
      Returns:
      the jsp URL to display the form to remove association between demand types and categories