Class EntryJspBean

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.termofservice.web.EntryJspBean
All Implemented Interfaces:
Serializable

@RequestScoped @Named @Controller(controllerJsp="ManageEntrys.jsp", controllerPath="jsp/admin/plugins/termofservice/", right="TERMOFSERVICE_MANAGEMENT", securityTokenEnabled=true) public class EntryJspBean extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
This class provides the user interface to manage Entry features ( manage, create, modify, remove )
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doCreateEntry(@Valid Entry entry, fr.paris.lutece.portal.util.mvc.binding.BindingResult bindingResult, jakarta.servlet.http.HttpServletRequest request)
    Process the data capture form of a new entry
    doModifyEntry(@Valid Entry entry, fr.paris.lutece.portal.util.mvc.binding.BindingResult bindingResult, jakarta.servlet.http.HttpServletRequest request)
    Process the change form of a entry
    doPublishEntry(jakarta.servlet.http.HttpServletRequest request)
     
    doRemoveEntry(jakarta.servlet.http.HttpServletRequest request)
    Handles the removal form of a entry
    getConfirmRemoveEntry(jakarta.servlet.http.HttpServletRequest request)
    Manages the removal form of a entry whose identifier is in the http request
    getCreateEntry(jakarta.servlet.http.HttpServletRequest request)
    Returns the form to create a entry
    getManageEntrys(jakarta.servlet.http.HttpServletRequest request)
    Build the Manage View
    getModifyEntry(jakarta.servlet.http.HttpServletRequest request)
    Returns the form to update info about a entry

    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, getSecurityTokenService, 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

    • EntryJspBean

      public EntryJspBean()
  • Method Details

    • getManageEntrys

      @View(value="manageEntrys", defaultView=true) public String getManageEntrys(jakarta.servlet.http.HttpServletRequest request)
      Build the Manage View
      Parameters:
      request - The HTTP request
      Returns:
      The page
    • getCreateEntry

      @View("createEntry") public String getCreateEntry(jakarta.servlet.http.HttpServletRequest request)
      Returns the form to create a entry
      Parameters:
      request - The Http request
      Returns:
      the html code of the entry form
    • doCreateEntry

      @Action("createEntry") public String doCreateEntry(@Valid @Valid Entry entry, fr.paris.lutece.portal.util.mvc.binding.BindingResult bindingResult, jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new entry
      Parameters:
      request - The Http Request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException
    • getConfirmRemoveEntry

      @View(value="confirmRemoveEntry", securityTokenAction="removeEntry") public String getConfirmRemoveEntry(jakarta.servlet.http.HttpServletRequest request)
      Manages the removal form of a entry whose identifier is in the http request
      Parameters:
      request - The Http request
      Returns:
      the html code to confirm
    • doRemoveEntry

      @Action("removeEntry") public String doRemoveEntry(jakarta.servlet.http.HttpServletRequest request)
      Handles the removal form of a entry
      Parameters:
      request - The Http request
      Returns:
      the jsp URL to display the form to manage entrys
    • getModifyEntry

      @View("modifyEntry") public String getModifyEntry(jakarta.servlet.http.HttpServletRequest request)
      Returns the form to update info about a entry
      Parameters:
      request - The Http request
      Returns:
      The HTML form to update info
    • doModifyEntry

      @Action("modifyEntry") public String doModifyEntry(@Valid @Valid Entry entry, fr.paris.lutece.portal.util.mvc.binding.BindingResult bindingResult, jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the change form of a entry
      Parameters:
      request - The Http request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException
    • doPublishEntry

      @Action("publishEntry") public String doPublishEntry(jakarta.servlet.http.HttpServletRequest request)