edu.internet2.middleware.grouper.attr
Class AttributeDefScopeDelegate

java.lang.Object
  extended by edu.internet2.middleware.grouper.attr.AttributeDefScopeDelegate

public class AttributeDefScopeDelegate
extends java.lang.Object

delegate scope calls from attribute defs


Constructor Summary
AttributeDefScopeDelegate(AttributeDef attributeDef1)
           
 
Method Summary
 AttributeDefScope addScope(AttributeDefScopeType attributeDefScopeType, java.lang.String scopeString, java.lang.String scopeString2)
           
 AttributeDefScope assignOwnerAttributeDef(AttributeDef attributeDef)
          make sure this attributeDef is assigned directly in this stem
 AttributeDefScope assignOwnerGroup(Group group)
          make sure this attributeDef is assigned directly in this stem
 AttributeDefScope assignOwnerMembership(Membership membership)
          make sure this attributeDef is assigned directly in this stem
 AttributeDefScope assignOwnerNameEquals(java.lang.String name)
          make sure this attributeDef is assigned directly in this stem
 AttributeDefScope assignOwnerSource(edu.internet2.middleware.subject.Source source)
          make sure this attributeDef is assigned directly in this stem
 AttributeDefScope assignOwnerStem(Stem stem)
          make sure this attributeDef is assigned directly in this stem
 AttributeDefScope assignScope(AttributeDefScopeType attributeDefScopeType, java.lang.String scopeString, java.lang.String scopeString2)
           
 AttributeDefScope assignStemScope(Stem stem)
          make sure this attributeDef is assigned directly in this stem
 AttributeDefScope assignStemSubScope(Stem stem)
          make sure this attributeDef is assigned directly in this stem
 AttributeDefScope assignTypeDependence(AttributeDefName attributeDefName)
          make sure this attributeDef is assigned directly in this stem
 AttributeDefScope assignTypeDependence(AttributeDefName attributeDefName, java.lang.String action)
          make sure this attributeDef is assigned directly in this stem
 AttributeDefScope internal_addScope(AttributeDefScopeType attributeDefScopeType, java.lang.String scopeString, java.lang.String scopeString2, java.lang.String uuid)
           
 java.util.Set<AttributeDefScope> removeScope(AttributeDefScopeType attributeDefScopeType, java.lang.String scopeString)
          remove all scopes with this type and scope string
 java.util.Set<AttributeDefScope> removeScope(AttributeDefScopeType attributeDefScopeType, java.lang.String scopeString, java.lang.String scopeString2)
          remove all scopes with this type, scope string, and scope string2
 AttributeDefScope retrieveAttributeDefScope(AttributeDefScopeType attributeDefScopeType, java.lang.String scopeString, java.lang.String scopeString2)
          find a scope and return it if there or null if not
 java.util.Set<AttributeDefScope> retrieveAttributeDefScopes()
           
 java.util.Set<AttributeDefScope> retrieveAttributeDefScopes(QueryOptions queryOptions)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeDefScopeDelegate

public AttributeDefScopeDelegate(AttributeDef attributeDef1)
Parameters:
attributeDef1 -
Method Detail

addScope

public AttributeDefScope addScope(AttributeDefScopeType attributeDefScopeType,
                                  java.lang.String scopeString,
                                  java.lang.String scopeString2)
Parameters:
attributeDefScopeType -
scopeString -
scopeString2 -
Returns:
attribute assign

assignScope

public AttributeDefScope assignScope(AttributeDefScopeType attributeDefScopeType,
                                     java.lang.String scopeString,
                                     java.lang.String scopeString2)
Parameters:
attributeDefScopeType -
scopeString -
scopeString2 -
Returns:
attribute assign

assignStemSubScope

public AttributeDefScope assignStemSubScope(Stem stem)
make sure this attributeDef is assigned directly in this stem

Parameters:
stem -
Returns:
the attribute def scope

assignStemScope

public AttributeDefScope assignStemScope(Stem stem)
make sure this attributeDef is assigned directly in this stem

Parameters:
stem -
Returns:
the attribute def scope

assignTypeDependence

public AttributeDefScope assignTypeDependence(AttributeDefName attributeDefName)
make sure this attributeDef is assigned directly in this stem

Parameters:
attributeDefName -
Returns:
the attribute def scope

assignTypeDependence

public AttributeDefScope assignTypeDependence(AttributeDefName attributeDefName,
                                              java.lang.String action)
make sure this attributeDef is assigned directly in this stem

Parameters:
attributeDefName -
action -
Returns:
the attribute def scope

assignOwnerNameEquals

public AttributeDefScope assignOwnerNameEquals(java.lang.String name)
make sure this attributeDef is assigned directly in this stem

Parameters:
name -
Returns:
the attribute def scope

assignOwnerGroup

public AttributeDefScope assignOwnerGroup(Group group)
make sure this attributeDef is assigned directly in this stem

Parameters:
group -
Returns:
the attribute def scope

assignOwnerStem

public AttributeDefScope assignOwnerStem(Stem stem)
make sure this attributeDef is assigned directly in this stem

Parameters:
stem -
Returns:
the attribute def scope

assignOwnerAttributeDef

public AttributeDefScope assignOwnerAttributeDef(AttributeDef attributeDef)
make sure this attributeDef is assigned directly in this stem

Parameters:
attributeDef -
Returns:
the attribute def scope

assignOwnerMembership

public AttributeDefScope assignOwnerMembership(Membership membership)
make sure this attributeDef is assigned directly in this stem

Parameters:
membership -
Returns:
the attribute def scope

assignOwnerSource

public AttributeDefScope assignOwnerSource(edu.internet2.middleware.subject.Source source)
make sure this attributeDef is assigned directly in this stem

Parameters:
source -
Returns:
the attribute def scope

removeScope

public java.util.Set<AttributeDefScope> removeScope(AttributeDefScopeType attributeDefScopeType,
                                                    java.lang.String scopeString)
remove all scopes with this type and scope string

Parameters:
attributeDefScopeType -
scopeString -
Returns:
set of attribute def scopes removes

removeScope

public java.util.Set<AttributeDefScope> removeScope(AttributeDefScopeType attributeDefScopeType,
                                                    java.lang.String scopeString,
                                                    java.lang.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,
                                           java.lang.String scopeString,
                                           java.lang.String scopeString2,
                                           java.lang.String uuid)
Parameters:
attributeDefScopeType -
scopeString -
scopeString2 -
uuid - is uuid or null for generated
Returns:
attribute assign

retrieveAttributeDefScope

public AttributeDefScope retrieveAttributeDefScope(AttributeDefScopeType attributeDefScopeType,
                                                   java.lang.String scopeString,
                                                   java.lang.String scopeString2)
find a scope and return it if there or null if not

Parameters:
attributeDefScopeType -
scopeString -
scopeString2 -
Returns:
the scope if there

retrieveAttributeDefScopes

public java.util.Set<AttributeDefScope> retrieveAttributeDefScopes()
Returns:
scopes (non null)

retrieveAttributeDefScopes

public java.util.Set<AttributeDefScope> retrieveAttributeDefScopes(QueryOptions queryOptions)
Parameters:
queryOptions -
Returns:
scopes (non null)