|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MemberDAO
Basic Member
DAO interface.
Method Summary | |
---|---|
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<Member> |
findAllUsed(Source source)
find all members that are used somewhere (e.g. |
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(Subject subj)
Deprecated. use overload |
Member |
findBySubject(Subject subj,
boolean exceptionIfNull)
|
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 |
findByUuidOrSubject(String uuid,
String subjectId,
String source,
boolean exceptionIfNull)
find a member by uuid or subject id |
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 |
Method Detail |
---|
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
@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
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 any
Member findByUuidOrSubject(String uuid, String subjectId, String source, boolean exceptionIfNull)
uuid
- subjectId
- source
- exceptionIfNull
-
void saveUpdateProperties(Member member)
member
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |