public class Hib3GroupDAO extends Hib3DAO implements GroupDAO
Group DAO interface.| Constructor and Description |
|---|
Hib3GroupDAO() |
| Modifier and Type | Method and Description |
|---|---|
static String |
assignFilterToQuery(String filter,
Boolean splitScope,
StringBuilder whereClause,
ByHqlStatic byHqlStatic,
boolean findByUuidOrName,
String alias,
boolean addFinalParen) |
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)
Implementation Notes.
|
Set<Group> |
findAllByApproximateAttr(String attr,
String val,
String scope)
Implementation Notes.
|
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)
Implementation Notes.
|
Set<Group> |
findAllByApproximateName(String name,
String scope)
Implementation Notes.
|
Set<Group> |
findAllByApproximateNameSecure(String name,
String scope,
QueryOptions queryOptions)
Implementation Notes.
|
Set<Group> |
findAllByApproximateNameSecure(String name,
String scope,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups)
Implementation Notes.
|
Set<Group> |
findAllByApproximateNameSecure(String name,
String scope,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups,
Boolean enabled)
Implementation Notes.
|
Set<Group> |
findAllByAttr(String attr,
String val)
Implementation Notes.
|
Set<Group> |
findAllByAttr(String attr,
String val,
String scope)
Implementation Notes.
|
Set<Group> |
findAllByAttr(String attr,
String val,
String scope,
boolean secureQuery) |
Set<Group> |
findAllByAttr(String attr,
String val,
String scope,
boolean secureQuery,
Boolean enabled)
(non-Javadoc)
|
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 displayExtension,
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)
not a secure method, find by id index
|
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)
In this case, send in the attribute name to sort by (default is displayName).
|
Set<Group> |
getAllGroupsSecure(GrouperSession grouperSession,
Subject subject,
Set<Privilege> inPrivSet,
QueryOptions queryOptions,
Set<TypeOfGroup> typeOfGroups,
Boolean enabled)
In this case, send in the attribute name to sort by (default is displayName).
|
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> typeOfGroups,
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> typeOfGroups,
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> typeOfGroups,
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
|
static void |
massageSortFields(QuerySort querySort)
if there are sort fields, go through them, and replace name with nameDb, etc,
extension for extensionDb, displayName with displayNameDb, and displayExtension with displayExtensionDb
|
static void |
massageSortFields(QuerySort querySort,
String alias)
if there are sort fields, go through them, and replace name with nameDb, etc,
extension for extensionDb, displayName with displayNameDb, and displayExtension with displayExtensionDb
|
void |
putInExistsCache(String uuid,
boolean exists)
put in cache
|
protected static void |
reset(HibernateSession hibernateSession) |
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.
|
evict, evictEntity, evictQueries, getConfiguration, getConfiguration, getSessionFactory, getSessionFactory, hibernateInitted, initHibernateIfNotInitted, initHibernateIfNotInitted, resourceNameFromClassName, session, sessionpublic void putInExistsCache(String uuid, boolean exists)
putInExistsCache in interface GroupDAOuuid - exists - public void delete(Group _g) throws GrouperDAOException
delete in interface GroupDAO_g - GrouperDAOExceptionpublic boolean exists(String uuid) throws GrouperDAOException
exists in interface GroupDAOuuid - GrouperDAOExceptionpublic Set<Group> findAllByAnyApproximateAttr(String val) throws GrouperDAOException, IllegalStateException
findAllByAnyApproximateAttr in interface GroupDAOval - GrouperDAOExceptionIllegalStateExceptionpublic Set<Group> findAllByAnyApproximateAttr(String val, String scope) throws GrouperDAOException, IllegalStateException
findAllByAnyApproximateAttr in interface GroupDAOval - scope - GrouperDAOExceptionIllegalStateExceptionpublic Set<Group> findAllByAnyApproximateAttr(String val, String scope, boolean secureQuery) throws GrouperDAOException, IllegalStateException
findAllByAnyApproximateAttr in interface GroupDAOval - scope - secureQuery - GrouperDAOExceptionIllegalStateExceptionpublic Set<Group> findAllByAnyApproximateAttr(String val, String scope, boolean secureQuery, Boolean enabled) throws GrouperDAOException, IllegalStateException
findAllByAnyApproximateAttr in interface GroupDAOval - scope - secureQuery - enabled - GrouperDAOExceptionIllegalStateExceptionpublic Set<Group> findAllByApproximateAttr(String attr, String val) throws GrouperDAOException, IllegalStateException
Implementation Notes.
findAllByApproximateAttr in interface GroupDAOGrouperDAOExceptionIllegalStateExceptionGroupDAO.findAllByApproximateAttr(String, String)public Set<Group> findAllByApproximateAttr(String attr, String val, String scope) throws GrouperDAOException, IllegalStateException
Implementation Notes.
findAllByApproximateAttr in interface GroupDAOGrouperDAOExceptionIllegalStateExceptionGroupDAO.findAllByApproximateAttr(String, String, String)public Set<Group> findAllByApproximateName(String name) throws GrouperDAOException
Implementation Notes.
findAllByApproximateName in interface GroupDAOGrouperDAOExceptionGroupDAO.findAllByApproximateName(String)public Set<Group> findAllByApproximateName(String name, String scope) throws GrouperDAOException
Implementation Notes.
findAllByApproximateName in interface GroupDAOGrouperDAOExceptionGroupDAO.findAllByApproximateName(String, String)public Set<Group> findAllByApproximateNameSecure(String name, String scope, QueryOptions queryOptions) throws GrouperDAOException
Implementation Notes.
findAllByApproximateNameSecure in interface GroupDAOname - scope - queryOptions - GrouperDAOExceptionGroupDAO.findAllByApproximateName(String, String)public Set<Group> findAllByApproximateNameSecure(String name, String scope, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
Implementation Notes.
findAllByApproximateNameSecure in interface GroupDAOname - scope - queryOptions - typeOfGroups - GrouperDAOExceptionGroupDAO.findAllByApproximateName(String, String)public Set<Group> findAllByApproximateNameSecure(String name, String scope, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups, Boolean enabled)
Implementation Notes.
findAllByApproximateNameSecure in interface GroupDAOname - scope - queryOptions - typeOfGroups - enabled - GrouperDAOExceptionGroupDAO.findAllByApproximateName(String, String)public Set<Group> findAllByApproximateCurrentName(String name) throws GrouperDAOException
findAllByApproximateCurrentName in interface GroupDAOname - GrouperDAOExceptionpublic Set<Group> findAllByApproximateCurrentName(String name, String scope) throws GrouperDAOException
findAllByApproximateCurrentName in interface GroupDAOname - scope - GrouperDAOExceptionpublic Set<Group> findAllByApproximateAlternateName(String name) throws GrouperDAOException
findAllByApproximateAlternateName in interface GroupDAOname - GrouperDAOExceptionpublic Set<Group> findAllByApproximateAlternateName(String name, String scope) throws GrouperDAOException
findAllByApproximateAlternateName in interface GroupDAOname - scope - GrouperDAOExceptionpublic static void massageSortFields(QuerySort querySort)
querySort - public static void massageSortFields(QuerySort querySort, String alias)
querySort - alias - is the hql query aliaspublic Set<Group> findAllByCreatedAfter(Date d) throws GrouperDAOException
findAllByCreatedAfter in interface GroupDAOd - GrouperDAOExceptionpublic Set<Group> findAllByCreatedAfter(Date d, String scope)
findAllByCreatedAfter in interface GroupDAOd - scope - GrouperDAOExceptionpublic Set<Group> findAllByCreatedBefore(Date d) throws GrouperDAOException
findAllByCreatedBefore in interface GroupDAOd - GrouperDAOExceptionpublic Set<Group> findAllByCreatedBefore(Date d, String scope) throws GrouperDAOException
findAllByCreatedBefore in interface GroupDAOd - scope - GrouperDAOExceptionpublic Set<Group> findAllByModifiedAfter(Date d) throws GrouperDAOException
findAllByModifiedAfter in interface GroupDAOd - GrouperDAOExceptionpublic Set<Group> findAllByModifiedAfter(Date d, String scope) throws GrouperDAOException
findAllByModifiedAfter in interface GroupDAOd - scope - GrouperDAOExceptionpublic Set<Group> findAllByModifiedBefore(Date d) throws GrouperDAOException
findAllByModifiedBefore in interface GroupDAOd - GrouperDAOExceptionpublic Set<Group> findAllByModifiedBefore(Date d, String scope) throws GrouperDAOException
findAllByModifiedBefore in interface GroupDAOd - scope - GrouperDAOExceptionpublic Set<Group> findAllByLastMembershipBefore(Date d) throws GrouperDAOException
findAllByLastMembershipBefore in interface GroupDAOd - GrouperDAOExceptionpublic Set<Group> findAllByLastMembershipBefore(Date d, String scope) throws GrouperDAOException
findAllByLastMembershipBefore in interface GroupDAOd - scope - GrouperDAOExceptionpublic Set<Group> findAllByLastMembershipAfter(Date d) throws GrouperDAOException
findAllByLastMembershipAfter in interface GroupDAOd - GrouperDAOExceptionpublic Set<Group> findAllByLastMembershipAfter(Date d, String scope) throws GrouperDAOException
findAllByLastMembershipAfter in interface GroupDAOd - scope - GrouperDAOExceptionpublic Set<Group> findAllByType(GroupType _gt) throws GrouperDAOException
findAllByType in interface GroupDAO_gt - GrouperDAOExceptionpublic Set<Group> findAllByType(GroupType _gt, String scope) throws GrouperDAOException
findAllByType in interface GroupDAO_gt - scope - GrouperDAOExceptionpublic Group findByAttribute(String attr, String val, boolean exceptionIfNotFound, boolean secureQuery) throws GrouperDAOException, GroupNotFoundException
findByAttribute in interface GroupDAOGrouperDAOExceptionGroupNotFoundExceptionGroupDAO.findByAttribute(java.lang.String, java.lang.String, boolean, boolean)public Group findByAttribute(String attr, String val, boolean exceptionIfNotFound) throws GrouperDAOException, GroupNotFoundException
findByAttribute in interface GroupDAOattr - val - exceptionIfNotFound - GrouperDAOExceptionGroupNotFoundException@Deprecated public Group findByAttribute(String attr, String val) throws GrouperDAOException, GroupNotFoundException
findByAttribute in interface GroupDAOattr - val - GrouperDAOExceptionGroupNotFoundExceptionpublic Group findByName(String name, boolean exceptionIfNotFound) throws GrouperDAOException, GroupNotFoundException
findByName in interface GroupDAOname - exceptionIfNotFound - GrouperDAOExceptionGroupNotFoundExceptionpublic Group findByName(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 notGrouperDAOExceptionGroupNotFoundExceptionpublic Group findByName(String name, boolean exceptionIfNotFound, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups) throws GrouperDAOException, GroupNotFoundException
findByName in interface GroupDAOname - exceptionIfNotFound - exception if cant find groupqueryOptions - if we should use cache or notGrouperDAOExceptionGroupNotFoundExceptionpublic Set<Group> findByApproximateDescriptionSecure(String description, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
findByApproximateDescriptionSecure in interface GroupDAOpublic Set<Group> findByDescriptionSecure(String description, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
findByDescriptionSecure in interface GroupDAOpublic Set<Group> findByDisplayNameSecure(String displayName, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
findByDisplayNameSecure in interface GroupDAOpublic Set<Group> findByApproximateDisplayNameSecure(String displayName, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
findByApproximateDisplayNameSecure in interface GroupDAOpublic Set<Group> findByExtensionSecure(String extension, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
findByExtensionSecure in interface GroupDAOpublic Set<Group> findByApproximateExtensionSecure(String extension, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
findByApproximateExtensionSecure in interface GroupDAOpublic Set<Group> findByDisplayExtensionSecure(String displayExtension, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
findByDisplayExtensionSecure in interface GroupDAOpublic Set<Group> findByApproximateDisplayExtensionSecure(String displayExtension, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
findByApproximateDisplayExtensionSecure in interface GroupDAOpublic Group findByNameSecure(String name, boolean exceptionIfNotFound, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
findByNameSecure in interface GroupDAOname - exceptionIfNotFound - exception if cant find groupqueryOptions - if we should use cache or notGrouperDAOExceptionGroupNotFoundExceptionpublic Group findByNameSecure(String name, boolean exceptionIfNotFound, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups, Set<Privilege> inPrivSet)
findByNameSecure in interface GroupDAOname - exceptionIfNotFound - exception if cant find groupqueryOptions - if we should use cache or nottypeOfGroups - inPrivSet - GrouperDAOExceptionGroupNotFoundExceptionpublic Group findByCurrentName(String name, boolean exceptionIfNotFound) throws GrouperDAOException, GroupNotFoundException
findByCurrentName in interface GroupDAOname - exceptionIfNotFound - GrouperDAOExceptionGroupNotFoundExceptionpublic Group findByAlternateName(String name, boolean exceptionIfNotFound) throws GrouperDAOException, GroupNotFoundException
findByAlternateName in interface GroupDAOname - exceptionIfNotFound - GrouperDAOExceptionGroupNotFoundException@Deprecated public Group findByName(String name) throws GrouperDAOException, GroupNotFoundException
findByName in interface GroupDAOname - GrouperDAOExceptionGroupNotFoundException@Deprecated public Group findByUuid(String uuid) throws GrouperDAOException, GroupNotFoundException
findByUuid in interface GroupDAOGrouperDAOExceptionGroupNotFoundExceptionGroupDAO.findByUuid(String)public Group findByUuid(String uuid, boolean exceptionIfNotFound) throws GrouperDAOException, GroupNotFoundException
findByUuid in interface GroupDAOGrouperDAOExceptionGroupNotFoundExceptionGroupDAO.findByUuid(java.lang.String, boolean)public Group findByUuid(String uuid, boolean exceptionIfNotFound, QueryOptions queryOptions) throws GrouperDAOException, GroupNotFoundException
findByUuid in interface GroupDAOGrouperDAOExceptionGroupNotFoundExceptionGroupDAO.findByUuid(java.lang.String, boolean, QueryOptions)public Group findByUuid(String uuid, boolean exceptionIfNotFound, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups) throws GrouperDAOException, GroupNotFoundException
findByUuid in interface GroupDAOtypeOfGroups - to search in or null for allGrouperDAOExceptionGroupNotFoundExceptionGroupDAO.findByUuid(java.lang.String, boolean, QueryOptions, Set)public Group findByUuidSecure(String uuid, boolean exceptionIfNotFound, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups) throws GrouperDAOException, GroupNotFoundException
GroupDAOfindByUuidSecure in interface GroupDAOGrouperDAOExceptionGroupNotFoundExceptionGroupDAO.findByUuid(java.lang.String, boolean, QueryOptions, Set)public Set<Group> getAllGroups() throws GrouperDAOException
getAllGroups in interface GroupDAOGrouperDAOExceptionpublic Set<Group> getAllGroups(String scope) throws GrouperDAOException
getAllGroups in interface GroupDAOscope - GrouperDAOExceptionpublic Set<Group> getImmediateChildren(Stem stem) throws GrouperDAOException
getImmediateChildren in interface GroupDAOstem - GrouperDAOExceptionpublic void update(Group _g) throws GrouperDAOException
update in interface GroupDAO_g - GrouperDAOExceptionprotected static void reset(HibernateSession hibernateSession) throws org.hibernate.HibernateException
hibernateSession - org.hibernate.HibernateExceptionpublic Set<Group> findAllByAttr(String attr, String val) throws GrouperDAOException, IllegalStateException
Implementation Notes.
findAllByAttr in interface GroupDAOGrouperDAOExceptionIllegalStateExceptionGroupDAO.findAllByAttr(java.lang.String, java.lang.String)public Set<Group> findAllByAttr(String attr, String val, String scope, boolean secureQuery) throws GrouperDAOException, IllegalStateException
findAllByAttr in interface GroupDAOGrouperDAOExceptionIllegalStateExceptionGroupDAO.findAllByAttr(java.lang.String, java.lang.String, java.lang.String, boolean)public Set<Group> findAllByAttr(String attr, String val, String scope, boolean secureQuery, Boolean enabled) throws GrouperDAOException, IllegalStateException
findAllByAttr in interface GroupDAOGrouperDAOExceptionIllegalStateExceptionGroupDAO.findAllByAttr(java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.Boolean)public Set<Group> findAllByAttr(String attr, String val, String scope) throws GrouperDAOException, IllegalStateException
Implementation Notes.
findAllByAttr in interface GroupDAOGrouperDAOExceptionIllegalStateExceptionGroupDAO.findAllByAttr(java.lang.String, java.lang.String, java.lang.String)public Set<Group> findByCreatorOrModifier(Member member)
findByCreatorOrModifier in interface GroupDAOmember - public Set<Group> getAllGroupsSecure(GrouperSession grouperSession, Subject subject, 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 setsGrouperDAOExceptionGroupDAO.getAllGroupsSecure(GrouperSession, Subject, Set, QueryOptions, Set)public Set<Group> getAllGroupsSecure(GrouperSession grouperSession, Subject subject, Set<Privilege> inPrivSet, QueryOptions queryOptions, 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 allGrouperDAOExceptionpublic Set<Group> getAllGroupsSecure(GrouperSession grouperSession, Subject subject, Set<Privilege> inPrivSet, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups, Boolean enabled) 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 setsenabled - typeOfGroups - type of groups to return, or null for allGrouperDAOExceptionpublic Set<Group> getAllGroupsSecure(String scope, GrouperSession grouperSession, Subject subject, 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 setsGrouperDAOExceptionGroupDAO.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 Set<Group> getAllGroupsSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> inPrivSet, QueryOptions queryOptions, 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 allGrouperDAOExceptionGroupDAO.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 Set<Group> getAllGroupsSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> inPrivSet, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups, Boolean enabled) 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 allGrouperDAOExceptionGroupDAO.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, java.lang.Boolean)public Set<Group> getImmediateChildrenSecure(GrouperSession grouperSession, Stem stem, Subject subject, Set<Privilege> inPrivSet, QueryOptions queryOptions) throws GrouperDAOException
GroupDAOgetImmediateChildrenSecure 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 setsGrouperDAOExceptionGroupDAO.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 Set<Group> getImmediateChildrenSecure(GrouperSession grouperSession, Stem stem, Subject subject, Set<Privilege> inPrivSet, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups) throws GrouperDAOException
GroupDAOgetImmediateChildrenSecure 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 allGrouperDAOExceptionGroupDAO.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 Set<Group> getImmediateChildrenSecure(GrouperSession grouperSession, Stem stem, Subject subject, Set<Privilege> inPrivSet, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups, Boolean enabled) throws GrouperDAOException
GroupDAOgetImmediateChildrenSecure 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 allGrouperDAOExceptionGroupDAO.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, java.util.Set, java.lang.Boolean)public Set<Group> findByUuids(Collection<String> uuids, boolean exceptionOnNotFound) throws GroupNotFoundException
GroupDAOfindByUuids in interface GroupDAOexceptionOnNotFound - if exception should be thrown when a uuid doesnt match upGroupNotFoundExceptionGroupDAO.findByUuids(java.util.Collection, boolean)public Set<Group> getAllGroupsMembershipSecure(GrouperSession grouperSession, Subject subject, 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 setsGrouperDAOExceptionGroupDAO.getAllGroupsMembershipSecure(edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions, boolean)public Set<Group> getAllGroupsMembershipSecure(String scope, GrouperSession grouperSession, Subject subject, 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 setsGrouperDAOExceptionGroupDAO.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 Set<Group> getAllGroupsMembershipSecure(String scope, GrouperSession grouperSession, Subject subject, 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 setsGrouperDAOExceptionGroupDAO.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 Set<Group> getImmediateChildrenMembershipSecure(GrouperSession grouperSession, Stem stem, Subject subject, Set<Privilege> inPrivSet, QueryOptions queryOptions, boolean enabledOnly) throws GrouperDAOException
GroupDAOgetImmediateChildrenMembershipSecure 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 setsGrouperDAOExceptionGroupDAO.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(String groupId)
updateLastMembershipChange in interface GroupDAOGroupDAO.updateLastMembershipChange(java.lang.String)public void updateLastImmediateMembershipChange(String groupId)
updateLastImmediateMembershipChange in interface GroupDAOGroupDAO.updateLastImmediateMembershipChange(java.lang.String)public void updateLastMembershipChangeIncludeAncestorGroups(String groupId)
GroupDAOupdateLastMembershipChangeIncludeAncestorGroups in interface GroupDAOGroupDAO.updateLastMembershipChangeIncludeAncestorGroups(java.lang.String)public Set<Group> getAllGroupsMembershipSecure(Field field, String scope, GrouperSession grouperSession, Subject subject, QueryOptions queryOptions, 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 oneGrouperDAOExceptionedu.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(String uuid, String name, boolean exceptionIfNull) throws GrouperDAOException, GroupNotFoundException
findByUuidOrName in interface GroupDAOGrouperDAOExceptionGroupNotFoundExceptionGroupDAO.findByUuidOrName(java.lang.String, java.lang.String, boolean)public Group findByUuidOrName(String uuid, String name, boolean exceptionIfNull, QueryOptions queryOptions) throws GrouperDAOException, GroupNotFoundException
findByUuidOrName in interface GroupDAOGrouperDAOExceptionGroupNotFoundExceptionGroupDAO.findByUuidOrName(java.lang.String, java.lang.String, boolean, QueryOptions)public void saveUpdateProperties(Group group)
GroupDAOsaveUpdateProperties in interface GroupDAOGroupDAO.saveUpdateProperties(edu.internet2.middleware.grouper.Group)public Set<Group> findAllByType(GroupType _gt, QueryOptions queryOptions) throws GrouperDAOException
GroupDAOfindAllByType in interface GroupDAOGrouperDAOExceptionGroupDAO.findAllByType(GroupType, QueryOptions)public Set<Group> findGroupsInStemWithoutPrivilege(GrouperSession grouperSession, String stemId, Stem.Scope scope, Subject subject, Privilege privilege, QueryOptions queryOptions, boolean considerAllSubject, String sqlLikeString)
GroupDAOfindGroupsInStemWithoutPrivilege in interface GroupDAOGroupDAO#findGroupsInStemWithoutPrivilege(GrouperSession, String, Scope, Subject, Privilege, QueryOptions, boolean, String)public Set<Group> getAllGroupsSplitScopeSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, TypeOfGroup typeOfGroup)
GroupDAOgetAllGroupsSplitScopeSecure in interface GroupDAOtypeOfGroup - or null for allGroupDAO.getAllGroupsSplitScopeSecure(String, GrouperSession, Subject, Set, QueryOptions, TypeOfGroup)public Set<Group> getAllGroupsSplitScopeSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
GroupDAOgetAllGroupsSplitScopeSecure in interface GroupDAOtypeOfGroups - or null for allGroupDAO.getAllGroupsSplitScopeSecure(String, GrouperSession, Subject, Set, QueryOptions, Set)public static String assignFilterToQuery(String filter, Boolean splitScope, StringBuilder whereClause, ByHqlStatic byHqlStatic, boolean findByUuidOrName, String alias, boolean addFinalParen)
byHqlStatic - filter - splitScope - default truewhereClause - findByUuidOrName - generally this is falsealias - e.g. theGroup whatever alias in hql queryaddFinalParen - public Set<Group> findAllByApproximateAttrSecure(String attr, String val, String scope, Boolean enabled) throws GrouperDAOException, IllegalStateException
findAllByApproximateAttrSecure in interface GroupDAOattr - attribute nameval - valuescope - some folder or null for allGrouperDAOExceptionIllegalStateExceptionGroupDAO.findAllByApproximateAttrSecure(java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean)public Set<Group> findAllByApproximateAttrSecure(String attr, String val, String scope) throws GrouperDAOException, IllegalStateException
findAllByApproximateAttrSecure in interface GroupDAOattr - attribute nameval - valuescope - some folder or null for allGrouperDAOExceptionIllegalStateExceptionGroupDAO.findAllByApproximateAttrSecure(java.lang.String, java.lang.String, java.lang.String)public Set<Group> findByNamesSecure(Collection<String> names, QueryOptions queryOptions)
findByNamesSecure in interface GroupDAOGroupDAO.findByNamesSecure(Collection, QueryOptions)public Set<Group> findByNamesSecure(Collection<String> names, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
findByNamesSecure in interface GroupDAOGroupDAO.findByNamesSecure(Collection, QueryOptions)public Set<Group> findByUuidsSecure(Collection<String> uuids, QueryOptions queryOptions)
GroupDAOfindByUuidsSecure in interface GroupDAOGroupDAO.findByUuidsSecure(Collection, QueryOptions)public Set<Group> findByUuidsSecure(Collection<String> uuids, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups)
GroupDAOfindByUuidsSecure in interface GroupDAOGroupDAO.findByUuidsSecure(Collection, QueryOptions, Set)public Group findByIdIndex(Long idIndex, boolean exceptionIfNotFound) throws GroupNotFoundException
findByIdIndex in interface GroupDAOGroupNotFoundExceptionpublic Group findByIdIndexSecure(Long idIndex, boolean exceptionIfNotFound, QueryOptions queryOptions) throws GroupNotFoundException
GroupDAOfindByIdIndexSecure in interface GroupDAOidIndex - id index to findexceptionIfNotFound - true if exception should be thrown if not foundqueryOptions - query optionsGroupNotFoundExceptionGroupDAO.findByIdIndexSecure(Long, boolean, QueryOptions)public Set<Group> getAllGroupsSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups, boolean splitScope, Subject membershipSubject, Field field)
GroupDAOgetAllGroupsSecure in interface GroupDAOtypeOfGroups - or null for allGroupDAO.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 Set<Group> getAllGroupsSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups, boolean splitScope, Subject membershipSubject, Field field, String parentStemId, Stem.Scope stemScope, boolean findByUuidOrName, Subject subjectNotInGroup, Collection<String> groupIds, Collection<String> groupNames, Boolean compositeOwner)
GroupDAOgetAllGroupsSecure 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 ownersGroupDAO#getAllGroupsSecure(String, GrouperSession, Subject, Set, QueryOptions, Set, boolean, Subject, Field, String, Scope, boolean, Subject, Collection, Collection, Boolean)public Set<Group> getAllGroupsSecure(String scope, GrouperSession grouperSession, Subject subject, Set<Privilege> privileges, QueryOptions queryOptions, Set<TypeOfGroup> typeOfGroups, 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)
GroupDAOgetAllGroupsSecure 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 nameGroupDAO#getAllGroupsSecure(String, GrouperSession, Subject, Set, QueryOptions, Set, boolean, Subject, Field, String, Scope, boolean, Subject, Collection, Collection, Boolean, String, Object)public 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)
GroupDAOgetAllGroupsSecure in interface GroupDAOtypeOfGroup - 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 nameattributeValuesOnAssignment - if looking for an attribute value on an assignment, could be multiple valuesattributeCheckReadOnAttributeDef - use security around attribute def? default is trueGroupDAO#getAllGroupsSecure(String, GrouperSession, Subject, Set, QueryOptions, Set, boolean, Subject, Field, String, Scope, boolean, Subject, Collection, Collection, Boolean, String, Object, Set, Boolean)public Set<Group> findGroupsInStemWithPrivilege(GrouperSession grouperSession, String stemId, Stem.Scope scope, Subject subject, Privilege privilege, QueryOptions queryOptions, boolean considerAllSubject, String sqlLikeString)
GroupDAOfindGroupsInStemWithPrivilege in interface GroupDAOGroupDAO#findGroupsInStemWithPrivilege(GrouperSession, String, Scope, Subject, Privilege, QueryOptions, boolean, String)public 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)
GroupDAOgetAllGroupsSecure in interface GroupDAOtypeOfGroup - 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 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 valuesGroupDAO#getAllGroupsSecure(String, GrouperSession, Subject, Set, QueryOptions, Set, boolean, Subject, Field, String, Scope, boolean, Subject, Collection, Collection, Boolean, String, Object, Set, Boolean, String, Object)public Set<Group> findAllEnabledDisabledMismatch()
GroupDAOfindAllEnabledDisabledMismatch in interface GroupDAOGroupDAO.findAllEnabledDisabledMismatch()Copyright © 2016 Internet2. All rights reserved.