org.kuali.kpme.core.service.group
Class KPMEGroupServiceImpl

java.lang.Object
  extended by org.kuali.kpme.core.service.group.KPMEGroupServiceImpl
All Implemented Interfaces:
KPMEGroupService

public class KPMEGroupServiceImpl
extends Object
implements KPMEGroupService


Constructor Summary
KPMEGroupServiceImpl()
           
 
Method Summary
 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 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KPMEGroupServiceImpl

public KPMEGroupServiceImpl()
Method Detail

isMemberOfGroup

public boolean isMemberOfGroup(String principalId,
                               String groupName,
                               org.joda.time.DateTime asOfDate)
Description copied from interface: KPMEGroupService
Checks whether the given principalId is a member of the group groupName.

Specified by:
isMemberOfGroup in interface KPMEGroupService
Parameters:
principalId - The person to check the group membership for
groupName - The name of the group
asOfDate - The effective date of the group membership
Returns:
true if principalId is a member of the group groupName, false otherwise.

isMemberOfSystemAdministratorGroup

public boolean isMemberOfSystemAdministratorGroup(String principalId,
                                                  org.joda.time.DateTime asOfDate)
Description copied from interface: KPMEGroupService
Checks whether the given principalId is a system administrator.

Specified by:
isMemberOfSystemAdministratorGroup in interface KPMEGroupService
Parameters:
principalId - The person to check the group membership for
asOfDate - The effective date of the group membership
Returns:
true if principalId is a system administrator, false otherwise

isMemberOfSystemViewOnlyGroup

public boolean isMemberOfSystemViewOnlyGroup(String principalId,
                                             org.joda.time.DateTime asOfDate)
Description copied from interface: KPMEGroupService
Checks whether the given principalId is a system view only user.

Specified by:
isMemberOfSystemViewOnlyGroup in interface KPMEGroupService
Parameters:
principalId - The person to check the group membership for
asOfDate - The effective date of the group membership
Returns:
true if principalId is a system view only user, false otherwise

getGroupService

public org.kuali.rice.kim.api.group.GroupService getGroupService()

setGroupService

public void setGroupService(org.kuali.rice.kim.api.group.GroupService groupService)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.