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

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

Author:
mchyzer
See Also:
Serialized Form

Constructor Summary
GuiResponseJs()
           
 
Method Summary
 void addAction(GuiScreenAction guiScreenAction)
          add an action to the action list
 void addHideShow(String name, GuiHideShow guiHideShow1)
          add a hide show
 void addPager(String name, GuiPaging guiPaging1)
          add a pager
 List<GuiScreenAction> getActions()
          list of actions for screen
 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
 boolean isAddTextAreaTag()
          if this is an ajax file submit, we need to add textarea around response since it is submitted to a hidden frame
 void printToScreen()
          print this object to screen
static GuiResponseJs retrieveGuiResponseJs()
          retrieve or create the gui repsonse js object
 void setActions(List<GuiScreenAction> actions1)
          list of actions for screen
 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
 void setHideShows(Map<String,GuiHideShow> hideShows1)
           hide shows, the name, and if showing, text, etc.
 void setPagers(Map<String,GuiPaging> pagers1)
           pagers keep track of which page and how many on a page
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuiResponseJs

public GuiResponseJs()
Method Detail

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