Examples of itemsPredicate()


Examples of com.psddev.cms.db.Site.itemsPredicate()

                if (site != null && !ObjectUtils.isBlank(taxonResults)) {

                    Collection<Taxon> siteTaxons = new ArrayList<Taxon>();

                    for (Taxon taxon : taxonResults) {
                        if (PredicateParser.Static.evaluate(taxon, site.itemsPredicate())) {
                            siteTaxons.add(taxon);
                        }
                    }
                    taxonResults = siteTaxons;
                }
View Full Code Here

Examples of com.psddev.cms.db.Site.itemsPredicate()

        if (user != null) {
            Site site = user.getCurrentSite();

            if (site != null) {
                return site.itemsPredicate();
            }
        }

        return null;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.