Class AppState
java.lang.Object
edu.internet2.middleware.grouper.grouperUi.beans.json.AppState
- All Implemented Interfaces:
Serializable
AppState object comes from javascript on ajax requests
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringconstant for field name for: hideShowsstatic final Stringconstant for field name for: inittedstatic final Stringconstant for field name for: inittedSimpleMembershipUpdatestatic final Stringconstant for field name for: pagersstatic final Stringconstant for field name for: urlArgObjectsstatic final Stringconstant for field name for: urlInCache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()deep clone the fields in this objecthide shows, the name, and if showing, text, etc.pagers keep track of which page and how many on a pageplaceholder since safari sends back this function return nullgetUrlArgObjectOrParam(String name) get an app state object or paramurlInCachevoidinit a request with app state (from browser)booleanif the javascript is inittedbooleanif simple membership update is inittedstatic AppStateretrieveFromRequest, must not be nullvoidsetHideShows(Map<String, GuiHideShow> hideShows1) hide shows, the name, and if showing, text, etc.voidsetInitted(boolean initted1) if the javascript is inittedvoidsetInittedSimpleMembershipUpdate(boolean inittedSimpleMembershipUpdate1) if simple membership update is inittedvoidpagers keep track of which page and how many on a pagevoidsetUrlArgObjectMap(Object urlArgObjectMap) placeholder since safari sends back this functionvoidsetUrlArgObjects(Map<String, String> urlArgObjects1) voidsetUrlInCache(String urlInCache1) urlInCachevoidstore to request scope
-
Field Details
-
FIELD_HIDE_SHOWS
constant for field name for: hideShows- See Also:
-
FIELD_INITTED
constant for field name for: initted- See Also:
-
FIELD_INITTED_SIMPLE_MEMBERSHIP_UPDATE
constant for field name for: inittedSimpleMembershipUpdate- See Also:
-
FIELD_PAGERS
constant for field name for: pagers- See Also:
-
FIELD_URL_ARG_OBJECTS
constant for field name for: urlArgObjects- See Also:
-
FIELD_URL_IN_CACHE
constant for field name for: urlInCache- See Also:
-
-
Constructor Details
-
AppState
public AppState()
-
-
Method Details
-
getUrlArgObjectOrParam
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
placeholder since safari sends back this function return null- Returns:
- url arg object map
-
setUrlArgObjectMap
placeholder since safari sends back this function- Parameters:
urlArgObjectMap-
-
storeToRequest
public void storeToRequest()store to request scope -
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
urlInCache- Returns:
- the urlInCache
-
setUrlInCache
urlInCache- Parameters:
urlInCache1- the urlInCache to set
-
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
deep clone the fields in this object -
setHideShows
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
pagers keep track of which page and how many on a page
- Returns:
- the pagers
-
setPagers
pagers keep track of which page and how many on a page
- Parameters:
pagers1- the pagers to set
-
getUrlArgObjects
- Returns:
- the urlArgObjects
-
setUrlArgObjects
- Parameters:
urlArgObjects1- the urlArgObjects to set
-