String name = parkOrbit.getName(); final String parkOrbitTypeName = "call park extension"; DaoUtils.checkDuplicates(getHibernateTemplate(), parkOrbit, NAME_PROP_NAME, new NameInUseException(parkOrbitTypeName, name)); String extension = parkOrbit.getExtension(); DaoUtils.checkDuplicates(getHibernateTemplate(), parkOrbit, EXTENSION_PROP_NAME, new ParkOrbitExtensionInUseException(extension));
    public void storeParkOrbit(ParkOrbit parkOrbit) {        getHibernateTemplate().saveOrUpdate(parkOrbit);    }