public interface AttributeDefDAO extends GrouperDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(AttributeDef attributeDef)
delete the attribute def
|
Set<AttributeDef> |
findAllAttributeDefsFromNamesSecure(String scope,
boolean splitScope,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions,
String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
Collection<String> attributeDefNameIds)
do a query based on various params
|
Set<AttributeDef> |
findAllAttributeDefsSecure(String scope,
boolean splitScope,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions,
String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
Collection<String> attributeDefIds)
do a query based on various params
|
Set<AttributeDef> |
findAttributeDefsInStemWithoutPrivilege(GrouperSession grouperSession,
String stemId,
Stem.Scope scope,
Subject subject,
Privilege privilege,
QueryOptions queryOptions,
boolean considerAllSubject,
String sqlLikeString)
see which attributeDefs do not have this privilege
|
Set<AttributeDef> |
findAttributeDefsInStemWithPrivilege(GrouperSession grouperSession,
String stemId,
Stem.Scope scope,
Subject subject,
Privilege privilege,
QueryOptions queryOptions,
boolean considerAllSubject,
String sqlLikeString)
see which attributeDefs do not have this privilege
|
AttributeDef |
findByAttributeDefNameIdSecure(String attributeDefNameId,
boolean exceptionIfNotFound)
find by attributeDefNameId.
|
Set<AttributeDef> |
findByCreator(Member member)
find attribute defs by creator
|
AttributeDef |
findById(String id,
boolean exceptionIfNotFound)
find by id.
|
AttributeDef |
findById(String id,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
find by id.
|
AttributeDef |
findByIdIndex(Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions) |
AttributeDef |
findByIdIndexSecure(Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions) |
AttributeDef |
findByIdSecure(String id,
boolean exceptionIfNotFound)
find by id.
|
AttributeDef |
findByIdSecure(String id,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
find by id.
|
Set<AttributeDef> |
findByIdsSecure(Collection<String> ids,
QueryOptions queryOptions)
find by ids secure
|
AttributeDef |
findByName(String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
find an attribute def by name.
|
AttributeDef |
findByNameSecure(String name,
boolean exceptionIfNotFound)
find an attribute def by name.
|
AttributeDef |
findByNameSecure(String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
find an attribute def by name.
|
Set<AttributeDef> |
findByStem(String id)
Find all that have the given stem id.
|
AttributeDef |
findByUuidOrName(String id,
String name,
boolean exceptionIfNotFound)
search for an attribute def by id or name
|
AttributeDef |
findByUuidOrName(String id,
String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
search for an attribute def by id or name
|
Set<AttributeDef> |
getAllAttributeDefsSecure(GrouperSession grouperSession,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions)
get all attribute defs secure
|
Set<AttributeDef> |
getAllAttributeDefsSecure(String scope,
GrouperSession grouperSession,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions)
get all attribute defs secure
|
Set<AttributeDef> |
getAllAttributeDefsSplitScopeSecure(String scope,
GrouperSession grouperSession,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType)
get all attribute defs secure, split the scope by whitespace
|
void |
saveOrUpdate(AttributeDef attributeDef)
insert or update an attribute def object
|
void |
saveUpdateProperties(AttributeDef attributeDef)
save the update properties which are auto saved when business method is called
|
void saveOrUpdate(AttributeDef attributeDef)
attributeDef - AttributeDef findByIdSecure(String id, boolean exceptionIfNotFound)
id - exceptionIfNotFound - Set<AttributeDef> findByCreator(Member member)
member - Set<AttributeDef> findByIdsSecure(Collection<String> ids, QueryOptions queryOptions)
ids - queryOptions - AttributeDef findByIdSecure(String id, boolean exceptionIfNotFound, QueryOptions queryOptions)
id - exceptionIfNotFound - queryOptions - AttributeDef findById(String id, boolean exceptionIfNotFound)
id - exceptionIfNotFound - AttributeDef findById(String id, boolean exceptionIfNotFound, QueryOptions queryOptions)
id - exceptionIfNotFound - queryOptions - AttributeDef findByAttributeDefNameIdSecure(String attributeDefNameId, boolean exceptionIfNotFound)
attributeDefNameId - exceptionIfNotFound - AttributeDef findByNameSecure(String name, boolean exceptionIfNotFound) throws GrouperDAOException, AttributeDefNotFoundException
name - exceptionIfNotFound - GrouperDAOExceptionAttributeDefNotFoundExceptionAttributeDef findByNameSecure(String name, boolean exceptionIfNotFound, QueryOptions queryOptions) throws GrouperDAOException, AttributeDefNotFoundException
name - exceptionIfNotFound - queryOptions - GrouperDAOExceptionAttributeDefNotFoundExceptionAttributeDef findByName(String name, boolean exceptionIfNotFound, QueryOptions queryOptions) throws GrouperDAOException, AttributeDefNotFoundException
name - exceptionIfNotFound - queryOptions - GrouperDAOExceptionAttributeDefNotFoundExceptionSet<AttributeDef> findByStem(String id)
id - void delete(AttributeDef attributeDef)
attributeDef - AttributeDef findByIdIndex(Long idIndex, boolean exceptionIfNotFound, QueryOptions queryOptions) throws AttributeDefNotFoundException
idIndex - exceptionIfNotFound - queryOptions - AttributeDefNotFoundExceptionAttributeDef findByIdIndexSecure(Long idIndex, boolean exceptionIfNotFound, QueryOptions queryOptions) throws AttributeDefNotFoundException
idIndex - exceptionIfNotFound - queryOptions - AttributeDefNotFoundExceptionAttributeDef findByUuidOrName(String id, String name, boolean exceptionIfNotFound)
id - name - exceptionIfNotFound - AttributeDef findByUuidOrName(String id, String name, boolean exceptionIfNotFound, QueryOptions queryOptions)
id - name - exceptionIfNotFound - queryOptions - void saveUpdateProperties(AttributeDef attributeDef)
attributeDef - Set<AttributeDef> getAllAttributeDefsSecure(GrouperSession grouperSession, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions)
grouperSession - subject - privileges - queryOptions - Set<AttributeDef> getAllAttributeDefsSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions)
scope - grouperSession - subject - privileges - queryOptions - Set<AttributeDef> getAllAttributeDefsSplitScopeSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType)
scope - grouperSession - subject - privileges - queryOptions - attributeAssignType - attributeDefType - Set<AttributeDef> findAttributeDefsInStemWithoutPrivilege(GrouperSession grouperSession, String stemId, Stem.Scope scope, Subject subject, Privilege privilege, QueryOptions queryOptions, boolean considerAllSubject, String sqlLikeString)
grouperSession - stemId - scope - subject - privilege - queryOptions - considerAllSubject - sqlLikeString - Set<AttributeDef> findAllAttributeDefsSecure(String scope, boolean splitScope, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, String parentStemId, Stem.Scope stemScope, boolean findByUuidOrName, Collection<String> attributeDefIds)
scope - splitScope - subject - privileges - queryOptions - parentStemId - stemScope - findByUuidOrName - attributeDefIds - Set<AttributeDef> findAllAttributeDefsFromNamesSecure(String scope, boolean splitScope, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, String parentStemId, Stem.Scope stemScope, boolean findByUuidOrName, Collection<String> attributeDefNameIds)
scope - splitScope - subject - privileges - queryOptions - parentStemId - stemScope - findByUuidOrName - attributeDefNameIds - Set<AttributeDef> findAttributeDefsInStemWithPrivilege(GrouperSession grouperSession, String stemId, Stem.Scope scope, Subject subject, Privilege privilege, QueryOptions queryOptions, boolean considerAllSubject, String sqlLikeString)
grouperSession - stemId - scope - subject - privilege - queryOptions - considerAllSubject - sqlLikeString - Copyright © 2016 Internet2. All rights reserved.