|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeDefDAO
public class Hib3AttributeDefDAO
Data Access Object for attribute def
Field Summary |
---|
Fields inherited from class edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO |
---|
hibernateInitted |
Constructor Summary | |
---|---|
Hib3AttributeDefDAO()
|
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> totalAttributeDefIds)
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)
not a secure method, find by id index |
AttributeDef |
findByIdIndexSecure(java.lang.Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
secure method, find by id index |
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 |
Methods inherited from class edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO |
---|
evict, evictEntity, evictQueries, getConfiguration, getSessionFactory, initHibernateIfNotInitted, resourceNameFromClassName, session |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Hib3AttributeDefDAO()
Method Detail |
---|
public AttributeDef findByIdSecure(java.lang.String id, boolean exceptionIfNotFound)
AttributeDefDAO
findByIdSecure
in interface AttributeDefDAO
AttributeDefDAO.findByIdSecure(java.lang.String, boolean)
public AttributeDef findByIdSecure(java.lang.String id, boolean exceptionIfNotFound, QueryOptions queryOptions)
AttributeDefDAO
findByIdSecure
in interface AttributeDefDAO
AttributeDefDAO.findByIdSecure(String, boolean, QueryOptions)
public AttributeDef findById(java.lang.String id, boolean exceptionIfNotFound)
AttributeDefDAO
findById
in interface AttributeDefDAO
AttributeDefDAO.findById(java.lang.String, boolean)
public AttributeDef findById(java.lang.String id, boolean exceptionIfNotFound, QueryOptions queryOptions)
AttributeDefDAO
findById
in interface AttributeDefDAO
AttributeDefDAO.findById(java.lang.String, boolean, QueryOptions)
public void saveOrUpdate(AttributeDef attributeDef)
AttributeDefDAO
saveOrUpdate
in interface AttributeDefDAO
AttributeDefDAO.saveOrUpdate(edu.internet2.middleware.grouper.attr.AttributeDef)
public AttributeDef findByNameSecure(java.lang.String name, boolean exceptionIfNotFound) throws GrouperDAOException, AttributeDefNotFoundException
AttributeDefDAO
findByNameSecure
in interface AttributeDefDAO
GrouperDAOException
AttributeDefNotFoundException
AttributeDefDAO.findByNameSecure(java.lang.String, boolean)
public AttributeDef findByNameSecure(java.lang.String name, boolean exceptionIfNotFound, QueryOptions queryOptions) throws GrouperDAOException, AttributeDefNotFoundException
AttributeDefDAO
findByNameSecure
in interface AttributeDefDAO
GrouperDAOException
AttributeDefNotFoundException
AttributeDefDAO.findByNameSecure(java.lang.String, boolean)
public AttributeDef findByAttributeDefNameIdSecure(java.lang.String attributeDefNameId, boolean exceptionIfNotFound)
AttributeDefDAO
findByAttributeDefNameIdSecure
in interface AttributeDefDAO
AttributeDefDAO.findByAttributeDefNameIdSecure(java.lang.String, boolean)
public java.util.Set<AttributeDef> findByStem(java.lang.String id)
AttributeDefDAO
findByStem
in interface AttributeDefDAO
AttributeDefDAO.findByStem(java.lang.String)
public AttributeDef findByUuidOrName(java.lang.String id, java.lang.String name, boolean exceptionIfNotFound)
AttributeDefDAO
findByUuidOrName
in interface AttributeDefDAO
AttributeDefDAO.findByUuidOrName(java.lang.String, java.lang.String, boolean)
public AttributeDef findByUuidOrName(java.lang.String id, java.lang.String name, boolean exceptionIfNotFound, QueryOptions queryOptions)
AttributeDefDAO
findByUuidOrName
in interface AttributeDefDAO
AttributeDefDAO.findByUuidOrName(java.lang.String, java.lang.String, boolean)
public void saveUpdateProperties(AttributeDef attributeDef)
AttributeDefDAO
saveUpdateProperties
in interface AttributeDefDAO
AttributeDefDAO.saveUpdateProperties(edu.internet2.middleware.grouper.attr.AttributeDef)
public void delete(AttributeDef attributeDef)
AttributeDefDAO
delete
in interface AttributeDefDAO
AttributeDefDAO.delete(edu.internet2.middleware.grouper.attr.AttributeDef)
public java.util.Set<AttributeDef> getAllAttributeDefsSecure(GrouperSession grouperSession, edu.internet2.middleware.subject.Subject subject, java.util.Set<Privilege> privileges, QueryOptions queryOptions)
AttributeDefDAO
getAllAttributeDefsSecure
in interface AttributeDefDAO
AttributeDefDAO.getAllAttributeDefsSecure(edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public java.util.Set<AttributeDef> getAllAttributeDefsSecure(java.lang.String scope, GrouperSession grouperSession, edu.internet2.middleware.subject.Subject subject, java.util.Set<Privilege> privileges, QueryOptions queryOptions)
AttributeDefDAO
getAllAttributeDefsSecure
in interface AttributeDefDAO
AttributeDefDAO.getAllAttributeDefsSecure(java.lang.String, edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public 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)
AttributeDefDAO
findAttributeDefsInStemWithoutPrivilege
in interface AttributeDefDAO
AttributeDefDAO#findAttributeDefsInStemWithoutPrivilege(GrouperSession, String, Scope, Subject, Privilege, QueryOptions, boolean, String)
public 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)
AttributeDefDAO
getAllAttributeDefsSplitScopeSecure
in interface AttributeDefDAO
AttributeDefDAO.getAllAttributeDefsSplitScopeSecure(String, GrouperSession, Subject, Set, QueryOptions, AttributeAssignType, AttributeDefType)
public AttributeDef findByIdIndex(java.lang.Long idIndex, boolean exceptionIfNotFound, QueryOptions queryOptions) throws AttributeDefNotFoundException
findByIdIndex
in interface AttributeDefDAO
AttributeDefNotFoundException
public AttributeDef findByIdIndexSecure(java.lang.Long idIndex, boolean exceptionIfNotFound, QueryOptions queryOptions) throws AttributeDefNotFoundException
findByIdIndexSecure
in interface AttributeDefDAO
AttributeDefNotFoundException
public java.util.Set<AttributeDef> findByIdsSecure(java.util.Collection<java.lang.String> ids, QueryOptions queryOptions)
AttributeDefDAO
findByIdsSecure
in interface AttributeDefDAO
AttributeDefDAO.findByIdsSecure(Collection, QueryOptions)
public 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> totalAttributeDefIds)
AttributeDefDAO
findAllAttributeDefsSecure
in interface AttributeDefDAO
AttributeDefDAO#findAllAttributeDefsSecure(String, boolean, Subject, Set, QueryOptions, String, Scope, boolean, Collection)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |