Package de.xanders.data.system.dao

Examples of de.xanders.data.system.dao.Property


    /**
     * @see PropertyService#getPropertyById(java.lang.Long)
     */
    protected PropertyVO handleGetPropertyById(Long propertyId)
        throws java.lang.Exception {
      Property property = this.getPropertyDao().load(propertyId);
      return this.getPropertyDao().toPropertyVO(property);
    }
View Full Code Here


    /**
     * @see PropertyService#saveProperty(PropertyVO)
     */
    protected PropertyVO handleSaveProperty(PropertyVO propertyVO)
        throws java.lang.Exception {
      Property property = this.getPropertyDao().propertyVOToEntity(propertyVO);
        if (property.getPropertyId() == null) {
            property = this.getPropertyDao().create(property);
            propertyVO.setPropertyId(property.getPropertyId());
        }
        else {
            this.getPropertyDao().update(property);           
        }
        return propertyVO;
View Full Code Here

TOP

Related Classes of de.xanders.data.system.dao.Property

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.