public class KPMEGroupServiceImpl extends Object implements KPMEGroupService
| Constructor and Description |
|---|
KPMEGroupServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.kuali.rice.kim.api.group.GroupService |
getGroupService() |
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. |
void |
setGroupService(org.kuali.rice.kim.api.group.GroupService groupService) |
public KPMEGroupServiceImpl()
public boolean isMemberOfGroup(String principalId, String groupName, org.joda.time.DateTime asOfDate)
KPMEGroupServiceprincipalId is a member of the group groupName.isMemberOfGroup in interface KPMEGroupServiceprincipalId - 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.public boolean isMemberOfGroupWithId(String principalId, String groupId, org.joda.time.DateTime asOfDate)
isMemberOfGroupWithId in interface KPMEGroupServicepublic boolean isMemberOfSystemAdministratorGroup(String principalId, org.joda.time.DateTime asOfDate)
KPMEGroupServiceprincipalId is a system administrator.isMemberOfSystemAdministratorGroup in interface KPMEGroupServiceprincipalId - The person to check the group membership forasOfDate - The effective date of the group membershipprincipalId is a system administrator, false otherwisepublic boolean isMemberOfSystemViewOnlyGroup(String principalId, org.joda.time.DateTime asOfDate)
KPMEGroupServiceprincipalId is a system view only user.isMemberOfSystemViewOnlyGroup in interface KPMEGroupServiceprincipalId - The person to check the group membership forasOfDate - The effective date of the group membershipprincipalId is a system view only user, false otherwisepublic org.kuali.rice.kim.api.group.GroupService getGroupService()
public void setGroupService(org.kuali.rice.kim.api.group.GroupService groupService)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.