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