Package org.infoglue.cms.entities.management.impl.simple

Examples of org.infoglue.cms.entities.management.impl.simple.PropertiesCategoryImpl


    // Need this crappy hack to forge the relationship (castor completely sucks like this)
    // TODO: When hibernate comes, just save the VOs and if it has a child VO with an id set
    // TODO: it is used to make the relationship...ask me for clarification -frank
    Category category = (Category)getObjectWithId(CategoryImpl.class, c.getCategory().getId(), db);

    PropertiesCategory propertiesCategory = new PropertiesCategoryImpl();
    propertiesCategory.setValueObject(c);
    propertiesCategory.setCategory((CategoryImpl)category);
    db.create(propertiesCategory);
    return propertiesCategory;
  }
View Full Code Here

TOP

Related Classes of org.infoglue.cms.entities.management.impl.simple.PropertiesCategoryImpl

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.