public interface MemberDAO extends GrouperDAO
Member
DAO interface.Modifier and Type | Method and Description |
---|---|
Set<String> |
_internal_membersComplement(String groupUuid1,
String groupUuid2)
find the set of member uuids of the complement of two groups
|
Set<String> |
_internal_membersIntersection(String groupUuid1,
String groupUuid2)
find the set of member uuids of the intersection of two groups
|
Set<String> |
_internal_membersUnion(String groupUuid1,
String groupUuid2)
find the set of member uuids of the union of two groups
|
void |
create(Member _m) |
boolean |
exists(String uuid) |
void |
existsCachePut(String uuid,
boolean exists)
update the exists cache
|
Set<Member> |
findAll() |
Set<Member> |
findAll(Source source) |
Set<String> |
findAllMemberIdsForUnresolvableCheck()
returns all member ids of non-internal sources.
|
Set<Member> |
findAllUsed(Source source)
find all members that are used somewhere (e.g.
|
Set<Member> |
findByIds(Collection<String> ids,
QueryOptions queryOptions)
find by ids secure
|
Member |
findBySubject(String subjectId)
Deprecated.
use overload
|
Member |
findBySubject(String subjectId,
boolean exceptionIfNull)
find by subject id only (cant be duplicates)
|
Member |
findBySubject(String subjectId,
String src)
Deprecated.
use overload
|
Member |
findBySubject(String subjectId,
String src,
boolean exceptionIfNull)
find by subject id and source id
|
Member |
findBySubject(String id,
String src,
String type)
Deprecated.
use overload
|
Member |
findBySubject(String id,
String src,
String type,
boolean exceptionIfNull) |
Member |
findBySubject(String id,
String src,
String type,
boolean exceptionIfNull,
QueryOptions queryOptions)
find member by subject
|
Member |
findBySubject(Subject subj)
Deprecated.
use overload
|
Member |
findBySubject(Subject subj,
boolean exceptionIfNull) |
Set<Member> |
findBySubjectIds(Collection<String> subjectIds,
String subjectSourceId)
Retrieve Member objects based on a list of SubjectIds within a single SubjectSource
|
Set<Member> |
findBySubjects(Collection<Subject> subjects,
boolean createIfNotExists)
find members by subjects and create if not exist possibly
|
Set<Member> |
findBySubjectsInGroup(GrouperSession grouperSession,
Set<Subject> subjects,
Group group,
Field field,
MembershipType membershipType)
convert a set of subjects to a set of members
|
Member |
findByUuid(String uuid)
Deprecated.
|
Member |
findByUuid(String uuid,
boolean exceptionIfNull) |
Member |
findByUuid(String uuid,
boolean exceptionIfNull,
QueryOptions queryOptions) |
Member |
findByUuidOrSubject(String uuid,
String subjectId,
String source,
boolean exceptionIfNull)
find a member by uuid or subject id
|
Set<Member> |
getAllMembersSecure(GrouperSession grouperSession,
QueryOptions queryOptions,
String idOfAttributeDefName,
Object attributeValue,
Set<Object> attributeValuesOnAssignment,
Boolean attributeCheckReadOnAttributeDef,
String idOfAttributeDefName2,
Object attributeValue2,
Set<Object> attributeValuesOnAssignment2)
get all members secure
|
Set<Member> |
getUnresolvableMembers(QueryOptions queryOptions,
Boolean deleted) |
void |
saveUpdateProperties(Member member)
save the udpate properties which are auto saved when business method is called
|
void |
update(Member _m) |
void |
uuid2dtoCacheRemove(String uuid)
remove from cache
|
Set<Member> findByIds(Collection<String> ids, QueryOptions queryOptions)
ids
- queryOptions
- void create(Member _m) throws GrouperDAOException
GrouperDAOException
boolean exists(String uuid) throws GrouperDAOException
GrouperDAOException
Set<Member> findAll() throws GrouperDAOException
GrouperDAOException
Set<Member> findAll(Source source) throws GrouperDAOException
GrouperDAOException
Set<Member> findAllUsed(Source source) throws GrouperDAOException
source
- GrouperDAOException
@Deprecated Member findBySubject(Subject subj) throws GrouperDAOException, MemberNotFoundException
GrouperDAOException
MemberNotFoundException
Member findBySubject(Subject subj, boolean exceptionIfNull) throws GrouperDAOException, MemberNotFoundException
GrouperDAOException
MemberNotFoundException
@Deprecated Member findBySubject(String id, String src, String type) throws GrouperDAOException, MemberNotFoundException
GrouperDAOException
MemberNotFoundException
Member findBySubject(String id, String src, String type, boolean exceptionIfNull) throws GrouperDAOException, MemberNotFoundException
GrouperDAOException
MemberNotFoundException
Member findBySubject(String id, String src, String type, boolean exceptionIfNull, QueryOptions queryOptions) throws GrouperDAOException, MemberNotFoundException
id
- src
- type
- exceptionIfNull
- queryOptions
- GrouperDAOException
MemberNotFoundException
@Deprecated Member findBySubject(String subjectId) throws GrouperDAOException, MemberNotFoundException, MemberNotUniqueException
subjectId
- GrouperDAOException
MemberNotFoundException
MemberNotUniqueException
Member findBySubject(String subjectId, boolean exceptionIfNull) throws GrouperDAOException, MemberNotFoundException, MemberNotUniqueException
subjectId
- GrouperDAOException
MemberNotFoundException
MemberNotUniqueException
Member findBySubject(String subjectId, String src, boolean exceptionIfNull) throws GrouperDAOException, MemberNotFoundException
subjectId
- src
- GrouperDAOException
MemberNotFoundException
@Deprecated Member findBySubject(String subjectId, String src) throws GrouperDAOException, MemberNotFoundException
subjectId
- src
- GrouperDAOException
MemberNotFoundException
@Deprecated Member findByUuid(String uuid) throws GrouperDAOException, MemberNotFoundException
GrouperDAOException
MemberNotFoundException
Member findByUuid(String uuid, boolean exceptionIfNull) throws GrouperDAOException, MemberNotFoundException
GrouperDAOException
MemberNotFoundException
Member findByUuid(String uuid, boolean exceptionIfNull, QueryOptions queryOptions) throws GrouperDAOException, MemberNotFoundException
GrouperDAOException
MemberNotFoundException
void update(Member _m) throws GrouperDAOException
GrouperDAOException
void existsCachePut(String uuid, boolean exists)
uuid
- exists
- void uuid2dtoCacheRemove(String uuid)
uuid
- Set<String> _internal_membersIntersection(String groupUuid1, String groupUuid2)
groupUuid1
- groupUuid2
- Set<String> _internal_membersUnion(String groupUuid1, String groupUuid2)
groupUuid1
- groupUuid2
- Set<String> _internal_membersComplement(String groupUuid1, String groupUuid2)
groupUuid1
- groupUuid2
- Set<Member> findBySubjectsInGroup(GrouperSession grouperSession, Set<Subject> subjects, Group group, Field field, MembershipType membershipType)
grouperSession
- subjects
- to convert to membersgroup
- that subjects must be infield
- that they must be in in the group (null will default to eh members listmembershipType
- that they must be in in the group or null for anySet<Member> findBySubjects(Collection<Subject> subjects, boolean createIfNotExists)
subjects
- createIfNotExists
- Set<Member> findBySubjectIds(Collection<String> subjectIds, String subjectSourceId)
subjectIds
- subjectSourceId
- Member findByUuidOrSubject(String uuid, String subjectId, String source, boolean exceptionIfNull)
uuid
- subjectId
- source
- exceptionIfNull
- void saveUpdateProperties(Member member)
member
- Set<Member> getAllMembersSecure(GrouperSession grouperSession, QueryOptions queryOptions, String idOfAttributeDefName, Object attributeValue, Set<Object> attributeValuesOnAssignment, Boolean attributeCheckReadOnAttributeDef, String idOfAttributeDefName2, Object attributeValue2, Set<Object> attributeValuesOnAssignment2)
grouperSession
- subject
- privileges
- queryOptions
- idOfAttributeDefName
- if looking for members that have this attribute def nameattributeValue
- if looking for members 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 members that have this attribute def name2attributeValue2
- if looking for members that have this attribute value2 on the attribute def name2attributeValuesOnAssignment2
- if looking for an attribute value on an assignment2, could be multiple valuesSet<Member> getUnresolvableMembers(QueryOptions queryOptions, Boolean deleted)
queryOptions
- deleted
- true - return unresolvable members that are deleted
false - return unresolvable members that are not deleted
null - return all unresolvable membersCopyright © 2016 Internet2. All rights reserved.