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

public class AppState extends Object implements Serializable
AppState object comes from javascript on ajax requests
See Also:
  • Field Details

    • FIELD_HIDE_SHOWS

      public static final String FIELD_HIDE_SHOWS
      constant for field name for: hideShows
      See Also:
    • FIELD_INITTED

      public static final String FIELD_INITTED
      constant for field name for: initted
      See Also:
    • FIELD_INITTED_SIMPLE_MEMBERSHIP_UPDATE

      public static final String FIELD_INITTED_SIMPLE_MEMBERSHIP_UPDATE
      constant for field name for: inittedSimpleMembershipUpdate
      See Also:
    • FIELD_PAGERS

      public static final String FIELD_PAGERS
      constant for field name for: pagers
      See Also:
    • FIELD_URL_ARG_OBJECTS

      public static final String FIELD_URL_ARG_OBJECTS
      constant for field name for: urlArgObjects
      See Also:
    • FIELD_URL_IN_CACHE

      public static final String FIELD_URL_IN_CACHE
      constant for field name for: urlInCache
      See Also:
  • Constructor Details

    • AppState

      public AppState()
  • Method Details

    • getUrlArgObjectOrParam

      public String getUrlArgObjectOrParam(String name)
      get an app state object or param
      Parameters:
      name -
      Returns:
      the value
    • isInittedSimpleMembershipUpdate

      public boolean isInittedSimpleMembershipUpdate()
      if simple membership update is initted
      Returns:
      the inittedSimpleMembershipUpdate
    • setInittedSimpleMembershipUpdate

      public void setInittedSimpleMembershipUpdate(boolean inittedSimpleMembershipUpdate1)
      if simple membership update is initted
      Parameters:
      inittedSimpleMembershipUpdate1 - the inittedSimpleMembershipUpdate to set
    • getUrlArgObjectMap

      public Object getUrlArgObjectMap()
      placeholder since safari sends back this function return null
      Returns:
      url arg object map
    • setUrlArgObjectMap

      public void setUrlArgObjectMap(Object urlArgObjectMap)
      placeholder since safari sends back this function
      Parameters:
      urlArgObjectMap -
    • storeToRequest

      public void storeToRequest()
      store to request scope
    • retrieveFromRequest

      public static AppState retrieveFromRequest()
      retrieveFromRequest, must not be null
      Returns:
      the app state in request scope
    • isInitted

      public boolean isInitted()
      if the javascript is initted
      Returns:
      the initted
    • setInitted

      public void setInitted(boolean initted1)
      if the javascript is initted
      Parameters:
      initted1 - the initted to set
    • initRequest

      public void initRequest()
      init a request with app state (from browser)
    • getUrlInCache

      public String getUrlInCache()
      urlInCache
      Returns:
      the urlInCache
    • setUrlInCache

      public void setUrlInCache(String urlInCache1)
      urlInCache
      Parameters:
      urlInCache1 - the urlInCache 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
    • clone

      public AppState clone()
      deep clone the fields in this object
      Overrides:
      clone in class Object
    • 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
    • getPagers

      public Map<String,GuiPaging> getPagers()
       pagers keep track of which page and how many on a page
       
      Returns:
      the pagers
    • 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
    • getUrlArgObjects

      public Map<String,String> getUrlArgObjects()
      Returns:
      the urlArgObjects
    • setUrlArgObjects

      public void setUrlArgObjects(Map<String,String> urlArgObjects1)
      Parameters:
      urlArgObjects1 - the urlArgObjects to set