Class AttributeDefScopeDelegate
java.lang.Object
edu.internet2.middleware.grouper.attr.AttributeDefScopeDelegate
delegate scope calls from attribute defs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddScope
(AttributeDefScopeType attributeDefScopeType, String scopeString, String scopeString2) assignOwnerAttributeDef
(AttributeDef attributeDef) adds scope if not already there make sure this attributeDef is to this attribute defassignOwnerGroup
(Group group) adds scope if not already there make sure this attributeDef is assigned to this groupassignOwnerMembership
(Membership membership) adds scope if not already there make sure this attributeDef is assigned directly in this stemassignOwnerNameEquals
(String name) adds scope if not already there make sure this attributeDef is assigned to something of a given nameassignOwnerSource
(Source source) adds scope if not already there make sure this attributeDef is assigned to members in this sourceassignOwnerStem
(Stem stem) adds scope if not already there make sure this attributeDef is assigned to this stemassignScope
(AttributeDefScopeType attributeDefScopeType, String scopeString, String scopeString2) adds scope if not already thereassignStemScope
(Stem stem) adds scope if not already there make sure this attributeDef is assigned directly in this stemassignStemSubScope
(Stem stem) adds scope if not already there make sure this attributeDef is assigned directly in this stemassignTypeDependence
(AttributeDefName attributeDefName) adds scope if not already there make sure this attributeDef is assigned directly in this stemassignTypeDependence
(AttributeDefName attributeDefName, String action) adds scope if not already there make sure this attributeDef is assigned to something that as another assignmentinternal_addScope
(AttributeDefScopeType attributeDefScopeType, String scopeString, String scopeString2, String uuid) removeScope
(AttributeDefScopeType attributeDefScopeType, String scopeString) remove all scopes with this type and scope stringremoveScope
(AttributeDefScopeType attributeDefScopeType, String scopeString, String scopeString2) remove all scopes with this type, scope string, and scope string2retrieveAttributeDefScope
(AttributeDefScopeType attributeDefScopeType, String scopeString, String scopeString2) find a scope and return it if there or null if notretrieveAttributeDefScopes
(QueryOptions queryOptions)
-
Constructor Details
-
AttributeDefScopeDelegate
- Parameters:
attributeDef1
-
-
-
Method Details
-
addScope
public AttributeDefScope addScope(AttributeDefScopeType attributeDefScopeType, String scopeString, String scopeString2) - Parameters:
attributeDefScopeType
-scopeString
-scopeString2
-- Returns:
- attribute assign
-
assignScope
public AttributeDefScope assignScope(AttributeDefScopeType attributeDefScopeType, String scopeString, String scopeString2) adds scope if not already there- Parameters:
attributeDefScopeType
-scopeString
-scopeString2
-- Returns:
- attribute assign
-
assignStemSubScope
adds scope if not already there make sure this attributeDef is assigned directly in this stem- Parameters:
stem
-- Returns:
- the attribute def scope
-
assignStemScope
adds scope if not already there make sure this attributeDef is assigned directly in this stem- Parameters:
stem
-- Returns:
- the attribute def scope
-
assignTypeDependence
adds scope if not already there make sure this attributeDef is assigned directly in this stem- Parameters:
attributeDefName
-- Returns:
- the attribute def scope
-
assignTypeDependence
adds scope if not already there make sure this attributeDef is assigned to something that as another assignment- Parameters:
attributeDefName
-action
-- Returns:
- the attribute def scope
-
assignOwnerNameEquals
adds scope if not already there make sure this attributeDef is assigned to something of a given name- Parameters:
name
-- Returns:
- the attribute def scope
-
assignOwnerGroup
adds scope if not already there make sure this attributeDef is assigned to this group- Parameters:
group
-- Returns:
- the attribute def scope
-
assignOwnerStem
adds scope if not already there make sure this attributeDef is assigned to this stem- Parameters:
stem
-- Returns:
- the attribute def scope
-
assignOwnerAttributeDef
adds scope if not already there make sure this attributeDef is to this attribute def- Parameters:
attributeDef
-- Returns:
- the attribute def scope
-
assignOwnerMembership
adds scope if not already there make sure this attributeDef is assigned directly in this stem- Parameters:
membership
-- Returns:
- the attribute def scope
-
assignOwnerSource
adds scope if not already there make sure this attributeDef is assigned to members in this source- Parameters:
source
-- Returns:
- the attribute def scope
-
removeScope
public Set<AttributeDefScope> removeScope(AttributeDefScopeType attributeDefScopeType, String scopeString) remove all scopes with this type and scope string- Parameters:
attributeDefScopeType
-scopeString
-- Returns:
- set of attribute def scopes removes
-
removeScope
public Set<AttributeDefScope> removeScope(AttributeDefScopeType attributeDefScopeType, String scopeString, String scopeString2) remove all scopes with this type, scope string, and scope string2- Parameters:
attributeDefScopeType
-scopeString
-scopeString2
-- Returns:
- set of attribute def scopes removes
-
internal_addScope
public AttributeDefScope internal_addScope(AttributeDefScopeType attributeDefScopeType, String scopeString, String scopeString2, String uuid) - Parameters:
attributeDefScopeType
-scopeString
-scopeString2
-uuid
- is uuid or null for generated- Returns:
- attribute assign
-
retrieveAttributeDefScope
public AttributeDefScope retrieveAttributeDefScope(AttributeDefScopeType attributeDefScopeType, String scopeString, String scopeString2) find a scope and return it if there or null if not- Parameters:
attributeDefScopeType
-scopeString
-scopeString2
-- Returns:
- the scope if there
-
retrieveAttributeDefScopes
- Returns:
- scopes (non null)
-
retrieveAttributeDefScopes
- Parameters:
queryOptions
-- Returns:
- scopes (non null)
-