org.kuali.rice.kim.impl.group
Class GroupInternalServiceImpl

java.lang.Object
  extended by org.kuali.rice.kim.impl.group.GroupInternalServiceImpl
All Implemented Interfaces:
GroupInternalService

public class GroupInternalServiceImpl
extends Object
implements GroupInternalService

Concrete Implementation of GroupInternalService

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
GroupInternalServiceImpl()
           
 
Method Summary
protected  BusinessObjectService getBusinessObjectService()
           
 GroupService getGroupService()
           
 org.kuali.rice.kim.impl.group.GroupBo saveWorkgroup(org.kuali.rice.kim.impl.group.GroupBo group)
          Save the GroupBo, being careful to reset the action document assignments based on any membership changes.
 void updateForUserAddedToGroup(String principalId, String groupId)
          Updates KEW for a the given document for a user who was added to a Group.
 void updateForUserRemovedFromGroup(String principalId, String groupId)
          Updates KEW for a the given document for a user who was removed from a Group.
 void updateForWorkgroupChange(String groupId, List<String> oldPrincipalIds, List<String> newPrincipalIds)
          Updates KEW for workgroup members according to membership differences between the two workgroups.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupInternalServiceImpl

public GroupInternalServiceImpl()
Method Detail

getBusinessObjectService

protected BusinessObjectService getBusinessObjectService()

getGroupService

public GroupService getGroupService()

saveWorkgroup

public org.kuali.rice.kim.impl.group.GroupBo saveWorkgroup(org.kuali.rice.kim.impl.group.GroupBo group)
Description copied from interface: GroupInternalService
Save the GroupBo, being careful to reset the action document assignments based on any membership changes.

Specified by:
saveWorkgroup in interface GroupInternalService

updateForWorkgroupChange

public void updateForWorkgroupChange(String groupId,
                                     List<String> oldPrincipalIds,
                                     List<String> newPrincipalIds)
Description copied from interface: GroupInternalService
Updates KEW for workgroup members according to membership differences between the two workgroups. Since the changeset of such an operation could potentially be quite large, this method should schedule the changes to occur asynchronously to mitigate transaction and concurrent document modification issues.

Specified by:
updateForWorkgroupChange in interface GroupInternalService

updateForUserAddedToGroup

public void updateForUserAddedToGroup(String principalId,
                                      String groupId)
Description copied from interface: GroupInternalService
Updates KEW for a the given document for a user who was added to a Group. This method will generate new action items for the requests on the document which are for the Group. This method will also verify that the user is, in fact, still a member of the Group at the time of the invocation of this method before generating the action items.

Specified by:
updateForUserAddedToGroup in interface GroupInternalService

updateForUserRemovedFromGroup

public void updateForUserRemovedFromGroup(String principalId,
                                          String groupId)
Description copied from interface: GroupInternalService
Updates KEW for a the given document for a user who was removed from a Group. This will delete any action items for the given user on the document which were sent to that user because they were a member of the Group. This method will also verify that the user is still no longer a member of the Group at the time of the method invocation before removing the action items.

Specified by:
updateForUserRemovedFromGroup in interface GroupInternalService


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.