java.lang.Object
edu.internet2.middleware.grouper.grouperUi.beans.json.GuiResponseJs
All Implemented Interfaces:
Serializable

public class GuiResponseJs extends Object implements Serializable
container object for the response back to screen
See Also:
  • Constructor Details

    • GuiResponseJs

      public GuiResponseJs()
  • Method Details

    • getGuiAjaxSessionProblem

      public String getGuiAjaxSessionProblem()
      message on screen if session ended
      Returns:
      the guiAjaxSessionProblem
    • setGuiAjaxSessionProblem

      public void setGuiAjaxSessionProblem(String guiAjaxSessionProblem1)
      message on screen if session ended
      Parameters:
      guiAjaxSessionProblem1 - the guiAjaxSessionProblem to set
    • printToScreen

      public void printToScreen()
      print this object to screen
    • isAddTextAreaTag

      public boolean isAddTextAreaTag()
      if this is an ajax file submit, we need to add textarea around response since it is submitted to a hidden frame
      Returns:
      the addTextAreaTag
    • setAddTextAreaTag

      public void setAddTextAreaTag(boolean addTextAreaTag1)
      if this is an ajax file submit, we need to add textarea around response since it is submitted to a hidden frame
      Parameters:
      addTextAreaTag1 - the addTextAreaTag to set
    • addHideShow

      public void addHideShow(String name, GuiHideShow guiHideShow1)
      add a hide show
      Parameters:
      name - of hideShow
      guiHideShow1 -
    • addPager

      public void addPager(String name, GuiPaging guiPaging1)
      add a pager
      Parameters:
      name - of pager
      guiPaging1 -
    • retrieveGuiResponseJs

      public static GuiResponseJs retrieveGuiResponseJs()
      retrieve or create the gui repsonse js object
      Returns:
      the response
    • addAction

      public void addAction(GuiScreenAction guiScreenAction)
      add an action to the action list
      Parameters:
      guiScreenAction -
    • getActions

      public List<GuiScreenAction> getActions()
      list of actions for screen
      Returns:
      the actions
    • setActions

      public void setActions(List<GuiScreenAction> actions1)
      list of actions for screen
      Parameters:
      actions1 - the actions to set
    • setHideShows

      public void setHideShows(Map<String,GuiHideShow> hideShows1)
       hide shows, the name, and if showing, text, etc.  Anything with class:
       shows_hideShowName, e.g. shows_simpleMembershipAdvanced
       Anything with class: hides_hideShowName, e.g. hides_simpleMembershipAdvanced
       will show if false.
       
      Parameters:
      hideShows1 - the hideShows to set
    • setPagers

      public void setPagers(Map<String,GuiPaging> pagers1)
       pagers keep track of which page and how many on a page
       
      Parameters:
      pagers1 - the pagers to set
    • getHideShows

      public Map<String,GuiHideShow> getHideShows()
       hide shows, the name, and if showing, text, etc.  Anything with class:
       shows_hideShowName, e.g. shows_simpleMembershipAdvanced
       Anything with class: hides_hideShowName, e.g. hides_simpleMembershipAdvanced
       will show if false.
       
      Returns:
      the hideShows
    • getPagers

      public Map<String,GuiPaging> getPagers()
       pagers keep track of which page and how many on a page
       
      Returns:
      the pagers