Examples of CategoryKey


Examples of org.jahia.content.CategoryKey

    private CategoryBean categoryBean = null;
    protected static CategoryService categoryService;

    public Category (CategoryBean categoryBean) {
        super (new CategoryKey (categoryBean.getId ()));
        this.categoryBean = categoryBean;
    }
View Full Code Here

Examples of org.jahia.content.CategoryKey

            return null;
        }
        if (categoryBean.getId () == null || categoryBean.getId ().length() == 0) {
            return null;
        }
        return new CategoryKey (categoryBean.getId ());
    }
View Full Code Here

Examples of org.jahia.content.CategoryKey

        Set<Category> categorySet = new HashSet<Category>();
        if (objectKey instanceof CategoryKey) {
            List<ObjectLink> links = ObjectLink.findByTypeAndRightAndLikeLeftObjectKey(
                    CATEGORY_LINKTYPE, objectKey, CATEGORY_CHILD_PREFIX);
            for (ObjectLink curLink : links) {
                CategoryKey curCatKey = (CategoryKey) curLink
                        .getLeftObjectKey();
                Category curCategory = getCategoryByUUID(curCatKey.getIDInType());
                if (curCategory != null) {
                    categorySet.add(curCategory);
                }
            }
        }
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.