@Override public SearchCond getAllMatchingCond() { AnyCond idCond = new AnyCond(AttributeCond.Type.ISNOTNULL); idCond.setSchema("id"); return SearchCond.getLeafCond(idCond); }
public static SearchCond getNotLeafCond(final AttributeCond attributeCond) { SearchCond nodeCond = getLeafCond(attributeCond); nodeCond.type = Type.NOT_LEAF; return nodeCond; }
public static SearchCond getLeafCond(final AttributeCond attributeCond) { SearchCond nodeCond = new SearchCond(); nodeCond.type = Type.LEAF; if (attributeCond instanceof AnyCond) { nodeCond.anyCond = (AnyCond) attributeCond; } else { nodeCond.attributeCond = attributeCond; } return nodeCond; }
public static SearchCond getNotLeafCond(final RelationshipCond relationshipCond) { SearchCond nodeCond = getLeafCond(relationshipCond); nodeCond.type = Type.NOT_LEAF; return nodeCond; }
public static SearchCond getLeafCond(final PrivilegeCond privilegeCond) { SearchCond nodeCond = new SearchCond(); nodeCond.type = Type.LEAF; nodeCond.privilegeCond = privilegeCond; return nodeCond; }
public static SearchCond getNotLeafCond(final PrivilegeCond privilegeCond) { SearchCond nodeCond = getLeafCond(privilegeCond); nodeCond.type = Type.NOT_LEAF; return nodeCond; }
public static SearchCond getLeafCond(final AssignableCond assignableCond) { SearchCond nodeCond = new SearchCond(); nodeCond.type = Type.LEAF; nodeCond.assignableCond = assignableCond; return nodeCond; }
public static SearchCond getNotLeafCond(final ResourceCond resourceCond) { SearchCond nodeCond = getLeafCond(resourceCond); nodeCond.type = Type.NOT_LEAF; return nodeCond; }
public static SearchCond getLeafCond(final MemberCond memberCond) { SearchCond nodeCond = new SearchCond(); nodeCond.type = Type.LEAF; nodeCond.memberCond = memberCond; return nodeCond; }
public static SearchCond getNotLeafCond(final MemberCond memberCond) { SearchCond nodeCond = getLeafCond(memberCond); nodeCond.type = Type.NOT_LEAF; return nodeCond; }
public static SearchCond getAndCond(final SearchCond leftCond, final SearchCond rightCond) { SearchCond nodeCond = new SearchCond(); nodeCond.type = Type.AND; nodeCond.leftSearchCond = leftCond; nodeCond.rightSearchCond = rightCond; return nodeCond; }
public static SearchCond getNotLeafCond(final MembershipCond membershipCond) { SearchCond nodeCond = getLeafCond(membershipCond); nodeCond.type = Type.NOT_LEAF; return nodeCond; }
public static SearchCond getOrCond(final SearchCond leftCond, final SearchCond rightCond) { SearchCond nodeCond = new SearchCond(); nodeCond.type = Type.OR; nodeCond.leftSearchCond = leftCond; nodeCond.rightSearchCond = rightCond; return nodeCond; }
public static SearchCond getLeafCond(final AnyTypeCond anyTypeCond) { SearchCond nodeCond = new SearchCond(); nodeCond.type = Type.LEAF; nodeCond.anyTypeCond = anyTypeCond; return nodeCond; }
public static SearchCond getLeafCond(final RelationshipCond relationshipCond) { SearchCond nodeCond = new SearchCond(); nodeCond.type = Type.LEAF; nodeCond.relationshipCond = relationshipCond; return nodeCond; }
public static SearchCond getLeafCond(final RelationshipTypeCond relationshipTypeCond) { SearchCond nodeCond = new SearchCond(); nodeCond.type = Type.LEAF; nodeCond.relationshipTypeCond = relationshipTypeCond; return nodeCond; }
public static SearchCond getLeafCond(final MembershipCond membershipCond) { SearchCond nodeCond = new SearchCond(); nodeCond.type = Type.LEAF; nodeCond.membershipCond = membershipCond; return nodeCond; }
public static SearchCond getLeafCond(final RoleCond roleCond) { SearchCond nodeCond = new SearchCond(); nodeCond.type = Type.LEAF; nodeCond.roleCond = roleCond; return nodeCond; }
public static SearchCond getLeafCond(final DynRealmCond dynRealmCond) { SearchCond nodeCond = new SearchCond(); nodeCond.type = Type.LEAF; nodeCond.dynRealmCond = dynRealmCond; return nodeCond; }
public static SearchCond getLeafCond(final ResourceCond resourceCond) { SearchCond nodeCond = new SearchCond(); nodeCond.type = Type.LEAF; nodeCond.resourceCond = resourceCond; return nodeCond; }