|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.grouper.attr.finder.AttributeDefFinder
public class AttributeDefFinder
finder methods for attribute def
| Constructor Summary | |
|---|---|
AttributeDefFinder()
|
|
| Method Summary | |
|---|---|
AttributeDefFinder |
addAttributeDefId(java.lang.String attributeDefId)
add a attribute def id to search for |
AttributeDefFinder |
addPrivilege(Privilege privilege)
add a privilege to filter by that the subject has on the attribute definition |
AttributeDefFinder |
assignAttributeDefIds(java.util.Collection<java.lang.String> theAttributeDefIds)
assign attributeDef ids to search for |
AttributeDefFinder |
assignFindByUuidOrName(boolean theFindByUuidOrName)
if we are looking up a attribute def, only look by uuid or name |
AttributeDefFinder |
assignParentStemId(java.lang.String theParentStemId)
parent or ancestor stem of the attribute def |
AttributeDefFinder |
assignPrivileges(java.util.Set<Privilege> thePrivileges)
assign privileges to filter by that the subject has on the attribute definition |
AttributeDefFinder |
assignQueryOptions(QueryOptions theQueryOptions)
if sorting, paging, caching, etc |
AttributeDefFinder |
assignScope(java.lang.String theScope)
scope to look for attribute defs Wildcards will be appended or percent is the wildcard |
AttributeDefFinder |
assignSplitScope(boolean theSplitScope)
if the scope has spaces in it, then split by whitespace, and find results that contain all of the scope strings |
AttributeDefFinder |
assignStemScope(Stem.Scope theStemScope)
if passing in a stem, this is the stem scope... |
AttributeDefFinder |
assignSubject(edu.internet2.middleware.subject.Subject theSubject)
this is the subject that has certain privileges or is in the service |
AttributeDef |
findAttribute()
find the attributeDef |
java.util.Set<AttributeDef> |
findAttributes()
find all the attribute defs |
static AttributeDef |
findByAttributeDefNameId(java.lang.String id,
boolean exceptionIfNull)
find an attributeDef by attribute def name id. |
static AttributeDef |
findById(java.lang.String id,
boolean exceptionIfNull)
find an attributeDef by id. |
static AttributeDef |
findById(java.lang.String id,
boolean exceptionIfNull,
QueryOptions queryOptions)
find an attributeDef by id. |
static AttributeDef |
findByIdIndexSecure(java.lang.Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
Find an attributeDef within the registry by ID index. |
static AttributeDef |
findByName(java.lang.String name,
boolean exceptionIfNull)
find an attributeDef by name. |
static AttributeDef |
findByName(java.lang.String name,
boolean exceptionIfNull,
QueryOptions queryOptions)
find an attributeDef by name. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeDefFinder()
| Method Detail |
|---|
public static AttributeDef findById(java.lang.String id,
boolean exceptionIfNull)
id - of attributeDefexceptionIfNull - true if exception should be thrown if null
AttributeDefNotFoundException
public static AttributeDef findById(java.lang.String id,
boolean exceptionIfNull,
QueryOptions queryOptions)
id - of attributeDefexceptionIfNull - true if exception should be thrown if nullqueryOptions -
AttributeDefNotFoundException
public static AttributeDef findByAttributeDefNameId(java.lang.String id,
boolean exceptionIfNull)
id - of attributeDefexceptionIfNull - true if exception should be thrown if null
AttributeDefNotFoundException
public static AttributeDef findByName(java.lang.String name,
boolean exceptionIfNull,
QueryOptions queryOptions)
name - of attributeDefexceptionIfNull - true if exception should be thrown if nullqueryOptions -
AttributeDefNotFoundException
public static AttributeDef findByName(java.lang.String name,
boolean exceptionIfNull)
name - of attributeDefexceptionIfNull - true if exception should be thrown if null
AttributeDefNotFoundException
public static AttributeDef findByIdIndexSecure(java.lang.Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
throws AttributeDefNotFoundException
idIndex - id index of attributeDef to find.exceptionIfNotFound - true if exception if not foundqueryOptions -
AttributeDef
AttributeDefNotFoundException - if not found an exceptionIfNotFound is truepublic AttributeDefFinder addPrivilege(Privilege privilege)
privilege - should be AttributeDefPrivilege
public AttributeDefFinder assignParentStemId(java.lang.String theParentStemId)
theParentStemId -
public AttributeDefFinder assignPrivileges(java.util.Set<Privilege> thePrivileges)
thePrivileges -
public AttributeDefFinder assignQueryOptions(QueryOptions theQueryOptions)
theQueryOptions -
public AttributeDefFinder assignScope(java.lang.String theScope)
theScope -
public AttributeDefFinder assignSplitScope(boolean theSplitScope)
theSplitScope -
public AttributeDefFinder assignStemScope(Stem.Scope theStemScope)
theStemScope -
public AttributeDefFinder assignSubject(edu.internet2.middleware.subject.Subject theSubject)
theSubject -
public java.util.Set<AttributeDef> findAttributes()
public AttributeDefFinder assignFindByUuidOrName(boolean theFindByUuidOrName)
theFindByUuidOrName -
public AttributeDef findAttribute()
public AttributeDefFinder addAttributeDefId(java.lang.String attributeDefId)
attributeDefId -
public AttributeDefFinder assignAttributeDefIds(java.util.Collection<java.lang.String> theAttributeDefIds)
theAttributeDefIds -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||