public ProjectRole addProjectRole(final ProjectRole projectRole) {
   try {
     return delegate.addProjectRole(projectRole);
   } finally {
     projectRoles.reset();
   }
 }
 public void updateProjectRole(final ProjectRole projectRole) {
   try {
     delegate.updateProjectRole(projectRole);
   } finally {
     projectRoles.reset();
   }
 }
 public void deleteProjectRole(final ProjectRole projectRole) {
   final long projectRoleId =
       notNull("projectRole.getId()", notNull("projectRole", projectRole).getId());
   try {
     delegate.deleteProjectRole(projectRole);
   } finally {
     projectRoles.reset();
     defaultRoleActors.remove(projectRoleId);
     projectRoleActors.removeAll();
   }
 }
 public void clearCaches() {
   projectRoles.reset();
   defaultRoleActors.removeAll();
   projectRoleActors.removeAll();
 }