Class GuiResponseJs
java.lang.Object
edu.internet2.middleware.grouper.grouperUi.beans.json.GuiResponseJs
- All Implemented Interfaces:
Serializable
container object for the response back to screen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAction(GuiScreenAction guiScreenAction) add an action to the action listvoidaddHideShow(String name, GuiHideShow guiHideShow1) add a hide showvoidadd a pagerlist of actions for screenmessage on screen if session endedhide shows, the name, and if showing, text, etc.pagers keep track of which page and how many on a pagebooleanif this is an ajax file submit, we need to add textarea around response since it is submitted to a hidden framevoidprint this object to screenstatic GuiResponseJsretrieve or create the gui repsonse js objectvoidsetActions(List<GuiScreenAction> actions1) list of actions for screenvoidsetAddTextAreaTag(boolean addTextAreaTag1) if this is an ajax file submit, we need to add textarea around response since it is submitted to a hidden framevoidsetGuiAjaxSessionProblem(String guiAjaxSessionProblem1) message on screen if session endedvoidsetHideShows(Map<String, GuiHideShow> hideShows1) hide shows, the name, and if showing, text, etc.voidpagers keep track of which page and how many on a page
-
Constructor Details
-
GuiResponseJs
public GuiResponseJs()
-
-
Method Details
-
getGuiAjaxSessionProblem
message on screen if session ended- Returns:
- the guiAjaxSessionProblem
-
setGuiAjaxSessionProblem
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
add a hide show- Parameters:
name- of hideShowguiHideShow1-
-
addPager
add a pager- Parameters:
name- of pagerguiPaging1-
-
retrieveGuiResponseJs
retrieve or create the gui repsonse js object- Returns:
- the response
-
addAction
add an action to the action list- Parameters:
guiScreenAction-
-
getActions
list of actions for screen- Returns:
- the actions
-
setActions
list of actions for screen- Parameters:
actions1- the actions to set
-
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
-
setPagers
pagers keep track of which page and how many on a page
- Parameters:
pagers1- the pagers 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
-
getPagers
pagers keep track of which page and how many on a page
- Returns:
- the pagers
-