Class AttributeDefContainer
java.lang.Object
edu.internet2.middleware.grouper.grouperUi.beans.ui.AttributeDefContainer
attribute definition container in new ui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactions associated with this attribute defget marker attribute def scopeinthow many failuresowners of this attribute defattributes assigned to this attribute def.gui attribute def from urlgui attribute def names e.g.search gui attribute def resultskeep track of the paging on the stem screenif we have a attribute def id to use for e.g.subjects and what privs they have on this stemgui paging for privileges, lazy load if nullinthow many successesbooleanif the logged in user can admin, lazy loadedbooleanif the logged in user can read, lazy loadedbooleanif can view privilege inheritancebooleanif the logged in user can update, lazy loadedbooleanif the logged in user can view, lazy loadedbooleanif entities get admin when added to a groupbooleanif entities get attrRead when added to a groupbooleanif entities get attrUpdate when added to a groupbooleanif entities get optin when added to a groupbooleanif entities get optout when added to a groupbooleanif entities get read when added to a groupbooleanif entities get update when added to a groupbooleanif entities get view when added to a groupbooleanif deletion of an attribute def is disallowed from the UIbooleanif the stem is a favorite for the logged in userbooleanif show add member on the folder privileges screenbooleanvoidsetAttributeAssignActions(Set<AttributeAssignAction> attributeAssignActions1) actions associated with this attribute defvoidsetAttributeDefScope(AttributeDefScope attributeDefScope) set marker attribute def scope.voidsetFailureCount(int failuresCount1) how many failuresvoidsetGuiAttributeAssignFinderResults(GuiAttributeAssignFinderResults guiAttributeAssignFinderResults) owners of this attribute defvoidsetGuiAttributeAssigns(Set<GuiAttributeAssign> guiAttributeAssigns) attributes assigned to this attribute def.voidsetGuiAttributeDef(GuiAttributeDef guiAttributeDef1) gui attribute def from urlvoidsetGuiAttributeDefNames(Set<GuiAttributeDefName> guiAttributeDefNames1) gui attribute def names e.g.voidsetGuiAttributeDefSearchResults(Set<GuiAttributeDef> guiAttributeDefSearchResults1) search gui attribute def resultsvoidsetGuiPaging(GuiPaging guiPaging1) gui pagingvoidsetObjectAttributeDefId(String objectAttributeDefId1) if we have attribute def id to use for e.g.voidsetPrivilegeGuiMembershipSubjectContainers(Set<GuiMembershipSubjectContainer> privilegeGuiMembershipSubjectContainers1) clear this out to requeryvoidsetPrivilegeGuiPaging(GuiPaging privilegeGuiPaging1) gui paging for privilegesvoidsetShowAddMember(boolean showAddMember1) if show add member on the folder privileges screenvoidsetShowAttributeDefMarkerSection(boolean showAttributeDefMarkerSection) voidsetSuccessCount(int successCount1) how many successes
-
Constructor Details
-
AttributeDefContainer
public AttributeDefContainer()
-
-
Method Details
-
isCanReadPrivilegeInheritance
public boolean isCanReadPrivilegeInheritance()if can view privilege inheritance- Returns:
- true if can
-
getAttributeAssignActions
actions associated with this attribute def- Returns:
-
setAttributeAssignActions
actions associated with this attribute def- Parameters:
attributeAssignActions1-
-
getGuiAttributeDefNames
gui attribute def names e.g. results for attribute def name list on attribute def tab- Returns:
- the guiAttributeDefNames
-
setGuiAttributeDefNames
gui attribute def names e.g. results for attribute def name list on attribute def tab- Parameters:
guiAttributeDefNames1- the guiAttributeDefNames to set
-
getGuiAttributeDefSearchResults
search gui attribute def results- Returns:
- the guiAttributeDefSearchResults
-
setGuiAttributeDefSearchResults
search gui attribute def results- Parameters:
guiAttributeDefSearchResults1- the guiAttributeDefSearchResults to set
-
getObjectAttributeDefId
if we have a attribute def id to use for e.g. create attribute def name- Returns:
- object attribute def id
-
setObjectAttributeDefId
if we have attribute def id to use for e.g. create attribute def name- Parameters:
objectStemId1-
-
getGuiAttributeDef
gui attribute def from url- Returns:
- gui attribute def
-
setGuiAttributeDef
gui attribute def from url- Parameters:
guiAttributeDef1-
-
isCanAdmin
public boolean isCanAdmin()if the logged in user can admin, lazy loaded- Returns:
- if can admin
-
isCanRead
public boolean isCanRead()if the logged in user can read, lazy loaded- Returns:
- if can read
-
isCanUpdate
public boolean isCanUpdate()if the logged in user can update, lazy loaded- Returns:
- if can update
-
isCanView
public boolean isCanView()if the logged in user can view, lazy loaded- Returns:
- if can view
-
isShowAddMember
public boolean isShowAddMember()if show add member on the folder privileges screen- Returns:
- the showAddMember
-
setShowAddMember
public void setShowAddMember(boolean showAddMember1) if show add member on the folder privileges screen- Parameters:
showAddMember1- the showAddMember to set
-
getGuiPaging
keep track of the paging on the stem screen- Returns:
- the paging object, init if not there...
-
setGuiPaging
gui paging- Parameters:
guiPaging1-
-
getPrivilegeGuiMembershipSubjectContainers
subjects and what privs they have on this stem- Returns:
- membership subject containers
-
setPrivilegeGuiMembershipSubjectContainers
public void setPrivilegeGuiMembershipSubjectContainers(Set<GuiMembershipSubjectContainer> privilegeGuiMembershipSubjectContainers1) clear this out to requery- Parameters:
privilegeGuiMembershipSubjectContainers1-
-
getFailureCount
public int getFailureCount()how many failures- Returns:
- failures
-
getSuccessCount
public int getSuccessCount()how many successes- Returns:
- successes
-
setFailureCount
public void setFailureCount(int failuresCount1) how many failures- Parameters:
failuresCount1-
-
setSuccessCount
public void setSuccessCount(int successCount1) how many successes- Parameters:
successCount1-
-
getPrivilegeGuiPaging
gui paging for privileges, lazy load if null- Returns:
- gui paging for privs
-
setPrivilegeGuiPaging
gui paging for privileges- Parameters:
privilegeGuiPaging1-
-
isFavorite
public boolean isFavorite()if the stem is a favorite for the logged in user- Returns:
- if favorite
-
isConfigDefaultAttributeDefsCreateGrantAllAdmin
public boolean isConfigDefaultAttributeDefsCreateGrantAllAdmin()if entities get admin when added to a group- Returns:
- true if entities get admin when added to a group
-
isConfigDefaultAttributeDefsCreateGrantAllAttrRead
public boolean isConfigDefaultAttributeDefsCreateGrantAllAttrRead()if entities get attrRead when added to a group- Returns:
- true if entities get attrRead when added to a group
-
isConfigDefaultAttributeDefsCreateGrantAllAttrUpdate
public boolean isConfigDefaultAttributeDefsCreateGrantAllAttrUpdate()if entities get attrUpdate when added to a group- Returns:
- true if entities get attrUpdate when added to a group
-
isConfigDefaultAttributeDefsCreateGrantAllOptin
public boolean isConfigDefaultAttributeDefsCreateGrantAllOptin()if entities get optin when added to a group- Returns:
- true if entities get optin when added to a group
-
isConfigDefaultAttributeDefsCreateGrantAllOptout
public boolean isConfigDefaultAttributeDefsCreateGrantAllOptout()if entities get optout when added to a group- Returns:
- true if entities get optout when added to a group
-
isConfigDefaultAttributeDefsCreateGrantAllRead
public boolean isConfigDefaultAttributeDefsCreateGrantAllRead()if entities get read when added to a group- Returns:
- true if entities get read when added to a group
-
isConfigDefaultAttributeDefsCreateGrantAllUpdate
public boolean isConfigDefaultAttributeDefsCreateGrantAllUpdate()if entities get update when added to a group- Returns:
- true if entities get update when added to a group
-
isConfigDefaultAttributeDefsCreateGrantAllView
public boolean isConfigDefaultAttributeDefsCreateGrantAllView()if entities get view when added to a group- Returns:
- true if entities get view when added to a group
-
getGuiAttributeAssigns
attributes assigned to this attribute def.- Returns:
- attributes assigned to this attribute def.
-
setGuiAttributeAssigns
attributes assigned to this attribute def.- Parameters:
guiAttributeAssigns-
-
getGuiAttributeAssignFinderResults
owners of this attribute def- Returns:
-
setGuiAttributeAssignFinderResults
public void setGuiAttributeAssignFinderResults(GuiAttributeAssignFinderResults guiAttributeAssignFinderResults) owners of this attribute def- Parameters:
guiAttributeAssignFinderResults-
-
isConfigPreventUiDeletion
public boolean isConfigPreventUiDeletion()if deletion of an attribute def is disallowed from the UI- Returns:
- true if UI does not allow deleting of an attributeDef
-
setAttributeDefScope
set marker attribute def scope.- Parameters:
attributeDefScope-
-
getAttributeDefScope
get marker attribute def scope- Returns:
-
setShowAttributeDefMarkerSection
public void setShowAttributeDefMarkerSection(boolean showAttributeDefMarkerSection) -
isShowAttributeDefMarkerSection
public boolean isShowAttributeDefMarkerSection()
-