edu.internet2.middleware.grouper.grouperUi.beans.json
Class AppState

java.lang.Object
  extended by 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:
Serialized Form

Constructor Summary
AppState()
           
 
Method Summary
 Map<String,GuiHideShow> getHideShows()
           hide shows, the name, and if showing, text, etc.
 Map<String,GuiPaging> getPagers()
           pagers keep track of which page and how many on a page
 Object getUrlArgObjectMap()
          placeholder since safari sends back this function return null
 String getUrlArgObjectOrParam(String name)
          get an app state object or param
 Map<String,String> getUrlArgObjects()
           
 String getUrlInCache()
          urlInCache
 void initRequest()
          init a request with app state (from browser)
 boolean isInitted()
          if the javascript is initted
 boolean isInittedSimpleMembershipUpdate()
          if simple membership update is initted
static AppState retrieveFromRequest()
          retrieveFromRequest, must not be null
 void setHideShows(Map<String,GuiHideShow> hideShows1)
           hide shows, the name, and if showing, text, etc.
 void setInitted(boolean initted1)
          if the javascript is initted
 void setInittedSimpleMembershipUpdate(boolean inittedSimpleMembershipUpdate1)
          if simple membership update is initted
 void setPagers(Map<String,GuiPaging> pagers1)
           pagers keep track of which page and how many on a page
 void setUrlArgObjectMap(Object urlArgObjectMap)
          placeholder since safari sends back this function
 void setUrlArgObjects(Map<String,String> urlArgObjects1)
           
 void setUrlInCache(String urlInCache1)
          urlInCache
 void storeToRequest()
          store to request scope
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppState

public AppState()
Method Detail

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

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