Examples of saveDynamicRole()


Examples of org.jresearch.flexess.core.services.IRoleService.saveDynamicRole()

  @Test
  public void testDynaRoles() throws Exception {
    IRoleService roleService = getRoleService();
    IDynamicRoleMetaInfo dynaMeta = roleService.getDynamicRoleImpl("com.jresearchsoft.flexess.examples.orders"); //$NON-NLS-1$
    dynaMeta.setName("superadm"); //$NON-NLS-1$
    dynaMeta = roleService.saveDynamicRole(dynaMeta);
    id = dynaMeta.getId();

    IPermissionService permService = getPermissionService();
    List<IPermissionMetaInfo> perms = permService.getPermissions("com.jresearchsoft.flexess.examples.orders"); //$NON-NLS-1$
    for (IPermissionMetaInfo info : perms) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.