Class GroupUpdateRequestContainer
java.lang.Object
edu.internet2.middleware.grouper.grouperUi.beans.groupUpdate.GroupUpdateRequestContainer
- All Implemented Interfaces:
Serializable
bean for simple group update. holds all state for this module
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroup we are editingadditional gui members to view or assigngui membersprivilege subject containersdirected graph nodes fromdirected graph nodes tostarting points in graphlist of roles implied by this rolelist of roles implied by this role immediatelylist of roles that imply this rolelist of roles that imply this role immediatelyif we should show the privilege headerbooleanif admin should be checked on edit jspbooleanif groupAttrRead should be checked on edit jspbooleanif groupAttrUpdate should be checked on edit jspbooleanif optin should be checked on edit jspbooleanif optout should be checked on edit jspbooleanif read should be checked on edit jspbooleanif update should be checked on edit jspbooleanif view should be checked on edit jspbooleanisCreate()if this is a create as opposed to updatebooleanif should show indirect privilegescalculate based on request object, and return list, unless it is already calculatedstatic GroupUpdateRequestContainerretrieveFromSession, cannot be nullvoidsetAllowAllAdmin(boolean editGroupAdmin1) if admin should be checked on edit jspvoidsetAllowAllGroupAttrRead(boolean editGroupAttrRead1) if groupAttrRead should be checked on edit jspvoidsetAllowAllGroupAttrUpdate(boolean editGroupAttrUpdate1) if groupAttrUpdate should be checked on edit jspvoidsetAllowAllOptin(boolean editGroupOptin1) if optin should be checked on edit jspvoidsetAllowAllOptout(boolean editGroupOptout1) if optout should be checked on edit jspvoidsetAllowAllRead(boolean editGroupRead1) if read should be checked on edit jspvoidsetAllowAllUpdate(boolean editGroupUpdate1) if update should be checked on edit jspvoidsetAllowAllView(boolean editGroupView1) if view should be checked on edit jspvoidsetCreate(boolean create1) if this is a create as opposed to updatevoidsetGroupToEdit(Group groupToEdit1) voidsetPrivilegeAdditionalGuiMembers(List<GuiMember> privilegeAdditionalGuiMembers1) additional gui members to view or assignvoidsetPrivilegeSubjectContainerGuiMembers(List<GuiMember> privilegeSubjectContainerGuiMembers1) gui membersvoidsetPrivilegeSubjectContainers(Set<PrivilegeSubjectContainer> privilegeSubjectContainers1) privilege subject containersvoidsetRoleGraphNodesFrom(List<String> attributeNameGraphNodesFrom1) directed graph nodes fromvoidsetRoleGraphNodesTo(List<String> attributeNameGraphNodesTo1) directed graph nodes tovoidsetRoleGraphStartingPoints(List<String> startingPoints1) starting points in graphvoidsetRolesImpliedBy(List<Role> rolesImpliedBy1) list of roles implied by this rolevoidsetRolesImpliedByImmediate(List<Role> rolesImpliedByImmediate1) list of roles implied by this role immediatelyvoidsetRolesThatImply(List<Role> rolesThatImply1) list of roles that imply this rolevoidsetRolesThatImplyImmediate(List<Role> rolesThatImplyImmediate1) list of roles that imply this role immediatelyvoidstore to session scope
-
Constructor Details
-
GroupUpdateRequestContainer
public GroupUpdateRequestContainer()
-
-
Method Details
-
getGroupToEdit
group we are editing- Returns:
- grouper
-
setGroupToEdit
- Parameters:
groupToEdit1-
-
storeToRequest
public void storeToRequest()store to session scope -
isCreate
public boolean isCreate()if this is a create as opposed to update- Returns:
- if create
-
setCreate
public void setCreate(boolean create1) if this is a create as opposed to update- Parameters:
create1-
-
isAllowAllAdmin
public boolean isAllowAllAdmin()if admin should be checked on edit jsp- Returns:
- the editGroupAdmin
-
isAllowAllOptin
public boolean isAllowAllOptin()if optin should be checked on edit jsp- Returns:
- the editGroupOptin
-
isAllowAllGroupAttrRead
public boolean isAllowAllGroupAttrRead()if groupAttrRead should be checked on edit jsp- Returns:
- the editGroupAttrRead
-
isAllowAllGroupAttrUpdate
public boolean isAllowAllGroupAttrUpdate()if groupAttrUpdate should be checked on edit jsp- Returns:
- the editGroupAttrUpdate
-
isAllowAllOptout
public boolean isAllowAllOptout()if optout should be checked on edit jsp- Returns:
- the editGroupOptout
-
isAllowAllRead
public boolean isAllowAllRead()if read should be checked on edit jsp- Returns:
- the editGroupRead
-
isAllowAllUpdate
public boolean isAllowAllUpdate()if update should be checked on edit jsp- Returns:
- the editGroupUpdate
-
isAllowAllView
public boolean isAllowAllView()if view should be checked on edit jsp- Returns:
- the editGroupView
-
setAllowAllAdmin
public void setAllowAllAdmin(boolean editGroupAdmin1) if admin should be checked on edit jsp- Parameters:
editGroupAdmin1- the editGroupAdmin to set
-
setAllowAllOptin
public void setAllowAllOptin(boolean editGroupOptin1) if optin should be checked on edit jsp- Parameters:
editGroupOptin1- the editGroupOptin to set
-
setAllowAllGroupAttrRead
public void setAllowAllGroupAttrRead(boolean editGroupAttrRead1) if groupAttrRead should be checked on edit jsp- Parameters:
editGroupAttrRead1- the editGroupAttrRead to set
-
setAllowAllGroupAttrUpdate
public void setAllowAllGroupAttrUpdate(boolean editGroupAttrUpdate1) if groupAttrUpdate should be checked on edit jsp- Parameters:
editGroupAttrUpdate1- the editGroupAttrUpdate to set
-
setAllowAllOptout
public void setAllowAllOptout(boolean editGroupOptout1) if optout should be checked on edit jsp- Parameters:
editGroupOptout1- the editGroupOptout to set
-
setAllowAllRead
public void setAllowAllRead(boolean editGroupRead1) if read should be checked on edit jsp- Parameters:
editGroupRead1- the editGroupRead to set
-
setAllowAllUpdate
public void setAllowAllUpdate(boolean editGroupUpdate1) if update should be checked on edit jsp- Parameters:
editGroupUpdate1- the editGroupUpdate to set
-
setAllowAllView
public void setAllowAllView(boolean editGroupView1) if view should be checked on edit jsp- Parameters:
editGroupView1- the editGroupView to set
-
getPrivilegeAdditionalGuiMembers
additional gui members to view or assign- Returns:
- additional gui members to view or assign
-
getPrivilegeSubjectContainerGuiMembers
gui members- Returns:
- gui members
-
getPrivilegeSubjectContainers
privilege subject containers- Returns:
- privilege subject containers
-
privilegeAdditionalGuiMembers
calculate based on request object, and return list, unless it is already calculated- Returns:
- the list
-
setPrivilegeAdditionalGuiMembers
additional gui members to view or assign- Parameters:
privilegeAdditionalGuiMembers1-
-
setPrivilegeSubjectContainerGuiMembers
public void setPrivilegeSubjectContainerGuiMembers(List<GuiMember> privilegeSubjectContainerGuiMembers1) gui members- Parameters:
privilegeSubjectContainerGuiMembers1-
-
setPrivilegeSubjectContainers
public void setPrivilegeSubjectContainers(Set<PrivilegeSubjectContainer> privilegeSubjectContainers1) privilege subject containers- Parameters:
privilegeSubjectContainers1-
-
isShowIndirectPrivilegesComputed
public boolean isShowIndirectPrivilegesComputed()if should show indirect privileges- Returns:
- true if should show
-
retrieveFromRequestOrCreate
retrieveFromSession, cannot be null- Returns:
- the app state in request scope
-
getShowPrivilegeHeader
if we should show the privilege header- Returns:
- if we should show the privilege header
-
getRolesImpliedBy
list of roles implied by this role- Returns:
- roles
-
getRolesImpliedByImmediate
list of roles implied by this role immediately- Returns:
- roles
-
getRolesThatImply
list of roles that imply this role- Returns:
- the roles
-
getRolesThatImplyImmediate
list of roles that imply this role immediately- Returns:
- roles
-
setRolesImpliedBy
list of roles implied by this role- Parameters:
rolesImpliedBy1-
-
setRolesImpliedByImmediate
list of roles implied by this role immediately- Parameters:
rolesImpliedByImmediate1-
-
setRolesThatImply
list of roles that imply this role- Parameters:
rolesThatImply1-
-
setRolesThatImplyImmediate
list of roles that imply this role immediately- Parameters:
rolesThatImplyImmediate1-
-
getRoleGraphNodesFrom
directed graph nodes from- Returns:
- directed graph nodes from
-
getRoleGraphNodesTo
directed graph nodes to- Returns:
- directed graph nodes to
-
getRoleGraphStartingPoints
starting points in graph- Returns:
- starting points in graph
-
setRoleGraphNodesFrom
directed graph nodes from- Parameters:
attributeNameGraphNodesFrom1-
-
setRoleGraphNodesTo
directed graph nodes to- Parameters:
attributeNameGraphNodesTo1-
-
setRoleGraphStartingPoints
starting points in graph- Parameters:
startingPoints1-
-