|
||||||||||
| 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> |
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 |
findByIdSecure(java.lang.String id,
boolean exceptionIfNotFound)
find by id. |
AttributeDef |
findByIdSecure(java.lang.String id,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
find by id. |
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 |
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 -
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
AttributeDefNotFoundExceptionjava.util.Set<AttributeDef> findByStem(java.lang.String id)
id -
void delete(AttributeDef attributeDef)
attributeDef -
AttributeDef findByUuidOrName(java.lang.String id,
java.lang.String name,
boolean exceptionIfNotFound)
id - name - exceptionIfNotFound -
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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||