Examples of IConnectorDAO


Examples of org.libreplan.business.common.daos.IConnectorDAO

    public boolean isUniqueConnectorNameConstraint() {
        if (StringUtils.isBlank(name)) {
            return true;
        }

        IConnectorDAO connectorDAO = Registry.getConnectorDAO();
        if (isNewObject()) {
            return !connectorDAO.existsByNameAnotherTransaction(this);
        } else {
            Connector found = connectorDAO
                    .findUniqueByNameAnotherTransaction(name);
            return found == null || found.getId().equals(getId());
        }

    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.