Package org.jahia.data.beans

Examples of org.jahia.data.beans.CategoryBean


                category = Category.getCategory(getString().substring(getString().lastIndexOf("/") + 1));
            } else if (getType() == PropertyType.REFERENCE) {
                category = Category.getCategoryByUUID(getString());
            }
            if (category == null) throw new ValueFormatException(getString() + " is not a valid Jahia Category");
            return new CategoryBean(category);
        } catch (JahiaException e) {
            logger.error("Category not found");
        }

    throw new ItemNotFoundException("category " + getString() + " not found");
View Full Code Here

TOP

Related Classes of org.jahia.data.beans.CategoryBean

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.