public interface KPMEGroupService
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMemberOfGroup(String principalId,
String groupName,
org.joda.time.DateTime asOfDate)
Checks whether the given
principalId is a member of the group groupName. |
boolean |
isMemberOfGroupWithId(String principalId,
String groupId,
org.joda.time.DateTime asOfDate) |
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. |
@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 membershipprincipalId is a member of the group groupName, false otherwise.@Cacheable(value="http://rice.kuali.org/kim/v2_0/GroupMemberType",
key="\'{KPME|isMemberOfGroupWithId}\' + \'principal=\' + #p0 + \'|\' + \'groupId=\' + #p1 + \'|\' + \'asOfDate=\' + #p2")
boolean isMemberOfGroupWithId(String principalId,
String groupId,
org.joda.time.DateTime asOfDate)
@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 membershipprincipalId 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 membershipprincipalId is a system view only user, false otherwiseCopyright © 2004–2015 The Kuali Foundation. All rights reserved.