コード例 #1
0
 public void deleteRole() {
   roleResourceRegistration.deleteRole(selectApplicationRole);
   currentApplicationResources = null;
 }
コード例 #2
0
 public void removeResourceFromRole(ApplicationResource applicationResource) {
   roleResourceRegistration.remove(selectApplicationRole, applicationResource);
   selectApplicationRole.removeApplicationResource(applicationResource);
 }
コード例 #3
0
 public void createApplicationRole() {
   roleResourceRegistration.createRole(newApplicationRole);
   initNewApplicationRole();
 }
コード例 #4
0
 public void onResourceChosen(SelectEvent event) {
   ApplicationResource resource = (ApplicationResource) event.getObject();
   roleResourceRegistration.add(selectApplicationRole, resource);
   selectApplicationRole.addApplicationResource(resource);
 }