|
|||||||||
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 |
AttributeDef |
findByAttributeDefNameIdSecure(String attributeDefNameId,
boolean exceptionIfNotFound)
find by attributeDefNameId. |
AttributeDef |
findById(String id,
boolean exceptionIfNotFound)
find by id. |
AttributeDef |
findByIdSecure(String id,
boolean exceptionIfNotFound)
find by id. |
AttributeDef |
findByNameSecure(String name,
boolean exceptionIfNotFound)
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 |
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 |
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(String id, boolean exceptionIfNotFound)
id
- exceptionIfNotFound
-
AttributeDef findById(String id, boolean exceptionIfNotFound)
id
- exceptionIfNotFound
-
AttributeDef findByAttributeDefNameIdSecure(String attributeDefNameId, boolean exceptionIfNotFound)
attributeDefNameId
- exceptionIfNotFound
-
AttributeDef findByNameSecure(String name, boolean exceptionIfNotFound) throws GrouperDAOException, AttributeDefNotFoundException
name
- exceptionIfNotFound
-
GrouperDAOException
AttributeDefNotFoundException
Set<AttributeDef> findByStem(String id)
id
-
void delete(AttributeDef attributeDef)
attributeDef
- AttributeDef findByUuidOrName(String id, String name, boolean exceptionIfNotFound)
id
- name
- exceptionIfNotFound
-
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
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |