Examples of removeDbEntity()


Examples of org.apache.cayenne.modeler.action.RemoveAction.removeDbEntity()

                rAction.removeDataMapFromDataNode((DataNode) where, (DataMap) content);
            }
        }
        else if (where instanceof DataMap) {
            if (content instanceof DbEntity) {
                rAction.removeDbEntity(map, (DbEntity) content);
            }
            else if (content instanceof ObjEntity) {
                rAction.removeObjEntity(map, (ObjEntity) content);
            }
            else if (content instanceof Query) {
View Full Code Here

Examples of org.apache.cayenne.modeler.action.RemoveAction.removeDbEntity()

    @Override
    public void undo() throws CannotUndoException {
        RemoveAction action = (RemoveAction) actionManager.getAction(RemoveAction
                .getActionName());
        action.removeDbEntity(map, entity);
    }
}
View Full Code Here

Examples of org.apache.cayenne.modeler.action.RemoveAction.removeDbEntity()

                        (DataMap) content);
            }
        }
        else if (where instanceof DataMap) {
            if (content instanceof DbEntity) {
                rAction.removeDbEntity(map, (DbEntity) content);
            }
            else if (content instanceof ObjEntity) {
                rAction.removeObjEntity(map, (ObjEntity) content);
            }
            else if (content instanceof Embeddable) {
View Full Code Here

Examples of org.apache.cayenne.modeler.action.RemoveAction.removeDbEntity()

                rAction.removeProcedure(map, (Procedure) content);
            }
        }
        else if (where instanceof DbEntity) {
            if (content instanceof DbEntity) {
                rAction.removeDbEntity(map, (DbEntity) content);
            }
            else if (content instanceof DbAttribute) {
                rAttributeAction.removeDbAttributes(
                        map,
                        (DbEntity) where,
View Full Code Here

Examples of org.apache.cayenne.modeler.action.RemoveAction.removeDbEntity()

        switch (this.mode) {
            case OBJECT_ENTITY:
                action.removeObjEntity(map, objEntity);
                break;
            case DB_ENTITY:
                action.removeDbEntity(map, dbEntity);
                break;
            case QUERY:
                action.removeQuery(map, query);
                break;
            case PROCEDURE:
View Full Code Here

Examples of org.apache.cayenne.modeler.action.RemoveAction.removeDbEntity()

    }

    @Override
    public void undo() throws CannotUndoException {
        RemoveAction action = actionManager.getAction(RemoveAction.class);
        action.removeDbEntity(map, entity);
    }
}
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.