Package framework.beans.directory

Examples of framework.beans.directory.DirectoryEntity


            f = new Field[]{ new Field("title", item.title) };
        }

        Iterator iterator = findEntityList(entityClass, f).iterator();
        while (iterator.hasNext()) {
            DirectoryEntity de = (DirectoryEntity)iterator.next();
            if (item.id != de.getId()) {
                throw new EDataIntegrity("Элемент справочника с таким названием (или внешним ключем) уже присутствует в базе");
            }
        }

    }
View Full Code Here



    @Override
    final public void replace(int whatID, int withID) throws ClipsServerException {
        checkCommandAccessibility(COMMAND_WRITE);
        DirectoryEntity entityWhat = (DirectoryEntity) findEntity(entityClass, whatID);
        DirectoryEntity entityWith = (DirectoryEntity) findEntity(entityClass, withID);
        if (entityWhat instanceof Surname) {
            replaceSurname(entityWhat, entityWith);
        } else if (entityWhat instanceof Name) {
            replaceName(entityWhat, entityWith);
        } else if (entityWhat instanceof Patronymic) {
View Full Code Here

TOP

Related Classes of framework.beans.directory.DirectoryEntity

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.