public interface AttributeDefNameDAO extends GrouperDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(AttributeDefName attributeDefName)
delete this attribute def name
|
Set<AttributeDefName> |
findAllAttributeNamesSecure(String scope,
boolean splitScope,
GrouperSession grouperSession,
String attributeDefId,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType)
get all attribute names secure, split the scope by whitespace
|
Set<AttributeDefName> |
findAllAttributeNamesSecure(String scope,
boolean splitScope,
GrouperSession grouperSession,
String attributeDefId,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType,
ServiceRole serviceRole,
boolean anyServiceRole)
get all attribute names secure, split the scope by whitespace
|
Set<AttributeDefName> |
findAllAttributeNamesSecure(String scope,
boolean splitScope,
GrouperSession grouperSession,
String attributeDefId,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType,
ServiceRole serviceRole,
boolean anyServiceRole,
String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName)
get all attribute names secure, split the scope by whitespace
|
Set<AttributeDefName> |
findAllAttributeNamesSecure(String scope,
boolean splitScope,
GrouperSession grouperSession,
String attributeDefId,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType,
ServiceRole serviceRole,
boolean anyServiceRole,
String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
Set<String> idsOfAttributeDefNames)
get all attribute names secure, split the scope by whitespace
|
Set<AttributeDefName> |
findAllAttributeNamesSplitScopeSecure(String scope,
GrouperSession grouperSession,
String attributeDefId,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType)
get all attribute names secure, split the scope by whitespace
|
Set<AttributeDefName> |
findAllSecure(String searchField,
Set<String> searchInAttributeDefIds,
QueryOptions queryOptions)
search for attributeDefName by name, display name, or description.
|
Set<AttributeDefName> |
findByAttributeDef(String id)
Find all that have the given attribute def id.
|
Set<AttributeDefName> |
findByAttributeDefLike(String attributeDefId,
String likeString)
search for all by attribute def id, and like string
|
AttributeDefName |
findById(String id,
boolean exceptionIfNotFound) |
AttributeDefName |
findByIdIndex(Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions) |
AttributeDefName |
findByIdIndexSecure(Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions) |
AttributeDefName |
findByIdSecure(String id,
boolean exceptionIfNotFound) |
Set<AttributeDefName> |
findByIdsSecure(Collection<String> ids,
QueryOptions queryOptions)
find by ids secure
|
AttributeDefName |
findByNameSecure(String name,
boolean exceptionIfNotFound)
find an attribute def name by name
|
AttributeDefName |
findByNameSecure(String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
find an attribute def name by name
|
Set<AttributeDefName> |
findByStem(String id)
Find all that have the given stem id.
|
AttributeDefName |
findByUuidOrName(String id,
String name,
boolean exceptionIfNotFound)
find a record by uuid or name
|
AttributeDefName |
findByUuidOrName(String id,
String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
find a record by uuid or name
|
AttributeDefName |
findLegacyAttributeByName(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
|
void saveOrUpdate(AttributeDefName attributeDefName)
attributeDefName
- Set<AttributeDefName> findByIdsSecure(Collection<String> ids, QueryOptions queryOptions)
ids
- queryOptions
- AttributeDefName findByIdSecure(String id, boolean exceptionIfNotFound)
id
- exceptionIfNotFound
- AttributeDefName findById(String id, boolean exceptionIfNotFound)
id
- exceptionIfNotFound
- AttributeDefName findByNameSecure(String name, boolean exceptionIfNotFound) throws GrouperDAOException, AttributeDefNameNotFoundException
name
- exceptionIfNotFound
- GrouperDAOException
AttributeDefNameNotFoundException
AttributeDefName findByNameSecure(String name, boolean exceptionIfNotFound, QueryOptions queryOptions) throws GrouperDAOException, AttributeDefNameNotFoundException
name
- exceptionIfNotFound
- queryOptions
- GrouperDAOException
AttributeDefNameNotFoundException
void delete(AttributeDefName attributeDefName)
attributeDefName
- Set<AttributeDefName> findByStem(String id)
id
- Set<AttributeDefName> findByAttributeDef(String id)
id
- AttributeDefName findByUuidOrName(String id, String name, boolean exceptionIfNotFound)
id
- name
- exceptionIfNotFound
- AttributeDefName findByUuidOrName(String id, String name, boolean exceptionIfNotFound, QueryOptions queryOptions)
id
- name
- exceptionIfNotFound
- queryOptions
- AttributeDefName findByIdIndex(Long idIndex, boolean exceptionIfNotFound, QueryOptions queryOptions) throws AttributeDefNameNotFoundException
idIndex
- exceptionIfNotFound
- queryOptions
- AttributeDefNameNotFoundException
AttributeDefName findByIdIndexSecure(Long idIndex, boolean exceptionIfNotFound, QueryOptions queryOptions) throws AttributeDefNameNotFoundException
idIndex
- exceptionIfNotFound
- queryOptions
- AttributeDefNameNotFoundException
void saveUpdateProperties(AttributeDefName attributeDefName)
attributeDefName
- Set<AttributeDefName> findAllSecure(String searchField, Set<String> searchInAttributeDefIds, QueryOptions queryOptions)
searchField
- substring to search forsearchInAttributeDefIds
- ids to search in or null for allqueryOptions
- Set<AttributeDefName> findByAttributeDefLike(String attributeDefId, String likeString)
attributeDefId
- likeString
- Set<AttributeDefName> findAllAttributeNamesSplitScopeSecure(String scope, GrouperSession grouperSession, String attributeDefId, Subject subject, 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
- Set<AttributeDefName> findAllAttributeNamesSecure(String scope, boolean splitScope, GrouperSession grouperSession, String attributeDefId, Subject subject, 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
- Set<AttributeDefName> findAllAttributeNamesSecure(String scope, boolean splitScope, GrouperSession grouperSession, String attributeDefId, Subject subject, 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 servicesAttributeDefName findLegacyAttributeByName(String name, boolean exceptionIfNull)
name
- the name of the legacy attribute (without prefix or path)exceptionIfNull
- Set<AttributeDefName> findAllAttributeNamesSecure(String scope, boolean splitScope, GrouperSession grouperSession, String attributeDefId, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType, ServiceRole serviceRole, boolean anyServiceRole, 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 nameSet<AttributeDefName> findAllAttributeNamesSecure(String scope, boolean splitScope, GrouperSession grouperSession, String attributeDefId, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType, ServiceRole serviceRole, boolean anyServiceRole, String parentStemId, Stem.Scope stemScope, boolean findByUuidOrName, Set<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 lookupCopyright © 2016 Internet2. All rights reserved.