Class FavoriteJspBean

  • All Implemented Interfaces:
    java.io.Serializable

    @Controller(controllerJsp="ManageFavorites.jsp",
                controllerPath="jsp/admin/plugins/mydashboard/modules/favorites/",
                right="FAVORITES_MANAGEMENT")
    public class FavoriteJspBean
    extends ManageFavoritesJspBean
    This class provides the user interface to manage Favorite features ( manage, create, modify, remove )
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      FavoriteJspBean()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String doCreateFavorite​(javax.servlet.http.HttpServletRequest request)
      Process the data capture form of a new favorite
      java.lang.String doDeletePictogramme​(javax.servlet.http.HttpServletRequest request)  
      java.lang.String doImportFavorites​(javax.servlet.http.HttpServletRequest request)
      Process the import of the favorites
      java.lang.String doModifyFavorite​(javax.servlet.http.HttpServletRequest request)
      Process the change form of a favorite
      java.lang.String doRemoveFavorite​(javax.servlet.http.HttpServletRequest request)
      Handles the removal form of a favorite
      java.lang.String doToggleActivationFavorite​(javax.servlet.http.HttpServletRequest request)
      PROPERTY_PAGE_TITLE_MODIFY_FAVORITE Toggle the activation of a favorite
      java.lang.String getConfirmRemoveFavorite​(javax.servlet.http.HttpServletRequest request)
      Manages the removal form of a favorite whose identifier is in the http request
      java.lang.String getCreateFavorite​(javax.servlet.http.HttpServletRequest request)
      Returns the form to create a favorite
      java.lang.String getImportFavorites​(javax.servlet.http.HttpServletRequest request)
      Returns the form to import favorites from providers
      java.lang.String getManageFavorites​(javax.servlet.http.HttpServletRequest request)
      Build the Manage View
      java.lang.String getModifyFavorite​(javax.servlet.http.HttpServletRequest request)
      Returns the form to update info about a favorite
      • 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

      • FavoriteJspBean

        public FavoriteJspBean()
    • Method Detail

      • getManageFavorites

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

        @View("createFavorite")
        public java.lang.String getCreateFavorite​(javax.servlet.http.HttpServletRequest request)
        Returns the form to create a favorite
        Parameters:
        request - The Http request
        Returns:
        the html code of the favorite form
      • doCreateFavorite

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

        @Action("confirmRemoveFavorite")
        public java.lang.String getConfirmRemoveFavorite​(javax.servlet.http.HttpServletRequest request)
        Manages the removal form of a favorite whose identifier is in the http request
        Parameters:
        request - The Http request
        Returns:
        the html code to confirm
      • doRemoveFavorite

        @Action("removeFavorite")
        public java.lang.String doRemoveFavorite​(javax.servlet.http.HttpServletRequest request)
        Handles the removal form of a favorite
        Parameters:
        request - The Http request
        Returns:
        the jsp URL to display the form to manage favorites
      • getModifyFavorite

        @View("modifyFavorite")
        public java.lang.String getModifyFavorite​(javax.servlet.http.HttpServletRequest request)
        Returns the form to update info about a favorite
        Parameters:
        request - The Http request
        Returns:
        The HTML form to update info
      • doModifyFavorite

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

        @Action("toggleActivationFavorite")
        public java.lang.String doToggleActivationFavorite​(javax.servlet.http.HttpServletRequest request)
        PROPERTY_PAGE_TITLE_MODIFY_FAVORITE Toggle the activation of a favorite
        Parameters:
        request - The Http request
        Returns:
        The Jsp URL of the process result
      • getImportFavorites

        @View("importFavorites")
        public java.lang.String getImportFavorites​(javax.servlet.http.HttpServletRequest request)
        Returns the form to import favorites from providers
        Parameters:
        request - The Http request
        Returns:
        The HTML form to import providers
      • doImportFavorites

        @Action("importFavorites")
        public java.lang.String doImportFavorites​(javax.servlet.http.HttpServletRequest request)
        Process the import of the favorites
        Parameters:
        request - The Http request
        Returns:
        The Jsp URL of the process result
      • doDeletePictogramme

        @Action("deletePictogramme")
        public java.lang.String doDeletePictogramme​(javax.servlet.http.HttpServletRequest request)