|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AttributeDefNameDAO
attribute def name data access methods
| Method Summary | |
|---|---|
void |
delete(AttributeDefName attributeDefName)
delete this attribute def name |
java.util.Set<AttributeDefName> |
findAllAttributeNamesSecure(java.lang.String scope,
boolean splitScope,
GrouperSession grouperSession,
java.lang.String attributeDefId,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType)
get all attribute names secure, split the scope by whitespace |
java.util.Set<AttributeDefName> |
findAllAttributeNamesSecure(java.lang.String scope,
boolean splitScope,
GrouperSession grouperSession,
java.lang.String attributeDefId,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType,
ServiceRole serviceRole,
boolean anyServiceRole)
get all attribute names secure, split the scope by whitespace |
java.util.Set<AttributeDefName> |
findAllAttributeNamesSecure(java.lang.String scope,
boolean splitScope,
GrouperSession grouperSession,
java.lang.String attributeDefId,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType,
ServiceRole serviceRole,
boolean anyServiceRole,
java.lang.String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName)
get all attribute names secure, split the scope by whitespace |
java.util.Set<AttributeDefName> |
findAllAttributeNamesSecure(java.lang.String scope,
boolean splitScope,
GrouperSession grouperSession,
java.lang.String attributeDefId,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType,
ServiceRole serviceRole,
boolean anyServiceRole,
java.lang.String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
java.util.Set<java.lang.String> idsOfAttributeDefNames)
get all attribute names secure, split the scope by whitespace |
java.util.Set<AttributeDefName> |
findAllAttributeNamesSplitScopeSecure(java.lang.String scope,
GrouperSession grouperSession,
java.lang.String attributeDefId,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType)
get all attribute names secure, split the scope by whitespace |
java.util.Set<AttributeDefName> |
findAllSecure(java.lang.String searchField,
java.util.Set<java.lang.String> searchInAttributeDefIds,
QueryOptions queryOptions)
search for attributeDefName by name, display name, or description. |
java.util.Set<AttributeDefName> |
findByAttributeDef(java.lang.String id)
Find all that have the given attribute def id. |
java.util.Set<AttributeDefName> |
findByAttributeDefLike(java.lang.String attributeDefId,
java.lang.String likeString)
search for all by attribute def id, and like string |
AttributeDefName |
findById(java.lang.String id,
boolean exceptionIfNotFound)
|
AttributeDefName |
findByIdIndex(java.lang.Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
|
AttributeDefName |
findByIdIndexSecure(java.lang.Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
|
AttributeDefName |
findByIdSecure(java.lang.String id,
boolean exceptionIfNotFound)
|
java.util.Set<AttributeDefName> |
findByIdsSecure(java.util.Collection<java.lang.String> ids,
QueryOptions queryOptions)
find by ids secure |
AttributeDefName |
findByNameSecure(java.lang.String name,
boolean exceptionIfNotFound)
find an attribute def name by name |
AttributeDefName |
findByNameSecure(java.lang.String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
find an attribute def name by name |
java.util.Set<AttributeDefName> |
findByStem(java.lang.String id)
Find all that have the given stem id. |
AttributeDefName |
findByUuidOrName(java.lang.String id,
java.lang.String name,
boolean exceptionIfNotFound)
find a record by uuid or name |
AttributeDefName |
findByUuidOrName(java.lang.String id,
java.lang.String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
find a record by uuid or name |
AttributeDefName |
findLegacyAttributeByName(java.lang.String name,
boolean exceptionIfNull)
Returns legacy attribute that was either migrated or created in the new attribute framework. |
void |
saveOrUpdate(AttributeDefName attributeDefName)
insert or update an attribute def name object |
void |
saveUpdateProperties(AttributeDefName attributeDefName)
save the update properties which are auto saved when business method is called |
| Method Detail |
|---|
void saveOrUpdate(AttributeDefName attributeDefName)
attributeDefName -
java.util.Set<AttributeDefName> findByIdsSecure(java.util.Collection<java.lang.String> ids,
QueryOptions queryOptions)
ids - queryOptions -
AttributeDefName findByIdSecure(java.lang.String id,
boolean exceptionIfNotFound)
id - exceptionIfNotFound -
AttributeDefName findById(java.lang.String id,
boolean exceptionIfNotFound)
id - exceptionIfNotFound -
AttributeDefName findByNameSecure(java.lang.String name,
boolean exceptionIfNotFound)
throws GrouperDAOException,
AttributeDefNameNotFoundException
name - exceptionIfNotFound -
GrouperDAOException
AttributeDefNameNotFoundException
AttributeDefName findByNameSecure(java.lang.String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
throws GrouperDAOException,
AttributeDefNameNotFoundException
name - exceptionIfNotFound - queryOptions -
GrouperDAOException
AttributeDefNameNotFoundExceptionvoid delete(AttributeDefName attributeDefName)
attributeDefName - java.util.Set<AttributeDefName> findByStem(java.lang.String id)
id -
java.util.Set<AttributeDefName> findByAttributeDef(java.lang.String id)
id -
AttributeDefName findByUuidOrName(java.lang.String id,
java.lang.String name,
boolean exceptionIfNotFound)
id - name - exceptionIfNotFound -
AttributeDefName findByUuidOrName(java.lang.String id,
java.lang.String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
id - name - exceptionIfNotFound - queryOptions -
AttributeDefName findByIdIndex(java.lang.Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
throws AttributeDefNameNotFoundException
idIndex - exceptionIfNotFound - queryOptions -
AttributeDefNameNotFoundException
AttributeDefName findByIdIndexSecure(java.lang.Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
throws AttributeDefNameNotFoundException
idIndex - exceptionIfNotFound - queryOptions -
AttributeDefNameNotFoundExceptionvoid saveUpdateProperties(AttributeDefName attributeDefName)
attributeDefName -
java.util.Set<AttributeDefName> findAllSecure(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 -
java.util.Set<AttributeDefName> findByAttributeDefLike(java.lang.String attributeDefId,
java.lang.String likeString)
attributeDefId - likeString -
java.util.Set<AttributeDefName> findAllAttributeNamesSplitScopeSecure(java.lang.String scope,
GrouperSession grouperSession,
java.lang.String attributeDefId,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType)
scope - attributeDefId - optional if filtering by names in a certain attribute definitiongrouperSession - subject - privileges - queryOptions - attributeAssignType - attributeDefType -
java.util.Set<AttributeDefName> findAllAttributeNamesSecure(java.lang.String scope,
boolean splitScope,
GrouperSession grouperSession,
java.lang.String attributeDefId,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType)
scope - splitScope - attributeDefId - optional if filtering by names in a certain attribute definitiongrouperSession - subject - privileges - queryOptions - attributeAssignType - attributeDefType -
java.util.Set<AttributeDefName> findAllAttributeNamesSecure(java.lang.String scope,
boolean splitScope,
GrouperSession grouperSession,
java.lang.String attributeDefId,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType,
ServiceRole serviceRole,
boolean anyServiceRole)
scope - splitScope - attributeDefId - optional if filtering by names in a certain attribute definitiongrouperSession - subject - privileges - queryOptions - attributeAssignType - attributeDefType - anyServiceRole - will see if the user has any role in a service, and return those services
AttributeDefName findLegacyAttributeByName(java.lang.String name,
boolean exceptionIfNull)
name - the name of the legacy attribute (without prefix or path)exceptionIfNull -
java.util.Set<AttributeDefName> findAllAttributeNamesSecure(java.lang.String scope,
boolean splitScope,
GrouperSession grouperSession,
java.lang.String attributeDefId,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType,
ServiceRole serviceRole,
boolean anyServiceRole,
java.lang.String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName)
scope - splitScope - attributeDefId - optional if filtering by names in a certain attribute definitiongrouperSession - subject - privileges - queryOptions - attributeAssignType - attributeDefType - serviceRole - anyServiceRole - will see if the user has any role in a service, and return those servicesparentStemId - is the id of the parent or ancestor of the object returnedstemScope - is if the stem scope is ONE or SUBfindByUuidOrName - if looking for attribute def names by uuid or name
java.util.Set<AttributeDefName> findAllAttributeNamesSecure(java.lang.String scope,
boolean splitScope,
GrouperSession grouperSession,
java.lang.String attributeDefId,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType,
ServiceRole serviceRole,
boolean anyServiceRole,
java.lang.String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
java.util.Set<java.lang.String> idsOfAttributeDefNames)
scope - splitScope - attributeDefId - optional if filtering by names in a certain attribute definitiongrouperSession - subject - privileges - queryOptions - attributeAssignType - attributeDefType - serviceRole - anyServiceRole - will see if the user has any role in a service, and return those servicesparentStemId - is the id of the parent or ancestor of the object returnedstemScope - is if the stem scope is ONE or SUBfindByUuidOrName - if looking for attribute def names by uuid or nameidsOfAttributeDefNames - ids of attribute def names to lookup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||