public interface GroupDAO extends GrouperDAO
Group DAO interface.| Modifier and Type | Method and Description |
|---|---|
void |
delete(Group _g) |
boolean |
exists(String uuid) |
Set<Group> |
findAllByAnyApproximateAttr(String val) |
Set<Group> |
findAllByAnyApproximateAttr(String val,
String scope) |
Set<Group> |
findAllByAnyApproximateAttr(String val,
String scope,
boolean secureQuery) |
Set<Group> |
findAllByAnyApproximateAttr(String val,
String scope,
boolean secureQuery,
Boolean enabled) |
Set<Group> |
findAllByApproximateAlternateName(String name)
Find groups using an approximate string for the alternate name.
|
Set<Group> |
findAllByApproximateAlternateName(String name,
String scope)
Find groups using an approximate string for the alternate name.
|
Set<Group> |
findAllByApproximateAttr(String attr,
String val) |
Set<Group> |
findAllByApproximateAttr(String attr,
String val,
String scope) |
Set<Group> |
findAllByApproximateAttrSecure(String attr,
String val,
String scope) |
Set<Group> |
findAllByApproximateAttrSecure(String attr,
String val,
String scope,
Boolean enabled) |
Set<Group> |
findAllByApproximateCurrentName(String name)
Find groups using an approximate string for the current name,
display name, extension, display extension.
|
Set<Group> |
findAllByApproximateCurrentName(String name,
String scope)
Find groups using an approximate string for the current name,
display name, extension, display extension.
|
Set<Group> |
findAllByApproximateName(String name) |
Set<Group> |
findAllByApproximateName(String name,
String scope) |
Set<Group> |
findAllByApproximateNameSecure(String name,
String scope,
QueryOptions queryOptions) |
Set<Group> |
findAllByApproximateNameSecure(String name,
String scope,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups) |
Set<Group> |
findAllByApproximateNameSecure(String name,
String scope,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups,
Boolean enabled) |
Set<Group> |
findAllByAttr(String attr,
String val) |
Set<Group> |
findAllByAttr(String attr,
String val,
String scope) |
Set<Group> |
findAllByAttr(String attr,
String val,
String scope,
boolean secureQuery) |
Set<Group> |
findAllByAttr(String attr,
String val,
String scope,
boolean secureQuery,
Boolean enabled) |
Set<Group> |
findAllByCreatedAfter(Date d) |
Set<Group> |
findAllByCreatedAfter(Date d,
String scope) |
Set<Group> |
findAllByCreatedBefore(Date d) |
Set<Group> |
findAllByCreatedBefore(Date d,
String scope) |
Set<Group> |
findAllByLastMembershipAfter(Date d) |
Set<Group> |
findAllByLastMembershipAfter(Date d,
String scope) |
Set<Group> |
findAllByLastMembershipBefore(Date d) |
Set<Group> |
findAllByLastMembershipBefore(Date d,
String scope) |
Set<Group> |
findAllByModifiedAfter(Date d) |
Set<Group> |
findAllByModifiedAfter(Date d,
String scope) |
Set<Group> |
findAllByModifiedBefore(Date d) |
Set<Group> |
findAllByModifiedBefore(Date d,
String scope) |
Set<Group> |
findAllByType(GroupType _gt)
note, this doesnt cache
|
Set<Group> |
findAllByType(GroupType _gt,
QueryOptions queryOptions)
this caches
|
Set<Group> |
findAllByType(GroupType _gt,
String scope) |
Set<Group> |
findAllEnabledDisabledMismatch()
find records which are disabled which shouldnt be, and enabled which shouldnt be
|
Group |
findByAlternateName(String name,
boolean exceptionIfNotFound)
Find a group by its alternate name only.
|
Set<Group> |
findByApproximateDescriptionSecure(String description,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups) |
Set<Group> |
findByApproximateDisplayExtensionSecure(String extension,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups) |
Set<Group> |
findByApproximateDisplayNameSecure(String displayName,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups) |
Set<Group> |
findByApproximateExtensionSecure(String extension,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups) |
Group |
findByAttribute(String attr,
String val)
Deprecated.
use overload
|
Group |
findByAttribute(String attr,
String val,
boolean exceptionIfNotFound) |
Group |
findByAttribute(String attr,
String val,
boolean exceptionIfNotFound,
boolean secureQuery) |
Set<Group> |
findByCreatorOrModifier(Member member)
find groups by creator or modifier
|
Group |
findByCurrentName(String name,
boolean exceptionIfNotFound)
Find a group by its current name only.
|
Set<Group> |
findByDescriptionSecure(String description,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups) |
Set<Group> |
findByDisplayExtensionSecure(String displayExtension,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups) |
Set<Group> |
findByDisplayNameSecure(String displayName,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups) |
Set<Group> |
findByExtensionSecure(String extension,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups) |
Group |
findByIdIndex(Long idIndex,
boolean exceptionIfNotFound) |
Group |
findByIdIndexSecure(Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
find a group by id index
|
Group |
findByName(String name)
Deprecated.
use overload
|
Group |
findByName(String name,
boolean exceptionIfNotFound) |
Group |
findByName(String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions) |
Group |
findByName(String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups) |
Group |
findByNameSecure(String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups) |
Group |
findByNameSecure(String name,
boolean exceptionIfNotFound,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups,
Set<Privilege> inPrivSet) |
Set<Group> |
findByNamesSecure(Collection<String> names,
QueryOptions queryOptions) |
Set<Group> |
findByNamesSecure(Collection<String> names,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups) |
Group |
findByUuid(String uuid)
Deprecated.
use overload
|
Group |
findByUuid(String uuid,
boolean exceptionIfNotFound) |
Group |
findByUuid(String uuid,
boolean exceptionIfNotFound,
QueryOptions queryOptions) |
Group |
findByUuid(String uuid,
boolean exceptionIfNotFound,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups) |
Group |
findByUuidOrName(String uuid,
String name,
boolean exceptionIfNull) |
Group |
findByUuidOrName(String uuid,
String name,
boolean exceptionIfNull,
QueryOptions queryOptions) |
Set<Group> |
findByUuids(Collection<String> uuids,
boolean exceptionOnNotFound)
find all groups which have these uuids
|
Group |
findByUuidSecure(String uuid,
boolean exceptionIfNotFound,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups)
find by uuid secure
|
Set<Group> |
findByUuidsSecure(Collection<String> uuids,
QueryOptions queryOptions)
find by uuid secure
|
Set<Group> |
findByUuidsSecure(Collection<String> uuids,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups)
find by uuid secure
|
Set<Group> |
findGroupsInStemWithoutPrivilege(GrouperSession grouperSession,
String stemId,
Stem.Scope scope,
Subject subject,
Privilege privilege,
QueryOptions queryOptions,
boolean considerAllSubject,
String sqlLikeString)
see which groups do not have this privilege
|
Set<Group> |
findGroupsInStemWithPrivilege(GrouperSession grouperSession,
String stemId,
Stem.Scope scope,
Subject subject,
Privilege privilege,
QueryOptions queryOptions,
boolean considerAllSubject,
String sqlLikeString)
see which groups do not have this privilege
|
Set<Group> |
getAllGroups() |
Set<Group> |
getAllGroups(String scope) |
Set<Group> |
getAllGroupsMembershipSecure(Field field,
String scope,
GrouperSession grouperSession,
Subject subject,
QueryOptions queryOptions,
Boolean enabled,
MembershipType membershipType,
Stem stem,
Stem.Scope stemScope) |
Set<Group> |
getAllGroupsMembershipSecure(GrouperSession grouperSession,
Subject subject,
Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean enabledOnly) |
Set<Group> |
getAllGroupsMembershipSecure(String scope,
GrouperSession grouperSession,
Subject subject,
Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean enabledOnly) |
Set<Group> |
getAllGroupsMembershipSecure(String scope,
GrouperSession grouperSession,
Subject subject,
Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean enabledOnly,
Stem stem,
Stem.Scope stemScope) |
Set<Group> |
getAllGroupsSecure(GrouperSession grouperSession,
Subject subject,
Set<Privilege> inPrivSet,
QueryOptions queryOptions) |
Set<Group> |
getAllGroupsSecure(GrouperSession grouperSession,
Subject subject,
Set<Privilege> inPrivSet,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups) |
Set<Group> |
getAllGroupsSecure(GrouperSession grouperSession,
Subject subject,
Set<Privilege> inPrivSet,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups,
Boolean enabled) |
Set<Group> |
getAllGroupsSecure(String scope,
GrouperSession grouperSession,
Subject subject,
Set<Privilege> inPrivSet,
QueryOptions queryOptions) |
Set<Group> |
getAllGroupsSecure(String scope,
GrouperSession grouperSession,
Subject subject,
Set<Privilege> inPrivSet,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups) |
Set<Group> |
getAllGroupsSecure(String scope,
GrouperSession grouperSession,
Subject subject,
Set<Privilege> inPrivSet,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups,
Boolean enabled) |
Set<Group> |
getAllGroupsSecure(String scope,
GrouperSession grouperSession,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroup,
boolean splitScope,
Subject membershipSubject,
Field field)
get all groups secure, split the scope by whitespace
|
Set<Group> |
getAllGroupsSecure(String scope,
GrouperSession grouperSession,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroup,
boolean splitScope,
Subject membershipSubject,
Field field,
String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
Subject subjectNotInGroup,
Collection<String> groupIds,
Collection<String> groupNames,
Boolean compositeOwner)
get all groups secure, split the scope by whitespace
|
Set<Group> |
getAllGroupsSecure(String scope,
GrouperSession grouperSession,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroup,
boolean splitScope,
Subject membershipSubject,
Field field,
String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
Subject subjectNotInGroup,
Collection<String> groupIds,
Collection<String> groupNames,
Boolean compositeOwner,
String idOfAttributeDefName,
Object attributeValue)
get all groups secure, split the scope by whitespace
|
Set<Group> |
getAllGroupsSecure(String scope,
GrouperSession grouperSession,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroup,
boolean splitScope,
Subject membershipSubject,
Field field,
String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
Subject subjectNotInGroup,
Collection<String> groupIds,
Collection<String> groupNames,
Boolean compositeOwner,
String idOfAttributeDefName,
Object attributeValue,
Set<Object> attributeValuesOnAssignment,
Boolean attributeCheckReadOnAttributeDef)
get all groups secure, split the scope by whitespace
|
Set<Group> |
getAllGroupsSecure(String scope,
GrouperSession grouperSession,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroup,
boolean splitScope,
Subject membershipSubject,
Field field,
String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
Subject subjectNotInGroup,
Collection<String> groupIds,
Collection<String> groupNames,
Boolean compositeOwner,
String idOfAttributeDefName,
Object attributeValue,
Set<Object> attributeValuesOnAssignment,
Boolean attributeCheckReadOnAttributeDef,
String idOfAttributeDefName2,
Object attributeValue2,
Set<Object> attributeValuesOnAssignment2,
boolean attributeNotAssigned)
get all groups secure, split the scope by whitespace
|
Set<Group> |
getAllGroupsSplitScopeSecure(String scope,
GrouperSession grouperSession,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups)
get all groups secure, split the scope by whitespace
|
Set<Group> |
getAllGroupsSplitScopeSecure(String scope,
GrouperSession grouperSession,
Subject subject,
Set<Privilege> privileges,
QueryOptions queryOptions,
TypeOfGroup typeOfGroup)
get all groups secure, split the scope by whitespace
|
Set<Group> |
getImmediateChildren(Stem stem) |
Set<Group> |
getImmediateChildrenMembershipSecure(GrouperSession grouperSession,
Stem stem,
Subject subject,
Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean enabledOnly)
get immediate children secure
|
Set<Group> |
getImmediateChildrenSecure(GrouperSession grouperSession,
Stem stem,
Subject subject,
Set<Privilege> inPrivSet,
QueryOptions queryOptions)
get immediate children secure
|
Set<Group> |
getImmediateChildrenSecure(GrouperSession grouperSession,
Stem stem,
Subject subject,
Set<Privilege> inPrivSet,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups)
get immediate children secure
|
Set<Group> |
getImmediateChildrenSecure(GrouperSession grouperSession,
Stem stem,
Subject subject,
Set<Privilege> inPrivSet,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups,
Boolean enabled)
get immediate children secure
|
void |
putInExistsCache(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(String groupId) |
void |
updateLastMembershipChange(String groupId) |
void |
updateLastMembershipChangeIncludeAncestorGroups(String groupId)
This will update last_membership_change for group owners where group member in groupSet is the given groupId.
|
void putInExistsCache(String uuid, boolean exists)
uuid - exists - void delete(Group _g) throws GrouperDAOException
GrouperDAOExceptionboolean exists(String uuid) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByAnyApproximateAttr(String val) throws GrouperDAOException, IllegalStateException
GrouperDAOExceptionIllegalStateExceptionSet<Group> findAllByAnyApproximateAttr(String val, String scope) throws GrouperDAOException, IllegalStateException
GrouperDAOExceptionIllegalStateExceptionSet<Group> findAllByAnyApproximateAttr(String val, String scope, boolean secureQuery) throws GrouperDAOException, IllegalStateException
val - scope - secureQuery - GrouperDAOExceptionIllegalStateExceptionSet<Group> findAllByAnyApproximateAttr(String val, String scope, boolean secureQuery, Boolean enabled) throws GrouperDAOException, IllegalStateException
val - scope - secureQuery - enabled - GrouperDAOExceptionIllegalStateExceptionSet<Group> findAllByApproximateAttr(String attr, String val) throws GrouperDAOException, IllegalStateException
GrouperDAOExceptionIllegalStateExceptionSet<Group> findAllByApproximateAttr(String attr, String val, String scope) throws GrouperDAOException, IllegalStateException
GrouperDAOExceptionIllegalStateExceptionSet<Group> findAllByApproximateAttrSecure(String attr, String val, String scope) throws GrouperDAOException, IllegalStateException
attr - attribute nameval - valuescope - some folder or null for allGrouperDAOExceptionIllegalStateExceptionSet<Group> findAllByApproximateAttrSecure(String attr, String val, String scope, Boolean enabled) throws GrouperDAOException, IllegalStateException
attr - attribute nameval - valuescope - some folder or null for allenabled - GrouperDAOExceptionIllegalStateExceptionSet<Group> findAllByAttr(String attr, String val) throws GrouperDAOException, IllegalStateException
GrouperDAOExceptionIllegalStateExceptionSet<Group> findAllByAttr(String attr, String val, String scope) throws GrouperDAOException, IllegalStateException
GrouperDAOExceptionIllegalStateExceptionSet<Group> findAllByAttr(String attr, String val, String scope, boolean secureQuery) throws GrouperDAOException, IllegalStateException
attr - val - scope - secureQuery - GrouperDAOExceptionIllegalStateExceptionSet<Group> findAllByAttr(String attr, String val, String scope, boolean secureQuery, Boolean enabled) throws GrouperDAOException, IllegalStateException
attr - val - scope - secureQuery - enabled - GrouperDAOExceptionIllegalStateExceptionSet<Group> findAllByApproximateName(String name) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByApproximateName(String name, String scope) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByApproximateNameSecure(String name, String scope, QueryOptions queryOptions) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByCreatedAfter(Date d) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByCreatedAfter(Date d, String scope) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByCreatedBefore(Date d) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByCreatedBefore(Date d, String scope) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByModifiedAfter(Date d) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByModifiedAfter(Date d, String scope) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByModifiedBefore(Date d) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByModifiedBefore(Date d, String scope) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByLastMembershipAfter(Date d) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByLastMembershipAfter(Date d, String scope) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByLastMembershipBefore(Date d) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByLastMembershipBefore(Date d, String scope) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByType(GroupType _gt) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByType(GroupType _gt, QueryOptions queryOptions) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findAllByType(GroupType _gt, String scope) throws GrouperDAOException
GrouperDAOException@Deprecated Group findByAttribute(String attr, String val) throws GrouperDAOException, GroupNotFoundException
GrouperDAOExceptionGroupNotFoundExceptionGroup findByAttribute(String attr, String val, boolean exceptionIfNotFound) throws GrouperDAOException, GroupNotFoundException
GrouperDAOExceptionGroupNotFoundExceptionGroup findByAttribute(String attr, String val, boolean exceptionIfNotFound, boolean secureQuery) throws GrouperDAOException, GroupNotFoundException
attr - val - exceptionIfNotFound - secureQuery - GrouperDAOExceptionGroupNotFoundException@Deprecated Group findByName(String name) throws GrouperDAOException, GroupNotFoundException
GrouperDAOExceptionGroupNotFoundExceptionGroup findByName(String name, boolean exceptionIfNotFound) throws GrouperDAOException, GroupNotFoundException
GrouperDAOExceptionGroupNotFoundExceptionGroup findByIdIndex(Long idIndex, boolean exceptionIfNotFound) throws GroupNotFoundException
GroupNotFoundExceptionGroup findByIdIndexSecure(Long idIndex, boolean exceptionIfNotFound, QueryOptions queryOptions) throws GroupNotFoundException
idIndex - id index to findexceptionIfNotFound - true if exception should be thrown if not foundqueryOptions - query optionsGroupNotFoundExceptionGroup findByName(String name, boolean exceptionIfNotFound, QueryOptions queryOptions) throws GrouperDAOException, GroupNotFoundException
GrouperDAOExceptionGroupNotFoundExceptionGroup findByNameSecure(String name, boolean exceptionIfNotFound, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
Group findByNameSecure(String name, boolean exceptionIfNotFound, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups, Set<Privilege> inPrivSet)
Group findByName(String name, boolean exceptionIfNotFound, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups) throws GrouperDAOException, GroupNotFoundException
GrouperDAOExceptionGroupNotFoundException@Deprecated Group findByUuid(String uuid) throws GrouperDAOException, GroupNotFoundException
GrouperDAOExceptionGroupNotFoundExceptionGroup findByUuid(String uuid, boolean exceptionIfNotFound) throws GrouperDAOException, GroupNotFoundException
Group findByUuid(String uuid, boolean exceptionIfNotFound, QueryOptions queryOptions) throws GrouperDAOException, GroupNotFoundException
uuid - exceptionIfNotFound - queryOptions - GrouperDAOExceptionGroupNotFoundExceptionGroup findByUuidSecure(String uuid, boolean exceptionIfNotFound, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
uuid - exceptionIfNotFound - queryOptions - typeOfGroups - GrouperDAOExceptionGroupNotFoundExceptionGroup findByUuid(String uuid, boolean exceptionIfNotFound, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups) throws GrouperDAOException, GroupNotFoundException
uuid - exceptionIfNotFound - queryOptions - typeOfGroups - to search in or null for allGrouperDAOExceptionGroupNotFoundExceptionSet<Group> findByUuids(Collection<String> uuids, boolean exceptionOnNotFound) throws GroupNotFoundException
uuids - exceptionOnNotFound - if exception should be thrown when a uuid doesnt match upGroupNotFoundExceptionSet<Group> getAllGroups() throws GrouperDAOException
GrouperDAOExceptionSet<Group> getAllGroupsSecure(GrouperSession grouperSession, Subject subject, 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 setsGrouperDAOExceptionSet<Group> getAllGroupsSecure(GrouperSession grouperSession, Subject subject, Set<Privilege> inPrivSet, QueryOptions queryOptions, 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 allGrouperDAOExceptionSet<Group> getAllGroupsSecure(GrouperSession grouperSession, Subject subject, Set<Privilege> inPrivSet, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups, Boolean enabled) 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 allenabled - GrouperDAOExceptionSet<Group> getAllGroupsSecure(String scope, GrouperSession grouperSession, Subject subject, 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 setsGrouperDAOExceptionSet<Group> getAllGroupsSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> inPrivSet, QueryOptions queryOptions, 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 allGrouperDAOExceptionSet<Group> getAllGroupsSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> inPrivSet, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups, Boolean enabled) 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 allenabled - GrouperDAOExceptionSet<Group> getImmediateChildrenSecure(GrouperSession grouperSession, Stem stem, Subject subject, 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 setsGrouperDAOExceptionSet<Group> getImmediateChildrenSecure(GrouperSession grouperSession, Stem stem, Subject subject, Set<Privilege> inPrivSet, QueryOptions queryOptions, 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 allGrouperDAOExceptionSet<Group> getImmediateChildrenSecure(GrouperSession grouperSession, Stem stem, Subject subject, Set<Privilege> inPrivSet, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups, Boolean enabled) 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 allenabled - GrouperDAOExceptionSet<Group> getImmediateChildrenMembershipSecure(GrouperSession grouperSession, Stem stem, Subject subject, 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 - GrouperDAOExceptionSet<Group> getAllGroups(String scope) throws GrouperDAOException
GrouperDAOExceptionSet<Group> getImmediateChildren(Stem stem) throws GrouperDAOException
GrouperDAOExceptionvoid update(Group _g) throws GrouperDAOException
GrouperDAOExceptionSet<Group> findByCreatorOrModifier(Member member)
member - Set<Group> findAllByApproximateNameSecure(String name, String scope, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups) throws GrouperDAOException
name - scope - queryOptions - typeOfGroups - GrouperDAOExceptionSet<Group> findAllByApproximateNameSecure(String name, String scope, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups, Boolean enabled) throws GrouperDAOException
name - scope - queryOptions - typeOfGroups - enabled - GrouperDAOExceptionGroup findByAlternateName(String name, boolean exceptionIfNotFound) throws GrouperDAOException, GroupNotFoundException
name - exceptionIfNotFound - GrouperDAOExceptionGroupNotFoundExceptionGroup findByCurrentName(String name, boolean exceptionIfNotFound) throws GrouperDAOException, GroupNotFoundException
name - exceptionIfNotFound - GrouperDAOExceptionGroupNotFoundExceptionSet<Group> findAllByApproximateCurrentName(String name) throws GrouperDAOException
name - GrouperDAOExceptionSet<Group> findAllByApproximateCurrentName(String name, String scope) throws GrouperDAOException
name - scope - GrouperDAOExceptionSet<Group> findAllByApproximateAlternateName(String name) throws GrouperDAOException
name - GrouperDAOExceptionSet<Group> findAllByApproximateAlternateName(String name, String scope) throws GrouperDAOException
name - scope - GrouperDAOExceptionSet<Group> getAllGroupsMembershipSecure(GrouperSession grouperSession, Subject subject, 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 - GrouperDAOExceptionSet<Group> getAllGroupsMembershipSecure(String scope, GrouperSession grouperSession, Subject subject, 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 - GrouperDAOExceptionSet<Group> getAllGroupsMembershipSecure(String scope, GrouperSession grouperSession, Subject subject, 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 - GrouperDAOExceptionSet<Group> getAllGroupsMembershipSecure(Field field, String scope, GrouperSession grouperSession, Subject subject, QueryOptions queryOptions, 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 oneGrouperDAOExceptionvoid updateLastMembershipChange(String groupId)
groupId - void updateLastImmediateMembershipChange(String groupId)
groupId - void updateLastMembershipChangeIncludeAncestorGroups(String groupId)
groupId - Group findByUuidOrName(String uuid, String name, boolean exceptionIfNull) throws GrouperDAOException, GroupNotFoundException
uuid - name - exceptionIfNull - GrouperDAOExceptionGroupNotFoundExceptionGroup findByUuidOrName(String uuid, String name, boolean exceptionIfNull, QueryOptions queryOptions) throws GrouperDAOException, GroupNotFoundException
uuid - name - exceptionIfNull - queryOptions - GrouperDAOExceptionGroupNotFoundExceptionvoid saveUpdateProperties(Group group)
group - Set<Group> findGroupsInStemWithoutPrivilege(GrouperSession grouperSession, String stemId, Stem.Scope scope, Subject subject, Privilege privilege, QueryOptions queryOptions, boolean considerAllSubject, String sqlLikeString)
grouperSession - stemId - scope - subject - privilege - queryOptions - considerAllSubject - sqlLikeString - Set<Group> findGroupsInStemWithPrivilege(GrouperSession grouperSession, String stemId, Stem.Scope scope, Subject subject, Privilege privilege, QueryOptions queryOptions, boolean considerAllSubject, String sqlLikeString)
grouperSession - stemId - scope - subject - privilege - queryOptions - considerAllSubject - sqlLikeString - Set<Group> getAllGroupsSplitScopeSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, TypeOfGroup typeOfGroup)
scope - grouperSession - subject - privileges - queryOptions - typeOfGroup - or null for allSet<Group> getAllGroupsSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroup, boolean splitScope, Subject membershipSubject, Field field)
scope - grouperSession - subject - privileges - queryOptions - typeOfGroup - or null for allsplitScope - field - Set<Group> getAllGroupsSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroup, boolean splitScope, Subject membershipSubject, Field field, String parentStemId, Stem.Scope stemScope, boolean findByUuidOrName, Subject subjectNotInGroup, Collection<String> groupIds, Collection<String> groupNames, 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 ownersSet<Group> getAllGroupsSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroup, boolean splitScope, Subject membershipSubject, Field field, String parentStemId, Stem.Scope stemScope, boolean findByUuidOrName, Subject subjectNotInGroup, Collection<String> groupIds, Collection<String> groupNames, Boolean compositeOwner, String idOfAttributeDefName, 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 nameSet<Group> getAllGroupsSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroup, boolean splitScope, Subject membershipSubject, Field field, String parentStemId, Stem.Scope stemScope, boolean findByUuidOrName, Subject subjectNotInGroup, Collection<String> groupIds, Collection<String> groupNames, Boolean compositeOwner, String idOfAttributeDefName, Object attributeValue, Set<Object> attributeValuesOnAssignment, Boolean attributeCheckReadOnAttributeDef)
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 nameattributeValuesOnAssignment - if looking for an attribute value on an assignment, could be multiple valuesattributeCheckReadOnAttributeDef - use security around attribute def? default is trueSet<Group> getAllGroupsSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroup, boolean splitScope, Subject membershipSubject, Field field, String parentStemId, Stem.Scope stemScope, boolean findByUuidOrName, Subject subjectNotInGroup, Collection<String> groupIds, Collection<String> groupNames, Boolean compositeOwner, String idOfAttributeDefName, Object attributeValue, Set<Object> attributeValuesOnAssignment, Boolean attributeCheckReadOnAttributeDef, String idOfAttributeDefName2, Object attributeValue2, Set<Object> attributeValuesOnAssignment2, boolean attributeNotAssigned)
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 nameattributeValuesOnAssignment - if looking for an attribute value on an assignment, could be multiple valuesattributeCheckReadOnAttributeDef - use security around attribute def? default is trueidOfAttributeDefName2 - if looking for groups that have this attribute def name2attributeValue2 - if looking for groups that have this attribute value2 on the attribute def name2attributeValuesOnAssignment2 - if looking for an attribute value on an assignment2, could be multiple valuesattributeNotAssigned - Set<Group> findByUuidsSecure(Collection<String> uuids, QueryOptions queryOptions)
uuids - exceptionIfNotFound - queryOptions - GrouperDAOExceptionGroupNotFoundExceptionSet<Group> findByUuidsSecure(Collection<String> uuids, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
uuids - exceptionIfNotFound - queryOptions - typeOfGroups - GrouperDAOExceptionGroupNotFoundExceptionSet<Group> findByNamesSecure(Collection<String> names, QueryOptions queryOptions)
names - queryOptions - Set<Group> findByNamesSecure(Collection<String> names, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
names - queryOptions - typeOfGroups - Set<Group> getAllGroupsSplitScopeSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
scope - grouperSession - subject - privileges - queryOptions - typeOfGroups - or null for allSet<Group> findByApproximateDescriptionSecure(String description, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
Set<Group> findByDescriptionSecure(String description, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
Set<Group> findByDisplayNameSecure(String displayName, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
Set<Group> findByApproximateDisplayNameSecure(String displayName, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
Set<Group> findByExtensionSecure(String extension, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
Set<Group> findByApproximateExtensionSecure(String extension, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
Set<Group> findByDisplayExtensionSecure(String displayExtension, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
Set<Group> findByApproximateDisplayExtensionSecure(String extension, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
Copyright © 2016 Internet2. All rights reserved.