@ Programmatic public ApplicationRole newRole ( final String name , final String description ) { ApplicationRole role = findByName ( name ) ; if ( role == null ) { role = getApplicationRoleFactory ( ) . newApplicationRole ( ) ; role . setName ( name ) ; role . setDescription ( description ) ; container . persist ( role ) ; } return role ; }
region > newRole