Package org.libreplan.business.materials.daos

Examples of org.libreplan.business.materials.daos.IUnitTypeDAO


        }
        return result;
    }

    private boolean existsUnitTypeWithTheName() {
        IUnitTypeDAO unitTypeDAO = Registry.getUnitTypeDAO();
        return unitTypeDAO.existsUnitTypeByNameInAnotherTransaction(measure);
    }
View Full Code Here


        IUnitTypeDAO unitTypeDAO = Registry.getUnitTypeDAO();
        return unitTypeDAO.existsUnitTypeByNameInAnotherTransaction(measure);
    }

    private boolean isIfExistsTheExistentUnitTypeThisOne() {
        IUnitTypeDAO unitTypeDAO = Registry.getUnitTypeDAO();
        try {
            UnitType unitType = unitTypeDAO
                    .findUniqueByNameInAnotherTransaction(measure);
            return unitType.getId().equals(getId());
        } catch (InstanceNotFoundException e) {
            return true;
        }
View Full Code Here

TOP

Related Classes of org.libreplan.business.materials.daos.IUnitTypeDAO

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.