| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| IdentityManagementNotificationServiceImpl |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Copyright 2007-2009 The Kuali Foundation | |
| 3 | * | |
| 4 | * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
| 5 | * you may not use this file except in compliance with the License. | |
| 6 | * You may obtain a copy of the License at | |
| 7 | * | |
| 8 | * http://www.opensource.org/licenses/ecl2.php | |
| 9 | * | |
| 10 | * Unless required by applicable law or agreed to in writing, software | |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 | * See the License for the specific language governing permissions and | |
| 14 | * limitations under the License. | |
| 15 | */ | |
| 16 | package org.kuali.rice.kim.service.impl; | |
| 17 | ||
| 18 | import org.kuali.rice.kim.api.services.KimApiServiceLocator; | |
| 19 | import org.kuali.rice.kim.service.IdentityManagementNotificationService; | |
| 20 | ||
| 21 | /** | |
| 22 | * This is a description of what this class does - jjhanso don't forget to fill this in. | |
| 23 | * | |
| 24 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
| 25 | * | |
| 26 | */ | |
| 27 | 0 | public class IdentityManagementNotificationServiceImpl implements |
| 28 | IdentityManagementNotificationService { | |
| 29 | ||
| 30 | /** | |
| 31 | * This method clears the IdentityManagementService's group cache | |
| 32 | * | |
| 33 | * @see org.kuali.rice.kim.service.IdentityManagementNotificationService#groupUpdated() | |
| 34 | */ | |
| 35 | public void groupUpdated() { | |
| 36 | 0 | KimApiServiceLocator.getIdentityManagementService().flushGroupCaches(); |
| 37 | 0 | } |
| 38 | ||
| 39 | /** | |
| 40 | * @see org.kuali.rice.kim.service.IdentityManagementNotificationService#permissionUpdated() | |
| 41 | */ | |
| 42 | public void permissionUpdated() { | |
| 43 | 0 | KimApiServiceLocator.getIdentityManagementService().flushPermissionCaches(); |
| 44 | 0 | } |
| 45 | ||
| 46 | /** | |
| 47 | * @see org.kuali.rice.kim.service.IdentityManagementNotificationService#principalUpdated() | |
| 48 | */ | |
| 49 | public void principalUpdated() { | |
| 50 | 0 | KimApiServiceLocator.getIdentityManagementService().flushEntityPrincipalCaches(); |
| 51 | 0 | KimApiServiceLocator.getIdentityManagementService().flushGroupCaches(); |
| 52 | 0 | KimApiServiceLocator.getIdentityManagementService().flushResponsibilityCaches(); |
| 53 | 0 | KimApiServiceLocator.getPersonService().flushPersonCaches(); |
| 54 | 0 | roleUpdated(); |
| 55 | 0 | } |
| 56 | ||
| 57 | /** | |
| 58 | * @see org.kuali.rice.kim.service.IdentityManagementNotificationService#responsibilityUpdated() | |
| 59 | */ | |
| 60 | public void responsibilityUpdated() { | |
| 61 | 0 | KimApiServiceLocator.getIdentityManagementService().flushResponsibilityCaches(); |
| 62 | 0 | } |
| 63 | ||
| 64 | /** | |
| 65 | * @see org.kuali.rice.kim.service.IdentityManagementNotificationService#roleUpdated() | |
| 66 | */ | |
| 67 | public void roleUpdated() { | |
| 68 | 0 | KimApiServiceLocator.getRoleManagementService().flushRoleCaches(); |
| 69 | 0 | } |
| 70 | ||
| 71 | /** | |
| 72 | * @see org.kuali.rice.kim.service.IdentityManagementNotificationService#roleMemberUpdated() | |
| 73 | */ | |
| 74 | public void roleMemberUpdated() { | |
| 75 | 0 | KimApiServiceLocator.getRoleManagementService().flushRoleMemberCaches(); |
| 76 | 0 | } |
| 77 | ||
| 78 | /** | |
| 79 | * @see org.kuali.rice.kim.service.IdentityManagementNotificationService#delegationUpdated() | |
| 80 | */ | |
| 81 | public void delegationUpdated() { | |
| 82 | 0 | KimApiServiceLocator.getRoleManagementService().flushDelegationCaches(); |
| 83 | 0 | } |
| 84 | ||
| 85 | /** | |
| 86 | * @see org.kuali.rice.kim.service.IdentityManagementNotificationService#delegationMemberUpdated() | |
| 87 | */ | |
| 88 | public void delegationMemberUpdated() { | |
| 89 | 0 | KimApiServiceLocator.getRoleManagementService().flushDelegationMemberCaches(); |
| 90 | 0 | } |
| 91 | } |