|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeDefDAO
attribute def data access methods
Method Summary | |
---|---|
void |
delete(AttributeDef attributeDef)
delete the attribute def |
java.util.Set<AttributeDef> |
findAllAttributeDefsSecure(java.lang.String scope,
boolean splitScope,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
java.lang.String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
java.util.Collection<java.lang.String> attributeDefIds)
do a query based on various params |
java.util.Set<AttributeDef> |
findAttributeDefsInStemWithoutPrivilege(GrouperSession grouperSession,
java.lang.String stemId,
Stem.Scope scope,
edu.internet2.middleware.subject.Subject subject,
Privilege privilege,
QueryOptions queryOptions,
boolean considerAllSubject,
java.lang.String sqlLikeString)
see which attributeDefs do not have this privilege |
AttributeDef |
findByAttributeDefNameIdSecure(java.lang.String attributeDefNameId,
boolean exceptionIfNotFound)
find by attributeDefNameId. |
AttributeDef |
findById(java.lang.String id,
boolean exceptionIfNotFound)
find by id. |
AttributeDef |
findById(java.lang.String id,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
find by id. |
AttributeDef |
findByIdIndex(java.lang.Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
|
AttributeDef |
findByIdIndexSecure(java.lang.Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
|
AttributeDef |
findByIdSecure(java.lang.String id,
boolean exceptionIfNotFound)
find by id. |
AttributeDef |
findByIdSecure(java.lang.String id,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
find by id. |
java.util.Set<AttributeDef> |
findByIdsSecure(java.util.Collection<java.lang.String> ids,
QueryOptions queryOptions)
find by ids secure |
AttributeDef |
findByNameSecure(java.lang.String name,
boolean exceptionIfNotFound)
find an attribute def by name. |
AttributeDef |
findByNameSecure(java.lang.String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
find an attribute def by name. |
java.util.Set<AttributeDef> |
findByStem(java.lang.String id)
Find all that have the given stem id. |
AttributeDef |
findByUuidOrName(java.lang.String id,
java.lang.String name,
boolean exceptionIfNotFound)
search for an attribute def by id or name |
AttributeDef |
findByUuidOrName(java.lang.String id,
java.lang.String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
search for an attribute def by id or name |
java.util.Set<AttributeDef> |
getAllAttributeDefsSecure(GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions)
get all attribute defs secure |
java.util.Set<AttributeDef> |
getAllAttributeDefsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions)
get all attribute defs secure |
java.util.Set<AttributeDef> |
getAllAttributeDefsSplitScopeSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.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 |
Method Detail |
---|
void saveOrUpdate(AttributeDef attributeDef)
attributeDef
- AttributeDef findByIdSecure(java.lang.String id, boolean exceptionIfNotFound)
id
- exceptionIfNotFound
-
java.util.Set<AttributeDef> findByIdsSecure(java.util.Collection<java.lang.String> ids, QueryOptions queryOptions)
ids
- queryOptions
-
AttributeDef findByIdSecure(java.lang.String id, boolean exceptionIfNotFound, QueryOptions queryOptions)
id
- exceptionIfNotFound
- queryOptions
-
AttributeDef findById(java.lang.String id, boolean exceptionIfNotFound)
id
- exceptionIfNotFound
-
AttributeDef findById(java.lang.String id, boolean exceptionIfNotFound, QueryOptions queryOptions)
id
- exceptionIfNotFound
- queryOptions
-
AttributeDef findByAttributeDefNameIdSecure(java.lang.String attributeDefNameId, boolean exceptionIfNotFound)
attributeDefNameId
- exceptionIfNotFound
-
AttributeDef findByNameSecure(java.lang.String name, boolean exceptionIfNotFound) throws GrouperDAOException, AttributeDefNotFoundException
name
- exceptionIfNotFound
-
GrouperDAOException
AttributeDefNotFoundException
AttributeDef findByNameSecure(java.lang.String name, boolean exceptionIfNotFound, QueryOptions queryOptions) throws GrouperDAOException, AttributeDefNotFoundException
name
- exceptionIfNotFound
- queryOptions
-
GrouperDAOException
AttributeDefNotFoundException
java.util.Set<AttributeDef> findByStem(java.lang.String id)
id
-
void delete(AttributeDef attributeDef)
attributeDef
- AttributeDef findByIdIndex(java.lang.Long idIndex, boolean exceptionIfNotFound, QueryOptions queryOptions) throws AttributeDefNotFoundException
idIndex
- exceptionIfNotFound
- queryOptions
-
AttributeDefNotFoundException
AttributeDef findByIdIndexSecure(java.lang.Long idIndex, boolean exceptionIfNotFound, QueryOptions queryOptions) throws AttributeDefNotFoundException
idIndex
- exceptionIfNotFound
- queryOptions
-
AttributeDefNotFoundException
AttributeDef findByUuidOrName(java.lang.String id, java.lang.String name, boolean exceptionIfNotFound)
id
- name
- exceptionIfNotFound
-
AttributeDef findByUuidOrName(java.lang.String id, java.lang.String name, boolean exceptionIfNotFound, QueryOptions queryOptions)
id
- name
- exceptionIfNotFound
- queryOptions
-
void saveUpdateProperties(AttributeDef attributeDef)
attributeDef
- java.util.Set<AttributeDef> getAllAttributeDefsSecure(GrouperSession grouperSession, edu.internet2.middleware.subject.Subject subject, java.util.Set<Privilege> privileges, QueryOptions queryOptions)
grouperSession
- subject
- privileges
- queryOptions
-
java.util.Set<AttributeDef> getAllAttributeDefsSecure(java.lang.String scope, GrouperSession grouperSession, edu.internet2.middleware.subject.Subject subject, java.util.Set<Privilege> privileges, QueryOptions queryOptions)
scope
- grouperSession
- subject
- privileges
- queryOptions
-
java.util.Set<AttributeDef> getAllAttributeDefsSplitScopeSecure(java.lang.String scope, GrouperSession grouperSession, edu.internet2.middleware.subject.Subject subject, java.util.Set<Privilege> privileges, QueryOptions queryOptions, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType)
scope
- grouperSession
- subject
- privileges
- queryOptions
- attributeAssignType
- attributeDefType
-
java.util.Set<AttributeDef> findAttributeDefsInStemWithoutPrivilege(GrouperSession grouperSession, java.lang.String stemId, Stem.Scope scope, edu.internet2.middleware.subject.Subject subject, Privilege privilege, QueryOptions queryOptions, boolean considerAllSubject, java.lang.String sqlLikeString)
grouperSession
- stemId
- scope
- subject
- privilege
- queryOptions
- considerAllSubject
- sqlLikeString
-
java.util.Set<AttributeDef> findAllAttributeDefsSecure(java.lang.String scope, boolean splitScope, edu.internet2.middleware.subject.Subject subject, java.util.Set<Privilege> privileges, QueryOptions queryOptions, java.lang.String parentStemId, Stem.Scope stemScope, boolean findByUuidOrName, java.util.Collection<java.lang.String> attributeDefIds)
scope
- splitScope
- subject
- privileges
- queryOptions
- parentStemId
- stemScope
- findByUuidOrName
- attributeDefIds
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |