Package org.apache.cayenne.access.ObjectDiff

Examples of org.apache.cayenne.access.ObjectDiff.ArcOperation


    /**
     * @since 1.2
     */
    public void arcCreated(Object nodeId, Object targetNodeId, Object arcId) {
        NodeDiff diff = new ArcOperation(nodeId, targetNodeId, arcId.toString(), false);

        if (lifecycleEventInducedChanges != null) {
            registerLifecycleEventInducedChange(diff);
        }

View Full Code Here


    /**
     * @since 1.2
     */
    public void arcDeleted(Object nodeId, Object targetNodeId, Object arcId) {
        NodeDiff diff = new ArcOperation(nodeId, targetNodeId, arcId.toString(), true);

        if (lifecycleEventInducedChanges != null) {
            registerLifecycleEventInducedChange(diff);
        }

View Full Code Here

    /**
     * @since 1.2
     */
    public void arcCreated(Object nodeId, Object targetNodeId, Object arcId) {
        NodeDiff diff = new ArcOperation(nodeId, targetNodeId, arcId.toString(), false);

        if (lifecycleEventInducedChanges != null) {
            registerLifecycleEventInducedChange(diff);
        }

View Full Code Here

    /**
     * @since 1.2
     */
    public void arcDeleted(Object nodeId, Object targetNodeId, Object arcId) {
        NodeDiff diff = new ArcOperation(nodeId, targetNodeId, arcId.toString(), true);

        if (lifecycleEventInducedChanges != null) {
            registerLifecycleEventInducedChange(diff);
        }

View Full Code Here

    /**
     * @since 1.2
     */
    public void arcCreated(Object nodeId, Object targetNodeId, Object arcId) {
        registerDiff(nodeId, new ArcOperation(
                nodeId,
                targetNodeId,
                arcId.toString(),
                false));
    }
View Full Code Here

    /**
     * @since 1.2
     */
    public void arcDeleted(Object nodeId, Object targetNodeId, Object arcId) {
        registerDiff(nodeId, new ArcOperation(
                nodeId,
                targetNodeId,
                arcId.toString(),
                true));
    }
View Full Code Here

    /**
     * @since 1.2
     */
    public void arcCreated(Object nodeId, Object targetNodeId, Object arcId) {
        NodeDiff diff = new ArcOperation(nodeId, targetNodeId, arcId.toString(), false);

        if (lifecycleEventInducedChanges != null) {
            registerLifecycleEventInducedChange(diff);
        }

View Full Code Here

    /**
     * @since 1.2
     */
    public void arcDeleted(Object nodeId, Object targetNodeId, Object arcId) {
        NodeDiff diff = new ArcOperation(nodeId, targetNodeId, arcId.toString(), true);

        if (lifecycleEventInducedChanges != null) {
            registerLifecycleEventInducedChange(diff);
        }

View Full Code Here

    public void recordArcCreated(
            Persistent object,
            ObjectId targetId,
            String relationshipName) {

        registerDiff(object, new ArcOperation(
                object.getObjectId(),
                targetId,
                relationshipName,
                false));
    }
View Full Code Here

    // direct ObjectStore access from CayenneDataObject.
    public void recordArcDeleted(
            Persistent object,
            ObjectId targetId,
            String relationshipName) {
        registerDiff(object, new ArcOperation(
                object.getObjectId(),
                targetId,
                relationshipName,
                true));
    }
View Full Code Here

TOP

Related Classes of org.apache.cayenne.access.ObjectDiff.ArcOperation

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.