ModeShape Distribution 3.0.0.Alpha4

org.modeshape.jcr.cache.change
Interface Changes

All Known Implementing Classes:
NoOpChanges, RecordingChanges

public interface Changes


Method Summary
 void binaryValueNoLongerUsed(BinaryKey key)
          Create an event that signals that the (stored) binary value with the supplied key is no longer used.
 void nodeChanged(NodeKey key, Path path)
          Create an event signifying that something about the node (other than the properties or location) changed.
 void nodeCreated(NodeKey key, NodeKey parentKey, Path path, Map<Name,Property> properties)
           
 void nodeMoved(NodeKey key, NodeKey newParent, NodeKey oldParent, Path newPath, Path oldPath)
           
 void nodeRemoved(NodeKey key, NodeKey parentKey, Path path)
           
 void nodeRenamed(NodeKey key, Path newPath, Path.Segment oldName)
           
 void nodeReordered(NodeKey key, NodeKey parent, Path newPath, Path oldPath, Path reorderedBeforePath)
           
 void nodeSequenced(NodeKey sequencedNodeKey, Path sequencedNodePath, NodeKey outputNodeKey, Path outputNodePath, String outputPath, String userId, String selectedPath, String sequencerName)
           
 void nodeSequencingFailure(NodeKey sequencedNodeKey, Path sequencedNodePath, String outputPath, String userId, String selectedPath, String sequencerName, Throwable cause)
           
 void propertyAdded(NodeKey key, Path nodePath, Property property)
           
 void propertyChanged(NodeKey key, Path nodePath, Property newProperty, Property oldProperty)
           
 void propertyRemoved(NodeKey key, Path nodePath, Property property)
           
 void workspaceAdded(String workspaceName)
           
 void workspaceRemoved(String workspaceName)
           
 

Method Detail

workspaceAdded

void workspaceAdded(String workspaceName)

workspaceRemoved

void workspaceRemoved(String workspaceName)

nodeCreated

void nodeCreated(NodeKey key,
                 NodeKey parentKey,
                 Path path,
                 Map<Name,Property> properties)

nodeRemoved

void nodeRemoved(NodeKey key,
                 NodeKey parentKey,
                 Path path)

nodeRenamed

void nodeRenamed(NodeKey key,
                 Path newPath,
                 Path.Segment oldName)

nodeMoved

void nodeMoved(NodeKey key,
               NodeKey newParent,
               NodeKey oldParent,
               Path newPath,
               Path oldPath)

nodeReordered

void nodeReordered(NodeKey key,
                   NodeKey parent,
                   Path newPath,
                   Path oldPath,
                   Path reorderedBeforePath)

nodeChanged

void nodeChanged(NodeKey key,
                 Path path)
Create an event signifying that something about the node (other than the properties or location) changed.

Parameters:
key - the node key; may not be null
path - the path

nodeSequenced

void nodeSequenced(NodeKey sequencedNodeKey,
                   Path sequencedNodePath,
                   NodeKey outputNodeKey,
                   Path outputNodePath,
                   String outputPath,
                   String userId,
                   String selectedPath,
                   String sequencerName)

nodeSequencingFailure

void nodeSequencingFailure(NodeKey sequencedNodeKey,
                           Path sequencedNodePath,
                           String outputPath,
                           String userId,
                           String selectedPath,
                           String sequencerName,
                           Throwable cause)

propertyAdded

void propertyAdded(NodeKey key,
                   Path nodePath,
                   Property property)

propertyRemoved

void propertyRemoved(NodeKey key,
                     Path nodePath,
                     Property property)

propertyChanged

void propertyChanged(NodeKey key,
                     Path nodePath,
                     Property newProperty,
                     Property oldProperty)

binaryValueNoLongerUsed

void binaryValueNoLongerUsed(BinaryKey key)
Create an event that signals that the (stored) binary value with the supplied key is no longer used.

Parameters:
key - the key for the now-unused binary value; may not be null

ModeShape Distribution 3.0.0.Alpha4

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.