1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kew.impl.Responsibility;
17
18 import org.kuali.rice.core.api.exception.RiceIllegalArgumentException;
19 import org.kuali.rice.kew.api.Responsibility.ResponsibilityChangeProcessor;
20 import org.kuali.rice.kew.service.KEWServiceLocator;
21
22 import javax.jws.WebParam;
23 import java.util.Set;
24
25 public class ResponsibilityChangeProcessorImpl implements ResponsibilityChangeProcessor {
26
27 @Override
28 public void ResponsibilityChangeContents(@WebParam(name = "responsibilities") Set<String> responsibilities) {
29 if (responsibilities == null) {
30 throw new RiceIllegalArgumentException("responsibilities is null");
31 }
32
33 KEWServiceLocator.getActionRequestService().updateActionRequestsForResponsibilityChange(responsibilities);
34 }
35 }