public void deleteRole() {
   roleResourceRegistration.deleteRole(selectApplicationRole);
   currentApplicationResources = null;
 }
 public void removeResourceFromRole(ApplicationResource applicationResource) {
   roleResourceRegistration.remove(selectApplicationRole, applicationResource);
   selectApplicationRole.removeApplicationResource(applicationResource);
 }
 public void createApplicationRole() {
   roleResourceRegistration.createRole(newApplicationRole);
   initNewApplicationRole();
 }
 public void onResourceChosen(SelectEvent event) {
   ApplicationResource resource = (ApplicationResource) event.getObject();
   roleResourceRegistration.add(selectApplicationRole, resource);
   selectApplicationRole.addApplicationResource(resource);
 }