/**
* @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;