Package org.kuali.rice.kim.impl.group
Class GroupInternalServiceImpl
java.lang.Object
org.kuali.rice.kim.impl.group.GroupInternalServiceImpl
- All Implemented Interfaces:
GroupInternalService
Concrete Implementation of
GroupInternalService- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.kuali.rice.krad.data.DataObjectServiceprotected GroupServicesaveWorkgroup(GroupBo group) Save the GroupBo, being careful to reset the action document assignments based on any membership changes.voidupdateForUserAddedToGroup(String principalId, String groupId) Updates KEW for a the given document for a user who was added to a Group.voidupdateForUserRemovedFromGroup(String principalId, String groupId) Updates KEW for a the given document for a user who was removed from a Group.voidupdateForWorkgroupChange(String groupId, List<String> oldPrincipalIds, List<String> newPrincipalIds) Updates KEW for workgroup members according to membership differences between the two workgroups.
-
Constructor Details
-
GroupInternalServiceImpl
public GroupInternalServiceImpl()
-
-
Method Details
-
getDataObjectService
protected org.kuali.rice.krad.data.DataObjectService getDataObjectService() -
getGroupService
-
saveWorkgroup
Description copied from interface:GroupInternalServiceSave the GroupBo, being careful to reset the action document assignments based on any membership changes.- Specified by:
saveWorkgroupin interfaceGroupInternalService- Parameters:
group-
-
updateForWorkgroupChange
public void updateForWorkgroupChange(String groupId, List<String> oldPrincipalIds, List<String> newPrincipalIds) Description copied from interface:GroupInternalServiceUpdates 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:
updateForWorkgroupChangein interfaceGroupInternalService
-
updateForUserAddedToGroup
Description copied from interface:GroupInternalServiceUpdates 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:
updateForUserAddedToGroupin interfaceGroupInternalService
-
updateForUserRemovedFromGroup
Description copied from interface:GroupInternalServiceUpdates 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:
updateForUserRemovedFromGroupin interfaceGroupInternalService
-