Package org.palo.api.subsets

Examples of org.palo.api.subsets.Subset2


    if (subset == null || element == null) {
      return false;
    }
    AxisHierarchy axisHierarchy = toNative(sessionId, axisHierarchyId, viewId, axisId);
    Hierarchy h = axisHierarchy.getHierarchy();
    Subset2 s = h.getSubsetHandler().getSubset(subset.getId(), Subset2.TYPE_GLOBAL);
    if (s == null) {
      s = h.getSubsetHandler().getSubset(subset.getId(), Subset2.TYPE_LOCAL);
    }
    if (s == null) {
      return false;
    }
    for (Element e: s.getElements()) {
      if (e.getId().equals(element.getId())) {
        return true;
      }
    }
    return false;
View Full Code Here

TOP

Related Classes of org.palo.api.subsets.Subset2

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.