| 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.service.IdentityManagementNotificationService; | |
| 19 |  import org.kuali.rice.kim.service.KIMServiceLocator; | |
| 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 |          KIMServiceLocator.getIdentityManagementService().flushGroupCaches(); | 
| 37 | 0 |      } | 
| 38 | ||
| 39 |      /** | |
| 40 |       * @see org.kuali.rice.kim.service.IdentityManagementNotificationService#permissionUpdated() | |
| 41 |       */ | |
| 42 | public void permissionUpdated() {  | |
| 43 | 0 |          KIMServiceLocator.getIdentityManagementService().flushPermissionCaches(); | 
| 44 | 0 |      } | 
| 45 | ||
| 46 |      /** | |
| 47 |       * @see org.kuali.rice.kim.service.IdentityManagementNotificationService#principalUpdated() | |
| 48 |       */ | |
| 49 | public void principalUpdated() {  | |
| 50 | 0 |          KIMServiceLocator.getIdentityManagementService().flushEntityPrincipalCaches(); | 
| 51 | 0 |          KIMServiceLocator.getPersonService().flushPersonCaches(); | 
| 52 | 0 |      } | 
| 53 | ||
| 54 |      /** | |
| 55 |       * @see org.kuali.rice.kim.service.IdentityManagementNotificationService#responsibilityUpdated() | |
| 56 |       */ | |
| 57 | public void responsibilityUpdated() {  | |
| 58 | 0 |          KIMServiceLocator.getIdentityManagementService().flushResponsibilityCaches(); | 
| 59 | 0 |      } | 
| 60 | ||
| 61 |      /** | |
| 62 |       * @see org.kuali.rice.kim.service.IdentityManagementNotificationService#roleUpdated() | |
| 63 |       */ | |
| 64 | public void roleUpdated() {  | |
| 65 | 0 |          KIMServiceLocator.getRoleManagementService().flushRoleCaches(); | 
| 66 | 0 |      } | 
| 67 | ||
| 68 |      /** | |
| 69 |       * @see org.kuali.rice.kim.service.IdentityManagementNotificationService#roleMemberUpdated() | |
| 70 |       */ | |
| 71 | public void roleMemberUpdated() {  | |
| 72 | 0 |              KIMServiceLocator.getRoleManagementService().flushRoleMemberCaches(); | 
| 73 | 0 |      } | 
| 74 | ||
| 75 |      /** | |
| 76 |       * @see org.kuali.rice.kim.service.IdentityManagementNotificationService#delegationUpdated() | |
| 77 |       */ | |
| 78 | public void delegationUpdated() {  | |
| 79 | 0 |              KIMServiceLocator.getRoleManagementService().flushDelegationCaches(); | 
| 80 | 0 |      } | 
| 81 | ||
| 82 |      /** | |
| 83 |       * @see org.kuali.rice.kim.service.IdentityManagementNotificationService#delegationMemberUpdated() | |
| 84 |       */ | |
| 85 | public void delegationMemberUpdated() {  | |
| 86 | 0 |              KIMServiceLocator.getRoleManagementService().flushDelegationMemberCaches(); | 
| 87 | 0 |      } | 
| 88 | }  |