Package pl.net.bluesoft.rnd.processtool.dict.xml

Examples of pl.net.bluesoft.rnd.processtool.dict.xml.DictionaryPermission


  public void setDescription(String description) {
    dictionary.setDescription(description);
  }

  public String getEditPermission() {
    DictionaryPermission permission = getEditDictionaryPermission();

    if (permission != null) {
      return permission.getRoleName();
    }
    return null;
  }
View Full Code Here


    }
    return null;
  }

  public void setEditPermission(String editPermission) {
    DictionaryPermission permission = getEditDictionaryPermission();

    if (permission == null) {
      permission = new DictionaryPermission();
      permission.setPrivilegeName("EDIT");
      dictionary.getPermissions().add(permission);
    }
    permission.setRoleName(editPermission);
  }
View Full Code Here

TOP

Related Classes of pl.net.bluesoft.rnd.processtool.dict.xml.DictionaryPermission

Copyright © 2018 www.massapicom. 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.