|
||||||||||
| 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.Hib3GroupDAO
public class Hib3GroupDAO
Basic Hibernate Group DAO interface.
| Field Summary |
|---|
| Fields inherited from class edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO |
|---|
hibernateInitted |
| Constructor Summary | |
|---|---|
Hib3GroupDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(Group _g)
|
boolean |
exists(java.lang.String uuid)
|
java.util.Set<Group> |
findAllByAnyApproximateAttr(java.lang.String val)
|
java.util.Set<Group> |
findAllByAnyApproximateAttr(java.lang.String val,
java.lang.String scope)
|
java.util.Set<Group> |
findAllByAnyApproximateAttr(java.lang.String val,
java.lang.String scope,
boolean secureQuery)
|
java.util.Set<Group> |
findAllByApproximateAlternateName(java.lang.String name)
Find groups using an approximate string for the alternate name. |
java.util.Set<Group> |
findAllByApproximateAlternateName(java.lang.String name,
java.lang.String scope)
Find groups using an approximate string for the alternate name. |
java.util.Set<Group> |
findAllByApproximateAttr(java.lang.String attr,
java.lang.String val)
Implementation Notes. |
java.util.Set<Group> |
findAllByApproximateAttr(java.lang.String attr,
java.lang.String val,
java.lang.String scope)
Implementation Notes. |
java.util.Set<Group> |
findAllByApproximateAttrSecure(java.lang.String attr,
java.lang.String val,
java.lang.String scope)
|
java.util.Set<Group> |
findAllByApproximateCurrentName(java.lang.String name)
Find groups using an approximate string for the current name, display name, extension, display extension. |
java.util.Set<Group> |
findAllByApproximateCurrentName(java.lang.String name,
java.lang.String scope)
Find groups using an approximate string for the current name, display name, extension, display extension. |
java.util.Set<Group> |
findAllByApproximateName(java.lang.String name)
Implementation Notes. |
java.util.Set<Group> |
findAllByApproximateName(java.lang.String name,
java.lang.String scope)
Implementation Notes. |
java.util.Set<Group> |
findAllByApproximateNameSecure(java.lang.String name,
java.lang.String scope,
QueryOptions queryOptions)
Implementation Notes. |
java.util.Set<Group> |
findAllByApproximateNameSecure(java.lang.String name,
java.lang.String scope,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
Implementation Notes. |
java.util.Set<Group> |
findAllByAttr(java.lang.String attr,
java.lang.String val)
Implementation Notes. |
java.util.Set<Group> |
findAllByAttr(java.lang.String attr,
java.lang.String val,
java.lang.String scope)
Implementation Notes. |
java.util.Set<Group> |
findAllByAttr(java.lang.String attr,
java.lang.String val,
java.lang.String scope,
boolean secureQuery)
|
java.util.Set<Group> |
findAllByCreatedAfter(java.util.Date d)
|
java.util.Set<Group> |
findAllByCreatedAfter(java.util.Date d,
java.lang.String scope)
|
java.util.Set<Group> |
findAllByCreatedBefore(java.util.Date d)
|
java.util.Set<Group> |
findAllByCreatedBefore(java.util.Date d,
java.lang.String scope)
|
java.util.Set<Group> |
findAllByLastMembershipAfter(java.util.Date d)
|
java.util.Set<Group> |
findAllByLastMembershipAfter(java.util.Date d,
java.lang.String scope)
|
java.util.Set<Group> |
findAllByLastMembershipBefore(java.util.Date d)
|
java.util.Set<Group> |
findAllByLastMembershipBefore(java.util.Date d,
java.lang.String scope)
|
java.util.Set<Group> |
findAllByModifiedAfter(java.util.Date d)
|
java.util.Set<Group> |
findAllByModifiedAfter(java.util.Date d,
java.lang.String scope)
|
java.util.Set<Group> |
findAllByModifiedBefore(java.util.Date d)
|
java.util.Set<Group> |
findAllByModifiedBefore(java.util.Date d,
java.lang.String scope)
|
java.util.Set<Group> |
findAllByType(GroupType _gt)
Note, this doesnt cache |
java.util.Set<Group> |
findAllByType(GroupType _gt,
QueryOptions queryOptions)
this caches |
java.util.Set<Group> |
findAllByType(GroupType _gt,
java.lang.String scope)
|
Group |
findByAlternateName(java.lang.String name,
boolean exceptionIfNotFound)
Find a group by its alternate name only. |
Group |
findByAttribute(java.lang.String attr,
java.lang.String val)
Deprecated. use overload |
Group |
findByAttribute(java.lang.String attr,
java.lang.String val,
boolean exceptionIfNotFound)
|
Group |
findByAttribute(java.lang.String attr,
java.lang.String val,
boolean exceptionIfNotFound,
boolean secureQuery)
|
java.util.Set<Group> |
findByCreatorOrModifier(Member member)
find groups by creator or modifier |
Group |
findByCurrentName(java.lang.String name,
boolean exceptionIfNotFound)
Find a group by its current name only. |
Group |
findByIdIndex(java.lang.Long idIndex,
boolean exceptionIfNotFound)
not a secure method, find by id index |
Group |
findByIdIndexSecure(java.lang.Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
find a group by id index |
Group |
findByName(java.lang.String name)
Deprecated. use overload |
Group |
findByName(java.lang.String name,
boolean exceptionIfNotFound)
|
Group |
findByName(java.lang.String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
|
Group |
findByName(java.lang.String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
|
Group |
findByNameSecure(java.lang.String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
|
Group |
findByNameSecure(java.lang.String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups,
java.util.Set<Privilege> inPrivSet)
|
java.util.Set<Group> |
findByNamesSecure(java.util.Collection<java.lang.String> names,
QueryOptions queryOptions)
|
java.util.Set<Group> |
findByNamesSecure(java.util.Collection<java.lang.String> names,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
|
Group |
findByUuid(java.lang.String uuid)
Deprecated. use overload |
Group |
findByUuid(java.lang.String uuid,
boolean exceptionIfNotFound)
|
Group |
findByUuid(java.lang.String uuid,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
|
Group |
findByUuid(java.lang.String uuid,
boolean exceptionIfNotFound,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
|
Group |
findByUuidOrName(java.lang.String uuid,
java.lang.String name,
boolean exceptionIfNull)
|
Group |
findByUuidOrName(java.lang.String uuid,
java.lang.String name,
boolean exceptionIfNull,
QueryOptions queryOptions)
|
java.util.Set<Group> |
findByUuids(java.util.Collection<java.lang.String> uuids,
boolean exceptionOnNotFound)
find all groups which have these uuids |
Group |
findByUuidSecure(java.lang.String uuid,
boolean exceptionIfNotFound,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
find by uuid secure |
java.util.Set<Group> |
findByUuidsSecure(java.util.Collection<java.lang.String> uuids,
QueryOptions queryOptions)
find by uuid secure |
java.util.Set<Group> |
findByUuidsSecure(java.util.Collection<java.lang.String> uuids,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
find by uuid secure |
java.util.Set<Group> |
findGroupsInStemWithoutPrivilege(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 groups do not have this privilege |
java.util.Set<Group> |
getAllGroups()
|
java.util.Set<Group> |
getAllGroups(java.lang.String scope)
|
java.util.Set<Group> |
getAllGroupsMembershipSecure(Field field,
java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
QueryOptions queryOptions,
java.lang.Boolean enabled,
MembershipType membershipType,
Stem stem,
Stem.Scope stemScope)
|
java.util.Set<Group> |
getAllGroupsMembershipSecure(GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean enabledOnly)
|
java.util.Set<Group> |
getAllGroupsMembershipSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean enabledOnly)
|
java.util.Set<Group> |
getAllGroupsMembershipSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean enabledOnly,
Stem stem,
Stem.Scope stemScope)
|
java.util.Set<Group> |
getAllGroupsSecure(GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
|
java.util.Set<Group> |
getAllGroupsSecure(GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
In this case, send in the attribute name to sort by (default is displayName). |
java.util.Set<Group> |
getAllGroupsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
|
java.util.Set<Group> |
getAllGroupsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
|
java.util.Set<Group> |
getAllGroupsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups,
boolean splitScope,
edu.internet2.middleware.subject.Subject membershipSubject,
Field field)
get all groups secure, split the scope by whitespace |
java.util.Set<Group> |
getAllGroupsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups,
boolean splitScope,
edu.internet2.middleware.subject.Subject membershipSubject,
Field field,
java.lang.String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
edu.internet2.middleware.subject.Subject subjectNotInGroup,
java.util.Collection<java.lang.String> groupIds,
java.util.Collection<java.lang.String> groupNames,
java.lang.Boolean compositeOwner)
get all groups secure, split the scope by whitespace |
java.util.Set<Group> |
getAllGroupsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups,
boolean splitScope,
edu.internet2.middleware.subject.Subject membershipSubject,
Field field,
java.lang.String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
edu.internet2.middleware.subject.Subject subjectNotInGroup,
java.util.Collection<java.lang.String> groupIds,
java.util.Collection<java.lang.String> groupNames,
java.lang.Boolean compositeOwner,
java.lang.String idOfAttributeDefName,
java.lang.Object attributeValue)
get all groups secure, split the scope by whitespace |
java.util.Set<Group> |
getAllGroupsSplitScopeSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
get all groups secure, split the scope by whitespace |
java.util.Set<Group> |
getAllGroupsSplitScopeSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
TypeOfGroup typeOfGroup)
get all groups secure, split the scope by whitespace |
java.util.Set<Group> |
getImmediateChildren(Stem stem)
|
java.util.Set<Group> |
getImmediateChildrenMembershipSecure(GrouperSession grouperSession,
Stem stem,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean enabledOnly)
get immediate children secure |
java.util.Set<Group> |
getImmediateChildrenSecure(GrouperSession grouperSession,
Stem stem,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
get immediate children secure |
java.util.Set<Group> |
getImmediateChildrenSecure(GrouperSession grouperSession,
Stem stem,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
get immediate children secure |
void |
putInExistsCache(java.lang.String uuid,
boolean exists)
put in cache |
void |
saveUpdateProperties(Group group)
save the update properties which are auto saved when business method is called |
void |
update(Group _g)
|
void |
updateLastImmediateMembershipChange(java.lang.String groupId)
|
void |
updateLastMembershipChange(java.lang.String groupId)
|
void |
updateLastMembershipChangeIncludeAncestorGroups(java.lang.String groupId)
This will update last_membership_change for group owners where group member in groupSet is the given groupId. |
| 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 Hib3GroupDAO()
| Method Detail |
|---|
public void putInExistsCache(java.lang.String uuid,
boolean exists)
putInExistsCache in interface GroupDAOuuid - exists -
public void delete(Group _g)
throws GrouperDAOException
delete in interface GroupDAO_g -
GrouperDAOException
public boolean exists(java.lang.String uuid)
throws GrouperDAOException
exists in interface GroupDAOuuid -
GrouperDAOException
public java.util.Set<Group> findAllByAnyApproximateAttr(java.lang.String val)
throws GrouperDAOException,
java.lang.IllegalStateException
findAllByAnyApproximateAttr in interface GroupDAOval -
GrouperDAOException
java.lang.IllegalStateException
public java.util.Set<Group> findAllByAnyApproximateAttr(java.lang.String val,
java.lang.String scope)
throws GrouperDAOException,
java.lang.IllegalStateException
findAllByAnyApproximateAttr in interface GroupDAOval - scope -
GrouperDAOException
java.lang.IllegalStateException
public java.util.Set<Group> findAllByAnyApproximateAttr(java.lang.String val,
java.lang.String scope,
boolean secureQuery)
throws GrouperDAOException,
java.lang.IllegalStateException
findAllByAnyApproximateAttr in interface GroupDAOval - scope - secureQuery -
GrouperDAOException
java.lang.IllegalStateException
public java.util.Set<Group> findAllByApproximateAttr(java.lang.String attr,
java.lang.String val)
throws GrouperDAOException,
java.lang.IllegalStateException
Implementation Notes.
findAllByApproximateAttr in interface GroupDAOGrouperDAOException
java.lang.IllegalStateExceptionGroupDAO.findAllByApproximateAttr(String, String)
public java.util.Set<Group> findAllByApproximateAttr(java.lang.String attr,
java.lang.String val,
java.lang.String scope)
throws GrouperDAOException,
java.lang.IllegalStateException
Implementation Notes.
findAllByApproximateAttr in interface GroupDAOGrouperDAOException
java.lang.IllegalStateExceptionGroupDAO.findAllByApproximateAttr(String, String, String)
public java.util.Set<Group> findAllByApproximateName(java.lang.String name)
throws GrouperDAOException
Implementation Notes.
findAllByApproximateName in interface GroupDAOGrouperDAOExceptionGroupDAO.findAllByApproximateName(String)
public java.util.Set<Group> findAllByApproximateName(java.lang.String name,
java.lang.String scope)
throws GrouperDAOException
Implementation Notes.
findAllByApproximateName in interface GroupDAOGrouperDAOExceptionGroupDAO.findAllByApproximateName(String, String)
public java.util.Set<Group> findAllByApproximateNameSecure(java.lang.String name,
java.lang.String scope,
QueryOptions queryOptions)
throws GrouperDAOException
Implementation Notes.
findAllByApproximateNameSecure in interface GroupDAOname - scope - queryOptions -
GrouperDAOExceptionGroupDAO.findAllByApproximateName(String, String)
public java.util.Set<Group> findAllByApproximateNameSecure(java.lang.String name,
java.lang.String scope,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
Implementation Notes.
findAllByApproximateNameSecure in interface GroupDAOname - scope - queryOptions - typeOfGroups -
GrouperDAOExceptionGroupDAO.findAllByApproximateName(String, String)
public java.util.Set<Group> findAllByApproximateCurrentName(java.lang.String name)
throws GrouperDAOException
findAllByApproximateCurrentName in interface GroupDAOname -
GrouperDAOException
public java.util.Set<Group> findAllByApproximateCurrentName(java.lang.String name,
java.lang.String scope)
throws GrouperDAOException
findAllByApproximateCurrentName in interface GroupDAOname - scope -
GrouperDAOException
public java.util.Set<Group> findAllByApproximateAlternateName(java.lang.String name)
throws GrouperDAOException
findAllByApproximateAlternateName in interface GroupDAOname -
GrouperDAOException
public java.util.Set<Group> findAllByApproximateAlternateName(java.lang.String name,
java.lang.String scope)
throws GrouperDAOException
findAllByApproximateAlternateName in interface GroupDAOname - scope -
GrouperDAOException
public java.util.Set<Group> findAllByCreatedAfter(java.util.Date d)
throws GrouperDAOException
findAllByCreatedAfter in interface GroupDAOd -
GrouperDAOException
public java.util.Set<Group> findAllByCreatedAfter(java.util.Date d,
java.lang.String scope)
findAllByCreatedAfter in interface GroupDAOd - scope -
GrouperDAOException
public java.util.Set<Group> findAllByCreatedBefore(java.util.Date d)
throws GrouperDAOException
findAllByCreatedBefore in interface GroupDAOd -
GrouperDAOException
public java.util.Set<Group> findAllByCreatedBefore(java.util.Date d,
java.lang.String scope)
throws GrouperDAOException
findAllByCreatedBefore in interface GroupDAOd - scope -
GrouperDAOException
public java.util.Set<Group> findAllByModifiedAfter(java.util.Date d)
throws GrouperDAOException
findAllByModifiedAfter in interface GroupDAOd -
GrouperDAOException
public java.util.Set<Group> findAllByModifiedAfter(java.util.Date d,
java.lang.String scope)
throws GrouperDAOException
findAllByModifiedAfter in interface GroupDAOd - scope -
GrouperDAOException
public java.util.Set<Group> findAllByModifiedBefore(java.util.Date d)
throws GrouperDAOException
findAllByModifiedBefore in interface GroupDAOd -
GrouperDAOException
public java.util.Set<Group> findAllByModifiedBefore(java.util.Date d,
java.lang.String scope)
throws GrouperDAOException
findAllByModifiedBefore in interface GroupDAOd - scope -
GrouperDAOException
public java.util.Set<Group> findAllByLastMembershipBefore(java.util.Date d)
throws GrouperDAOException
findAllByLastMembershipBefore in interface GroupDAOd -
GrouperDAOException
public java.util.Set<Group> findAllByLastMembershipBefore(java.util.Date d,
java.lang.String scope)
throws GrouperDAOException
findAllByLastMembershipBefore in interface GroupDAOd - scope -
GrouperDAOException
public java.util.Set<Group> findAllByLastMembershipAfter(java.util.Date d)
throws GrouperDAOException
findAllByLastMembershipAfter in interface GroupDAOd -
GrouperDAOException
public java.util.Set<Group> findAllByLastMembershipAfter(java.util.Date d,
java.lang.String scope)
throws GrouperDAOException
findAllByLastMembershipAfter in interface GroupDAOd - scope -
GrouperDAOException
public java.util.Set<Group> findAllByType(GroupType _gt)
throws GrouperDAOException
findAllByType in interface GroupDAO_gt -
GrouperDAOException
public java.util.Set<Group> findAllByType(GroupType _gt,
java.lang.String scope)
throws GrouperDAOException
findAllByType in interface GroupDAO_gt - scope -
GrouperDAOException
public Group findByAttribute(java.lang.String attr,
java.lang.String val,
boolean exceptionIfNotFound,
boolean secureQuery)
throws GrouperDAOException,
GroupNotFoundException
findByAttribute in interface GroupDAOGrouperDAOException
GroupNotFoundExceptionGroupDAO.findByAttribute(java.lang.String, java.lang.String, boolean, boolean)
public Group findByAttribute(java.lang.String attr,
java.lang.String val,
boolean exceptionIfNotFound)
throws GrouperDAOException,
GroupNotFoundException
findByAttribute in interface GroupDAOattr - val - exceptionIfNotFound -
GrouperDAOException
GroupNotFoundException
@Deprecated
public Group findByAttribute(java.lang.String attr,
java.lang.String val)
throws GrouperDAOException,
GroupNotFoundException
findByAttribute in interface GroupDAOattr - val -
GrouperDAOException
GroupNotFoundException
public Group findByName(java.lang.String name,
boolean exceptionIfNotFound)
throws GrouperDAOException,
GroupNotFoundException
findByName in interface GroupDAOname - exceptionIfNotFound -
GrouperDAOException
GroupNotFoundException
public Group findByName(java.lang.String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
throws GrouperDAOException,
GroupNotFoundException
findByName in interface GroupDAOname - exceptionIfNotFound - exception if cant find groupqueryOptions - if we should use cache or not
GrouperDAOException
GroupNotFoundException
public Group findByName(java.lang.String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
throws GrouperDAOException,
GroupNotFoundException
findByName in interface GroupDAOname - exceptionIfNotFound - exception if cant find groupqueryOptions - if we should use cache or not
GrouperDAOException
GroupNotFoundException
public Group findByNameSecure(java.lang.String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
findByNameSecure in interface GroupDAOname - exceptionIfNotFound - exception if cant find groupqueryOptions - if we should use cache or not
GrouperDAOException
GroupNotFoundException
public Group findByNameSecure(java.lang.String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups,
java.util.Set<Privilege> inPrivSet)
findByNameSecure in interface GroupDAOname - exceptionIfNotFound - exception if cant find groupqueryOptions - if we should use cache or nottypeOfGroups - inPrivSet -
GrouperDAOException
GroupNotFoundException
public Group findByCurrentName(java.lang.String name,
boolean exceptionIfNotFound)
throws GrouperDAOException,
GroupNotFoundException
findByCurrentName in interface GroupDAOname - exceptionIfNotFound -
GrouperDAOException
GroupNotFoundException
public Group findByAlternateName(java.lang.String name,
boolean exceptionIfNotFound)
throws GrouperDAOException,
GroupNotFoundException
findByAlternateName in interface GroupDAOname - exceptionIfNotFound -
GrouperDAOException
GroupNotFoundException
@Deprecated
public Group findByName(java.lang.String name)
throws GrouperDAOException,
GroupNotFoundException
findByName in interface GroupDAOname -
GrouperDAOException
GroupNotFoundException
@Deprecated
public Group findByUuid(java.lang.String uuid)
throws GrouperDAOException,
GroupNotFoundException
findByUuid in interface GroupDAOGrouperDAOException
GroupNotFoundExceptionGroupDAO.findByUuid(String)
public Group findByUuid(java.lang.String uuid,
boolean exceptionIfNotFound)
throws GrouperDAOException,
GroupNotFoundException
findByUuid in interface GroupDAOGrouperDAOException
GroupNotFoundExceptionGroupDAO.findByUuid(java.lang.String, boolean)
public Group findByUuid(java.lang.String uuid,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
throws GrouperDAOException,
GroupNotFoundException
findByUuid in interface GroupDAOGrouperDAOException
GroupNotFoundExceptionGroupDAO.findByUuid(java.lang.String, boolean, QueryOptions)
public Group findByUuid(java.lang.String uuid,
boolean exceptionIfNotFound,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
throws GrouperDAOException,
GroupNotFoundException
findByUuid in interface GroupDAOtypeOfGroups - to search in or null for all
GrouperDAOException
GroupNotFoundExceptionGroupDAO.findByUuid(java.lang.String, boolean, QueryOptions, Set)
public Group findByUuidSecure(java.lang.String uuid,
boolean exceptionIfNotFound,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
throws GrouperDAOException,
GroupNotFoundException
GroupDAO
findByUuidSecure in interface GroupDAOGrouperDAOException
GroupNotFoundExceptionGroupDAO.findByUuid(java.lang.String, boolean, QueryOptions, Set)
public java.util.Set<Group> getAllGroups()
throws GrouperDAOException
getAllGroups in interface GroupDAOGrouperDAOException
public java.util.Set<Group> getAllGroups(java.lang.String scope)
throws GrouperDAOException
getAllGroups in interface GroupDAOscope -
GrouperDAOException
public java.util.Set<Group> getImmediateChildren(Stem stem)
throws GrouperDAOException
getImmediateChildren in interface GroupDAOstem -
GrouperDAOException
public void update(Group _g)
throws GrouperDAOException
update in interface GroupDAO_g -
GrouperDAOException
public java.util.Set<Group> findAllByAttr(java.lang.String attr,
java.lang.String val)
throws GrouperDAOException,
java.lang.IllegalStateException
Implementation Notes.
findAllByAttr in interface GroupDAOGrouperDAOException
java.lang.IllegalStateExceptionGroupDAO.findAllByAttr(java.lang.String, java.lang.String)
public java.util.Set<Group> findAllByAttr(java.lang.String attr,
java.lang.String val,
java.lang.String scope,
boolean secureQuery)
throws GrouperDAOException,
java.lang.IllegalStateException
findAllByAttr in interface GroupDAOGrouperDAOException
java.lang.IllegalStateExceptionGroupDAO.findAllByAttr(java.lang.String, java.lang.String, java.lang.String, boolean)
public java.util.Set<Group> findAllByAttr(java.lang.String attr,
java.lang.String val,
java.lang.String scope)
throws GrouperDAOException,
java.lang.IllegalStateException
Implementation Notes.
findAllByAttr in interface GroupDAOGrouperDAOException
java.lang.IllegalStateExceptionGroupDAO.findAllByAttr(java.lang.String, java.lang.String, java.lang.String)public java.util.Set<Group> findByCreatorOrModifier(Member member)
findByCreatorOrModifier in interface GroupDAOmember -
public java.util.Set<Group> getAllGroupsSecure(GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
throws GrouperDAOException
getAllGroupsSecure in interface GroupDAOinPrivSet - means that each row must have a matching priv in this set to user or GrouperAll.
There are some constants in AccessPrivilege of pre-canned sets
GrouperDAOExceptionGroupDAO.getAllGroupsSecure(GrouperSession, Subject, Set, QueryOptions, Set)
public java.util.Set<Group> getAllGroupsSecure(GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
throws GrouperDAOException
getAllGroupsSecure in interface GroupDAOgrouperSession - subject - queryOptions - inPrivSet - means that each row must have a matching priv in this set to user or GrouperAll.
There are some constants in AccessPrivilege of pre-canned setstypeOfGroups - type of groups to return, or null for all
GrouperDAOException
public java.util.Set<Group> getAllGroupsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
throws GrouperDAOException
getAllGroupsSecure in interface GroupDAOinPrivSet - means that each row must have a matching priv in this set to user or GrouperAll.
There are some constants in AccessPrivilege of pre-canned sets
GrouperDAOExceptionGroupDAO.getAllGroupsSecure(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<Group> getAllGroupsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
throws GrouperDAOException
getAllGroupsSecure in interface GroupDAOinPrivSet - means that each row must have a matching priv in this set to user or GrouperAll.
There are some constants in AccessPrivilege of pre-canned setstypeOfGroups - type of groups to return or null for all
GrouperDAOExceptionGroupDAO.getAllGroupsSecure(java.lang.String, edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions, Set)
public java.util.Set<Group> getImmediateChildrenSecure(GrouperSession grouperSession,
Stem stem,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
throws GrouperDAOException
GroupDAO
getImmediateChildrenSecure in interface GroupDAOinPrivSet - means that each row must have a matching priv in this set to user or GrouperAll.
There are some constants in AccessPrivilege of pre-canned sets
GrouperDAOExceptionGroupDAO.getImmediateChildrenSecure(edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.grouper.Stem, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public java.util.Set<Group> getImmediateChildrenSecure(GrouperSession grouperSession,
Stem stem,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
throws GrouperDAOException
GroupDAO
getImmediateChildrenSecure in interface GroupDAOinPrivSet - means that each row must have a matching priv in this set to user or GrouperAll.
There are some constants in AccessPrivilege of pre-canned setstypeOfGroups - type of groups to return, or null for all
GrouperDAOExceptionGroupDAO.getImmediateChildrenSecure(edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.grouper.Stem, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions, Set)
public java.util.Set<Group> findByUuids(java.util.Collection<java.lang.String> uuids,
boolean exceptionOnNotFound)
throws GroupNotFoundException
GroupDAO
findByUuids in interface GroupDAOexceptionOnNotFound - if exception should be thrown when a uuid doesnt match up
GroupNotFoundExceptionGroupDAO.findByUuids(java.util.Collection, boolean)
public java.util.Set<Group> getAllGroupsMembershipSecure(GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean enabledOnly)
throws GrouperDAOException
getAllGroupsMembershipSecure in interface GroupDAOinPrivSet - means that each row must have a matching priv in this set to user or GrouperAll.
There are some constants in AccessPrivilege of pre-canned sets
GrouperDAOExceptionGroupDAO.getAllGroupsMembershipSecure(edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions, boolean)
public java.util.Set<Group> getAllGroupsMembershipSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean enabledOnly)
throws GrouperDAOException
getAllGroupsMembershipSecure in interface GroupDAOinPrivSet - means that each row must have a matching priv in this set to user or GrouperAll.
There are some constants in AccessPrivilege of pre-canned sets
GrouperDAOExceptionGroupDAO.getAllGroupsMembershipSecure(java.lang.String, edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions, boolean)
public java.util.Set<Group> getAllGroupsMembershipSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean enabledOnly,
Stem stem,
Stem.Scope stemScope)
throws GrouperDAOException
getAllGroupsMembershipSecure in interface GroupDAOinPrivSet - means that each row must have a matching priv in this set to user or GrouperAll.
There are some constants in AccessPrivilege of pre-canned sets
GrouperDAOExceptionGroupDAO.getAllGroupsMembershipSecure(java.lang.String, edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions, boolean, edu.internet2.middleware.grouper.Stem, edu.internet2.middleware.grouper.Stem.Scope)
public java.util.Set<Group> getImmediateChildrenMembershipSecure(GrouperSession grouperSession,
Stem stem,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean enabledOnly)
throws GrouperDAOException
GroupDAO
getImmediateChildrenMembershipSecure in interface GroupDAOinPrivSet - means that each row must have a matching priv in this set to user or GrouperAll.
There are some constants in AccessPrivilege of pre-canned sets
GrouperDAOExceptionGroupDAO.getImmediateChildrenMembershipSecure(edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.grouper.Stem, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions, boolean)public void updateLastMembershipChange(java.lang.String groupId)
updateLastMembershipChange in interface GroupDAOGroupDAO.updateLastMembershipChange(java.lang.String)public void updateLastImmediateMembershipChange(java.lang.String groupId)
updateLastImmediateMembershipChange in interface GroupDAOGroupDAO.updateLastImmediateMembershipChange(java.lang.String)public void updateLastMembershipChangeIncludeAncestorGroups(java.lang.String groupId)
GroupDAO
updateLastMembershipChangeIncludeAncestorGroups in interface GroupDAOGroupDAO.updateLastMembershipChangeIncludeAncestorGroups(java.lang.String)
public java.util.Set<Group> getAllGroupsMembershipSecure(Field field,
java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
QueryOptions queryOptions,
java.lang.Boolean enabled,
MembershipType membershipType,
Stem stem,
Stem.Scope stemScope)
throws GrouperDAOException
getAllGroupsMembershipSecure in interface GroupDAOqueryOptions - if sorting on name, displayName, extension, displayExtensionenabled - null for all, True for enabledOnly, False for disabledOnlymembershipType - immediate, effective, etcstem - if searching in a specific stemstemScope - sub or one
GrouperDAOExceptionedu.internet2.middleware.grouper.internal.dao.GroupDAO#getAllGroupsMembershipSecure(java.lang.String, edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, edu.internet2.middleware.grouper.internal.dao.QueryOptions, java.lang.Boolean, edu.internet2.middleware.grouper.membership.MembershipType, edu.internet2.middleware.grouper.Stem, edu.internet2.middleware.grouper.Stem.Scope)
public Group findByUuidOrName(java.lang.String uuid,
java.lang.String name,
boolean exceptionIfNull)
throws GrouperDAOException,
GroupNotFoundException
findByUuidOrName in interface GroupDAOGrouperDAOException
GroupNotFoundExceptionGroupDAO.findByUuidOrName(java.lang.String, java.lang.String, boolean)
public Group findByUuidOrName(java.lang.String uuid,
java.lang.String name,
boolean exceptionIfNull,
QueryOptions queryOptions)
throws GrouperDAOException,
GroupNotFoundException
findByUuidOrName in interface GroupDAOGrouperDAOException
GroupNotFoundExceptionGroupDAO.findByUuidOrName(java.lang.String, java.lang.String, boolean, QueryOptions)public void saveUpdateProperties(Group group)
GroupDAO
saveUpdateProperties in interface GroupDAOGroupDAO.saveUpdateProperties(edu.internet2.middleware.grouper.Group)
public java.util.Set<Group> findAllByType(GroupType _gt,
QueryOptions queryOptions)
throws GrouperDAOException
GroupDAO
findAllByType in interface GroupDAOGrouperDAOExceptionGroupDAO.findAllByType(GroupType, QueryOptions)
public java.util.Set<Group> findGroupsInStemWithoutPrivilege(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)
GroupDAO
findGroupsInStemWithoutPrivilege in interface GroupDAOGroupDAO#findGroupsInStemWithoutPrivilege(GrouperSession, String, Scope, Subject, Privilege, QueryOptions, boolean, String)
public java.util.Set<Group> getAllGroupsSplitScopeSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
TypeOfGroup typeOfGroup)
GroupDAO
getAllGroupsSplitScopeSecure in interface GroupDAOtypeOfGroup - or null for all
GroupDAO.getAllGroupsSplitScopeSecure(String, GrouperSession, Subject, Set, QueryOptions, TypeOfGroup)
public java.util.Set<Group> getAllGroupsSplitScopeSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
GroupDAO
getAllGroupsSplitScopeSecure in interface GroupDAOtypeOfGroups - or null for all
GroupDAO.getAllGroupsSplitScopeSecure(String, GrouperSession, Subject, Set, QueryOptions, Set)
public java.util.Set<Group> findAllByApproximateAttrSecure(java.lang.String attr,
java.lang.String val,
java.lang.String scope)
throws GrouperDAOException,
java.lang.IllegalStateException
findAllByApproximateAttrSecure in interface GroupDAOattr - attribute nameval - valuescope - some folder or null for all
GrouperDAOException
java.lang.IllegalStateExceptionGroupDAO.findAllByApproximateAttrSecure(java.lang.String, java.lang.String, java.lang.String)
public java.util.Set<Group> findByNamesSecure(java.util.Collection<java.lang.String> names,
QueryOptions queryOptions)
findByNamesSecure in interface GroupDAOGroupDAO.findByNamesSecure(Collection, QueryOptions)
public java.util.Set<Group> findByNamesSecure(java.util.Collection<java.lang.String> names,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
findByNamesSecure in interface GroupDAOGroupDAO.findByNamesSecure(Collection, QueryOptions)
public java.util.Set<Group> findByUuidsSecure(java.util.Collection<java.lang.String> uuids,
QueryOptions queryOptions)
GroupDAO
findByUuidsSecure in interface GroupDAOGroupDAO.findByUuidsSecure(Collection, QueryOptions)
public java.util.Set<Group> findByUuidsSecure(java.util.Collection<java.lang.String> uuids,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
GroupDAO
findByUuidsSecure in interface GroupDAOGroupDAO.findByUuidsSecure(Collection, QueryOptions, Set)
public Group findByIdIndex(java.lang.Long idIndex,
boolean exceptionIfNotFound)
throws GroupNotFoundException
findByIdIndex in interface GroupDAOGroupNotFoundException
public Group findByIdIndexSecure(java.lang.Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
throws GroupNotFoundException
GroupDAO
findByIdIndexSecure in interface GroupDAOidIndex - id index to findexceptionIfNotFound - true if exception should be thrown if not foundqueryOptions - query options
GroupNotFoundExceptionGroupDAO.findByIdIndexSecure(Long, boolean, QueryOptions)
public java.util.Set<Group> getAllGroupsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups,
boolean splitScope,
edu.internet2.middleware.subject.Subject membershipSubject,
Field field)
GroupDAO
getAllGroupsSecure in interface GroupDAOtypeOfGroups - or null for all
GroupDAO.getAllGroupsSecure(java.lang.String, edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions, java.util.Set, boolean, edu.internet2.middleware.subject.Subject, edu.internet2.middleware.grouper.Field)
public java.util.Set<Group> getAllGroupsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups,
boolean splitScope,
edu.internet2.middleware.subject.Subject membershipSubject,
Field field,
java.lang.String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
edu.internet2.middleware.subject.Subject subjectNotInGroup,
java.util.Collection<java.lang.String> groupIds,
java.util.Collection<java.lang.String> groupNames,
java.lang.Boolean compositeOwner)
GroupDAO
getAllGroupsSecure in interface GroupDAOtypeOfGroups - or null for allsubjectNotInGroup - is a subject which does not have a membership in the groupgroupIds - are the group ids to search forgroupNames - are the group names to search forcompositeOwner - if we are filtering for groups which are or are not composite owners
GroupDAO#getAllGroupsSecure(String, GrouperSession, Subject, Set, QueryOptions, Set, boolean, Subject, Field, String, Scope, boolean, Subject, Collection, Collection, Boolean)
public java.util.Set<Group> getAllGroupsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups,
boolean splitScope,
edu.internet2.middleware.subject.Subject membershipSubject,
Field field,
java.lang.String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
edu.internet2.middleware.subject.Subject subjectNotInGroup,
java.util.Collection<java.lang.String> groupIds,
java.util.Collection<java.lang.String> groupNames,
java.lang.Boolean compositeOwner,
java.lang.String idOfAttributeDefName,
java.lang.Object attributeValue)
GroupDAO
getAllGroupsSecure in interface GroupDAOtypeOfGroups - or null for allsubjectNotInGroup - is a subject which does not have a membership in the groupgroupIds - are the group ids to search forgroupNames - are the group names to search forcompositeOwner - if we are filtering for groups which are or are not composite ownersidOfAttributeDefName - if looking for groups that have this attribute def nameattributeValue - if looking for groups that have this attribute value on the attribute def name
GroupDAO#getAllGroupsSecure(String, GrouperSession, Subject, Set, QueryOptions, Set, boolean, Subject, Field, String, Scope, boolean, Subject, Collection, Collection, Boolean, String, Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||