|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dna.repository.observation.NodeChange
@Immutable public class NodeChange

A notification of changes to a node.
| Constructor Summary | |
|---|---|
NodeChange(String repositoryWorkspaceName,
String absolutePath,
int eventTypes,
Set<String> modifiedProperties,
Set<String> removedProperties)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getAbsolutePath()
|
Set<String> |
getModifiedProperties()
|
Set<String> |
getRemovedProperties()
|
String |
getRepositoryWorkspaceName()
|
int |
hashCode()
|
boolean |
includesAllEventTypes(int... jcrEventTypes)
|
boolean |
includesEventTypes(int... jcrEventTypes)
|
boolean |
isNotOnPath(String absolutePath)
Return whether this node change occurs on a node on a different path than that supplied. |
boolean |
isOnPath(String absolutePath)
Return whether this node change occurs on a node on the supplied path. |
boolean |
isPropertyModified(String property)
Determine whether this node change includes the setting of new value(s) for the supplied property. |
boolean |
isPropertyRemoved(String property)
Determine whether this node change includes the removal of the supplied property. |
boolean |
isSameNode(NodeChange that)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NodeChange(String repositoryWorkspaceName,
String absolutePath,
int eventTypes,
Set<String> modifiedProperties,
Set<String> removedProperties)
| Method Detail |
|---|
public String getAbsolutePath()
public String getRepositoryWorkspaceName()
public Set<String> getModifiedProperties()
public Set<String> getRemovedProperties()
public int hashCode()
hashCode in class Objectpublic boolean includesAllEventTypes(int... jcrEventTypes)
public boolean includesEventTypes(int... jcrEventTypes)
public boolean isSameNode(NodeChange that)
public boolean isOnPath(String absolutePath)
absolutePath - the path
isNotOnPath(String)public boolean isNotOnPath(String absolutePath)
absolutePath - the path
isOnPath(String)public boolean isPropertyModified(String property)
property - the name of the property
public boolean isPropertyRemoved(String property)
property - the name of the property
public boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||