Package com.opengamma.engine.view.permission

Examples of com.opengamma.engine.view.permission.PortfolioPermission


  private Map<PortfolioNode, PortfolioPermission> getAccessibleChildNodes(PortfolioNode rootNode, PortfolioPermissionChecker checker) {

    Map<PortfolioNode, PortfolioPermission> eligible = new LinkedHashMap<>();
    for (PortfolioNode node : rootNode.getChildNodes()) {
      PortfolioPermission permission = checker.permissionCheck(node);
      if (permission != PortfolioPermission.DENY) {
        eligible.put(node, permission);
      }
    }
    return eligible;
View Full Code Here

TOP

Related Classes of com.opengamma.engine.view.permission.PortfolioPermission

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.