if (queryContext.getAssociatedRoles() != null && queryContext.getAssociatedRoles().size() > 0 && queryContext.getAssociatedRoles().get(0).length() > 0) { int cnt = 1; for (String roleName : queryContext.getAssociatedRoles()) { if (roleConstraints == null) { roleConstraints = "r" + cnt + ".ASSOC_NAME='" + JetspeedPrincipalAssociationType.IS_MEMBER_OF
if (queryContext.getAssociatedRoles() != null && queryContext.getAssociatedRoles().size() > 0 && queryContext.getAssociatedRoles().get(0).length() > 0) { for (String roleName : queryContext.getAssociatedRoles()) { _paramPlaceHolderName = putParamPlaceHolder(_paramPlaceHolders, convertWildcardsForLike(roleName));