|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupDAO
Basic Group
DAO interface.
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)
|
java.util.Set<Group> |
findAllByApproximateAttr(java.lang.String attr,
java.lang.String val,
java.lang.String scope)
|
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)
|
java.util.Set<Group> |
findAllByApproximateName(java.lang.String name,
java.lang.String scope)
|
java.util.Set<Group> |
findAllByApproximateNameSecure(java.lang.String name,
java.lang.String scope,
QueryOptions queryOptions)
|
java.util.Set<Group> |
findAllByApproximateNameSecure(java.lang.String name,
java.lang.String scope,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
|
java.util.Set<Group> |
findAllByAttr(java.lang.String attr,
java.lang.String val)
|
java.util.Set<Group> |
findAllByAttr(java.lang.String attr,
java.lang.String val,
java.lang.String scope)
|
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)
|
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)
|
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> typeOfGroup,
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> typeOfGroup,
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> typeOfGroup,
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. |
Method Detail |
---|
void putInExistsCache(java.lang.String uuid, boolean exists)
uuid
- exists
- void delete(Group _g) throws GrouperDAOException
GrouperDAOException
boolean exists(java.lang.String uuid) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByAnyApproximateAttr(java.lang.String val) throws GrouperDAOException, java.lang.IllegalStateException
GrouperDAOException
java.lang.IllegalStateException
java.util.Set<Group> findAllByAnyApproximateAttr(java.lang.String val, java.lang.String scope) throws GrouperDAOException, java.lang.IllegalStateException
GrouperDAOException
java.lang.IllegalStateException
java.util.Set<Group> findAllByAnyApproximateAttr(java.lang.String val, java.lang.String scope, boolean secureQuery) throws GrouperDAOException, java.lang.IllegalStateException
val
- scope
- secureQuery
-
GrouperDAOException
java.lang.IllegalStateException
java.util.Set<Group> findAllByApproximateAttr(java.lang.String attr, java.lang.String val) throws GrouperDAOException, java.lang.IllegalStateException
GrouperDAOException
java.lang.IllegalStateException
java.util.Set<Group> findAllByApproximateAttr(java.lang.String attr, java.lang.String val, java.lang.String scope) throws GrouperDAOException, java.lang.IllegalStateException
GrouperDAOException
java.lang.IllegalStateException
java.util.Set<Group> findAllByApproximateAttrSecure(java.lang.String attr, java.lang.String val, java.lang.String scope) throws GrouperDAOException, java.lang.IllegalStateException
attr
- attribute nameval
- valuescope
- some folder or null for all
GrouperDAOException
java.lang.IllegalStateException
java.util.Set<Group> findAllByAttr(java.lang.String attr, java.lang.String val) throws GrouperDAOException, java.lang.IllegalStateException
GrouperDAOException
java.lang.IllegalStateException
java.util.Set<Group> findAllByAttr(java.lang.String attr, java.lang.String val, java.lang.String scope) throws GrouperDAOException, java.lang.IllegalStateException
GrouperDAOException
java.lang.IllegalStateException
java.util.Set<Group> findAllByAttr(java.lang.String attr, java.lang.String val, java.lang.String scope, boolean secureQuery) throws GrouperDAOException, java.lang.IllegalStateException
attr
- val
- scope
- secureQuery
-
GrouperDAOException
java.lang.IllegalStateException
java.util.Set<Group> findAllByApproximateName(java.lang.String name) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByApproximateName(java.lang.String name, java.lang.String scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByApproximateNameSecure(java.lang.String name, java.lang.String scope, QueryOptions queryOptions) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByCreatedAfter(java.util.Date d) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByCreatedAfter(java.util.Date d, java.lang.String scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByCreatedBefore(java.util.Date d) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByCreatedBefore(java.util.Date d, java.lang.String scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByModifiedAfter(java.util.Date d) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByModifiedAfter(java.util.Date d, java.lang.String scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByModifiedBefore(java.util.Date d) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByModifiedBefore(java.util.Date d, java.lang.String scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByLastMembershipAfter(java.util.Date d) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByLastMembershipAfter(java.util.Date d, java.lang.String scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByLastMembershipBefore(java.util.Date d) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByLastMembershipBefore(java.util.Date d, java.lang.String scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByType(GroupType _gt) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByType(GroupType _gt, QueryOptions queryOptions) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllByType(GroupType _gt, java.lang.String scope) throws GrouperDAOException
GrouperDAOException
@Deprecated Group findByAttribute(java.lang.String attr, java.lang.String val) throws GrouperDAOException, GroupNotFoundException
GrouperDAOException
GroupNotFoundException
Group findByAttribute(java.lang.String attr, java.lang.String val, boolean exceptionIfNotFound) throws GrouperDAOException, GroupNotFoundException
GrouperDAOException
GroupNotFoundException
Group findByAttribute(java.lang.String attr, java.lang.String val, boolean exceptionIfNotFound, boolean secureQuery) throws GrouperDAOException, GroupNotFoundException
attr
- val
- exceptionIfNotFound
- secureQuery
-
GrouperDAOException
GroupNotFoundException
@Deprecated Group findByName(java.lang.String name) throws GrouperDAOException, GroupNotFoundException
GrouperDAOException
GroupNotFoundException
Group findByName(java.lang.String name, boolean exceptionIfNotFound) throws GrouperDAOException, GroupNotFoundException
GrouperDAOException
GroupNotFoundException
Group findByIdIndex(java.lang.Long idIndex, boolean exceptionIfNotFound) throws GroupNotFoundException
GroupNotFoundException
Group findByIdIndexSecure(java.lang.Long idIndex, boolean exceptionIfNotFound, QueryOptions queryOptions) throws GroupNotFoundException
idIndex
- id index to findexceptionIfNotFound
- true if exception should be thrown if not foundqueryOptions
- query options
GroupNotFoundException
Group findByName(java.lang.String name, boolean exceptionIfNotFound, QueryOptions queryOptions) throws GrouperDAOException, GroupNotFoundException
GrouperDAOException
GroupNotFoundException
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)
Group findByName(java.lang.String name, boolean exceptionIfNotFound, QueryOptions queryOptions, java.util.Set<TypeOfGroup> typeOfGroups) throws GrouperDAOException, GroupNotFoundException
GrouperDAOException
GroupNotFoundException
@Deprecated Group findByUuid(java.lang.String uuid) throws GrouperDAOException, GroupNotFoundException
GrouperDAOException
GroupNotFoundException
Group findByUuid(java.lang.String uuid, boolean exceptionIfNotFound) throws GrouperDAOException, GroupNotFoundException
GrouperDAOException
GroupNotFoundException
Group findByUuid(java.lang.String uuid, boolean exceptionIfNotFound, QueryOptions queryOptions) throws GrouperDAOException, GroupNotFoundException
uuid
- exceptionIfNotFound
- queryOptions
-
GrouperDAOException
GroupNotFoundException
Group findByUuidSecure(java.lang.String uuid, boolean exceptionIfNotFound, QueryOptions queryOptions, java.util.Set<TypeOfGroup> typeOfGroups)
uuid
- exceptionIfNotFound
- queryOptions
- typeOfGroups
-
GrouperDAOException
GroupNotFoundException
Group findByUuid(java.lang.String uuid, boolean exceptionIfNotFound, QueryOptions queryOptions, java.util.Set<TypeOfGroup> typeOfGroups) throws GrouperDAOException, GroupNotFoundException
uuid
- exceptionIfNotFound
- queryOptions
- typeOfGroups
- to search in or null for all
GrouperDAOException
GroupNotFoundException
java.util.Set<Group> findByUuids(java.util.Collection<java.lang.String> uuids, boolean exceptionOnNotFound) throws GroupNotFoundException
uuids
- exceptionOnNotFound
- if exception should be thrown when a uuid doesnt match up
GroupNotFoundException
java.util.Set<Group> getAllGroups() throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> getAllGroupsSecure(GrouperSession grouperSession, edu.internet2.middleware.subject.Subject subject, java.util.Set<Privilege> inPrivSet, QueryOptions queryOptions) throws GrouperDAOException
grouperSession
- 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 sets
GrouperDAOException
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
grouperSession
- 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
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
scope
- grouperSession
- 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 sets
GrouperDAOException
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
scope
- grouperSession
- 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
java.util.Set<Group> getImmediateChildrenSecure(GrouperSession grouperSession, Stem stem, edu.internet2.middleware.subject.Subject subject, java.util.Set<Privilege> inPrivSet, QueryOptions queryOptions) throws GrouperDAOException
grouperSession
- stem
- 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 sets
GrouperDAOException
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
grouperSession
- stem
- 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
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
grouperSession
- stem
- 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 setsenabledOnly
-
GrouperDAOException
java.util.Set<Group> getAllGroups(java.lang.String scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> getImmediateChildren(Stem stem) throws GrouperDAOException
GrouperDAOException
void update(Group _g) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findByCreatorOrModifier(Member member)
member
-
java.util.Set<Group> findAllByApproximateNameSecure(java.lang.String name, java.lang.String scope, QueryOptions queryOptions, java.util.Set<TypeOfGroup> typeOfGroups) throws GrouperDAOException
name
- scope
- queryOptions
- typeOfGroups
-
GrouperDAOException
Group findByAlternateName(java.lang.String name, boolean exceptionIfNotFound) throws GrouperDAOException, GroupNotFoundException
name
- exceptionIfNotFound
-
GrouperDAOException
GroupNotFoundException
Group findByCurrentName(java.lang.String name, boolean exceptionIfNotFound) throws GrouperDAOException, GroupNotFoundException
name
- exceptionIfNotFound
-
GrouperDAOException
GroupNotFoundException
java.util.Set<Group> findAllByApproximateCurrentName(java.lang.String name) throws GrouperDAOException
name
-
GrouperDAOException
java.util.Set<Group> findAllByApproximateCurrentName(java.lang.String name, java.lang.String scope) throws GrouperDAOException
name
- scope
-
GrouperDAOException
java.util.Set<Group> findAllByApproximateAlternateName(java.lang.String name) throws GrouperDAOException
name
-
GrouperDAOException
java.util.Set<Group> findAllByApproximateAlternateName(java.lang.String name, java.lang.String scope) throws GrouperDAOException
name
- scope
-
GrouperDAOException
java.util.Set<Group> getAllGroupsMembershipSecure(GrouperSession grouperSession, edu.internet2.middleware.subject.Subject subject, java.util.Set<Privilege> inPrivSet, QueryOptions queryOptions, boolean enabledOnly) throws GrouperDAOException
grouperSession
- 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 setsenabledOnly
-
GrouperDAOException
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
scope
- grouperSession
- 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 setsenabledOnly
-
GrouperDAOException
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
scope
- stemScope
- grouperSession
- 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 setsenabledOnly
- stem
-
GrouperDAOException
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
field
- scope
- grouperSession
- subject
- queryOptions
- 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
GrouperDAOException
void updateLastMembershipChange(java.lang.String groupId)
groupId
- void updateLastImmediateMembershipChange(java.lang.String groupId)
groupId
- void updateLastMembershipChangeIncludeAncestorGroups(java.lang.String groupId)
groupId
- Group findByUuidOrName(java.lang.String uuid, java.lang.String name, boolean exceptionIfNull) throws GrouperDAOException, GroupNotFoundException
uuid
- name
- exceptionIfNull
-
GrouperDAOException
GroupNotFoundException
Group findByUuidOrName(java.lang.String uuid, java.lang.String name, boolean exceptionIfNull, QueryOptions queryOptions) throws GrouperDAOException, GroupNotFoundException
uuid
- name
- exceptionIfNull
- queryOptions
-
GrouperDAOException
GroupNotFoundException
void saveUpdateProperties(Group group)
group
- 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)
grouperSession
- stemId
- scope
- subject
- privilege
- queryOptions
- considerAllSubject
- sqlLikeString
-
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)
scope
- grouperSession
- subject
- privileges
- queryOptions
- typeOfGroup
- or null for all
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> typeOfGroup, boolean splitScope, edu.internet2.middleware.subject.Subject membershipSubject, Field field)
scope
- grouperSession
- subject
- privileges
- queryOptions
- typeOfGroup
- or null for allsplitScope
- field
-
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> typeOfGroup, 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)
scope
- grouperSession
- subject
- privileges
- queryOptions
- typeOfGroup
- or null for allsplitScope
- membershipSubject
- field
- parentStemId
- stemScope
- findByUuidOrName
- subjectNotInGroup
- 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
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> typeOfGroup, 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)
scope
- grouperSession
- subject
- privileges
- queryOptions
- typeOfGroup
- or null for allsplitScope
- membershipSubject
- field
- parentStemId
- stemScope
- findByUuidOrName
- subjectNotInGroup
- 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
java.util.Set<Group> findByUuidsSecure(java.util.Collection<java.lang.String> uuids, QueryOptions queryOptions)
uuids
- exceptionIfNotFound
- queryOptions
-
GrouperDAOException
GroupNotFoundException
java.util.Set<Group> findByUuidsSecure(java.util.Collection<java.lang.String> uuids, QueryOptions queryOptions, java.util.Set<TypeOfGroup> typeOfGroups)
uuids
- exceptionIfNotFound
- queryOptions
- typeOfGroups
-
GrouperDAOException
GroupNotFoundException
java.util.Set<Group> findByNamesSecure(java.util.Collection<java.lang.String> names, QueryOptions queryOptions)
names
- queryOptions
- java.util.Set<Group> findByNamesSecure(java.util.Collection<java.lang.String> names, QueryOptions queryOptions, java.util.Set<TypeOfGroup> typeOfGroups)
names
- queryOptions
- typeOfGroups
- 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)
scope
- grouperSession
- subject
- privileges
- queryOptions
- typeOfGroups
- or null for all
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |