|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KPMEGroupService
Method Summary | |
---|---|
boolean |
isMemberOfGroup(String principalId,
String groupName,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId is a member of the group groupName . |
boolean |
isMemberOfSystemAdministratorGroup(String principalId,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId is a system administrator. |
boolean |
isMemberOfSystemViewOnlyGroup(String principalId,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId is a system view only user. |
Method Detail |
---|
@Cacheable(value="http://rice.kuali.org/kim/v2_0/GroupMemberType", key="\'{KPME|isMemberOfGroup}\' + \'principal=\' + #p0 + \'|\' + \'groupName=\' + #p1 + \'|\' + \'asOfDate=\' + #p2") boolean isMemberOfGroup(String principalId, String groupName, org.joda.time.DateTime asOfDate)
principalId
is a member of the group groupName
.
principalId
- The person to check the group membership forgroupName
- The name of the groupasOfDate
- The effective date of the group membership
principalId
is a member of the group groupName
, false otherwise.@Cacheable(value="http://rice.kuali.org/kim/v2_0/GroupMemberType", key="\'{KPME|isMemberOfSystemAdministratorGroup}\' + \'principal=\' + #p0 + \'|\' + \'asOfDate=\' + #p1") boolean isMemberOfSystemAdministratorGroup(String principalId, org.joda.time.DateTime asOfDate)
principalId
is a system administrator.
principalId
- The person to check the group membership forasOfDate
- The effective date of the group membership
principalId
is a system administrator, false otherwise@Cacheable(value="http://rice.kuali.org/kim/v2_0/GroupMemberType", key="\'{KPME|isMemberOfSystemViewOnlyGroup}\' + \'principal=\' + #p0 + \'|\' + \'asOfDate=\' + #p1") boolean isMemberOfSystemViewOnlyGroup(String principalId, org.joda.time.DateTime asOfDate)
principalId
is a system view only user.
principalId
- The person to check the group membership forasOfDate
- The effective date of the group membership
principalId
is a system view only user, false otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |