ModeShape Distribution 3.2.0.Final

org.modeshape.jcr.federation.spi
Interface DocumentChanges.ReferrerChanges

All Known Implementing Classes:
FederatedDocumentChanges.FederatedReferrerChanges
Enclosing interface:
DocumentChanges

public static interface DocumentChanges.ReferrerChanges

Interface which encapsulates the changes to a document's referrers during an update operation.


Method Summary
 Set<String> getAddedStrong()
          Returns the set with the document identifiers of the documents which have been added as strong referrers.
 Set<String> getAddedWeak()
          Returns the set with the document identifiers of the documents which have been added as weak referrers.
 Set<String> getRemovedStrong()
          Returns the set with the document identifiers of the document which have been removed as strong referrers.
 Set<String> getRemovedWeak()
          Returns the set with the document identifiers of the document which have been removed as weak referrers.
 boolean isEmpty()
          Checks if there are any changes to the referrers (added/removed weak/strong)
 

Method Detail

isEmpty

boolean isEmpty()
Checks if there are any changes to the referrers (added/removed weak/strong)

Returns:
true if there aren't any changes, false otherwise

getAddedStrong

Set<String> getAddedStrong()
Returns the set with the document identifiers of the documents which have been added as strong referrers.

Returns:
a set containing the identifiers of the nodes to which strong references to this node were added; never null

getAddedWeak

Set<String> getAddedWeak()
Returns the set with the document identifiers of the documents which have been added as weak referrers.

Returns:
a set containing the identifiers of the nodes to which weak references to this node were added; never null

getRemovedStrong

Set<String> getRemovedStrong()
Returns the set with the document identifiers of the document which have been removed as strong referrers.

Returns:
a set containing the identifiers of the nodes from which strong references to this node were removed; never null

getRemovedWeak

Set<String> getRemovedWeak()
Returns the set with the document identifiers of the document which have been removed as weak referrers.

Returns:
a set containing the identifiers of the nodes from which weak references to this node were removed; never null

ModeShape Distribution 3.2.0.Final

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