|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.grouper.attr.finder.AttributeDefNameFinder
public class AttributeDefNameFinder
finder methods for attribute def name. the chained API is secure based on the static grouper session
| Constructor Summary | |
|---|---|
AttributeDefNameFinder()
|
|
| Method Summary | |
|---|---|
AttributeDefNameFinder |
addIdOfAttributeDefName(java.lang.String theIdsOfAttributeDefName)
id of attribute def name |
AttributeDefNameFinder |
addPrivilege(Privilege privilege)
add a privilege to filter by that the subject has on the attribute definition |
AttributeDefNameFinder |
assignAnyRole(boolean theAnyRole)
mutually exclusive with serviceRole... this is true if looking for services where the user has any role |
AttributeDefNameFinder |
assignAttributeAssignType(AttributeAssignType theAttributeAssignType)
the type of assignment that the attributes can have |
AttributeDefNameFinder |
assignAttributeDefId(java.lang.String theAttributeDefId)
find attribute def names based on one attribute definition |
AttributeDefNameFinder |
assignFindByUuidOrName(boolean theFindByUuidOrName)
if we are looking up an attributedefname, only look by uuid or name |
AttributeDefNameFinder |
assignParentStemId(java.lang.String theParentStemId)
parent or ancestor stem of the attribute def |
AttributeDefNameFinder |
assignPrivileges(java.util.Set<Privilege> thePrivileges)
assign privileges to filter by that the subject has on the attribute definition |
AttributeDefNameFinder |
assignQueryOptions(QueryOptions theQueryOptions)
if sorting, paging, caching, etc |
AttributeDefNameFinder |
assignScope(java.lang.String theScope)
scope to look for attribute def names Wildcards will be appended or percent is the wildcard |
AttributeDefNameFinder |
assignServiceRole(ServiceRole theServiceRole)
if filtering by service, this is the service role, or null for all |
AttributeDefNameFinder |
assignSplitScope(boolean theSplitScope)
if the scope has spaces in it, then split by whitespace, and find results that contain all of the scope strings |
AttributeDefNameFinder |
assignStemScope(Stem.Scope theStemScope)
if passing in a stem, this is the stem scope... |
AttributeDefNameFinder |
assignSubject(edu.internet2.middleware.subject.Subject theSubject)
this is the subject that has certain privileges or is in the service |
static java.util.Set<AttributeDefName> |
findAll(java.lang.String searchField,
java.util.Set<java.lang.String> searchInAttributeDefIds,
QueryOptions queryOptions)
search for attributeDefName by name, display name, or description. |
AttributeDefName |
findAttributeName()
find the stem |
java.util.Set<AttributeDefName> |
findAttributeNames()
find all the attribute def names |
static AttributeDefName |
findById(java.lang.String id,
boolean exceptionIfNull)
find an attributeDefName by id. |
static AttributeDefName |
findByIdIndexSecure(java.lang.Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
Find an attributeDefName within the registry by ID index. |
static AttributeDefName |
findByName(java.lang.String name,
boolean exceptionIfNull)
find an attributeDefName by name. |
static AttributeDefName |
findByNameCache(java.lang.String name,
boolean exceptionIfNull)
find an attributeDefName by name. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeDefNameFinder()
| Method Detail |
|---|
public AttributeDefNameFinder addIdOfAttributeDefName(java.lang.String theIdsOfAttributeDefName)
theIdsOfAttributeDefName -
public AttributeDefNameFinder assignParentStemId(java.lang.String theParentStemId)
theParentStemId -
public AttributeDefNameFinder assignStemScope(Stem.Scope theStemScope)
theStemScope -
public AttributeDefNameFinder assignScope(java.lang.String theScope)
theScope -
public AttributeDefNameFinder assignAttributeDefId(java.lang.String theAttributeDefId)
theAttributeDefId -
public AttributeDefNameFinder assignServiceRole(ServiceRole theServiceRole)
theServiceRole -
public AttributeDefNameFinder assignSubject(edu.internet2.middleware.subject.Subject theSubject)
theSubject -
public AttributeDefNameFinder assignPrivileges(java.util.Set<Privilege> thePrivileges)
thePrivileges -
public AttributeDefNameFinder addPrivilege(Privilege privilege)
privilege - should be AttributeDefPrivilege
public AttributeDefNameFinder assignQueryOptions(QueryOptions theQueryOptions)
theQueryOptions -
public AttributeDefNameFinder assignSplitScope(boolean theSplitScope)
theSplitScope -
public AttributeDefNameFinder assignAttributeAssignType(AttributeAssignType theAttributeAssignType)
theAttributeAssignType -
public static AttributeDefName findById(java.lang.String id,
boolean exceptionIfNull)
id - of attributeDefNameexceptionIfNull - true if exception should be thrown if null
AttributeDefNameNotFoundExceptionpublic java.util.Set<AttributeDefName> findAttributeNames()
public AttributeDefNameFinder assignAnyRole(boolean theAnyRole)
theAnyRole -
public AttributeDefNameFinder assignFindByUuidOrName(boolean theFindByUuidOrName)
theFindByUuidOrName -
public AttributeDefName findAttributeName()
public static AttributeDefName findByIdIndexSecure(java.lang.Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
throws AttributeDefNameNotFoundException
idIndex - id index of attributeDefName to find.exceptionIfNotFound - true if exception if not foundqueryOptions -
AttributeDefName
AttributeDefNameNotFoundException - if not found an exceptionIfNotFound is true
public static AttributeDefName findByName(java.lang.String name,
boolean exceptionIfNull)
name - of attributeDefNameexceptionIfNull - true if exception should be thrown if null
AttributeDefNameNotFoundException
public static AttributeDefName findByNameCache(java.lang.String name,
boolean exceptionIfNull)
name - of attributeDefNameexceptionIfNull - true if exception should be thrown if null
AttributeDefNameNotFoundException
public static java.util.Set<AttributeDefName> findAll(java.lang.String searchField,
java.util.Set<java.lang.String> searchInAttributeDefIds,
QueryOptions queryOptions)
searchField - substring to search forsearchInAttributeDefIds - ids to search in or null for allqueryOptions -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||