Package org.jahia.content

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


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

        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

Related Classes of org.jahia.content.CategoryKey

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.