ModeShape Distribution 3.2.0.Final

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

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

public static interface DocumentChanges.MixinChanges

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


Method Summary
 Set<Name> getAdded()
          Returns the set of names of the mixins that have been added.
 Set<Name> getRemoved()
          Returns the set of names of the mixins that have been removed.
 boolean isEmpty()
          Checks if there are any changes to the mixins (removed/added)
 

Method Detail

isEmpty

boolean isEmpty()
Checks if there are any changes to the mixins (removed/added)

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

getAdded

Set<Name> getAdded()
Returns the set of names of the mixins that have been added.

Returns:
the set of node type names that were added as a mixin on this node; never null

getRemoved

Set<Name> getRemoved()
Returns the set of names of the mixins that have been removed.

Returns:
the set of node type names that were removed as a mixin on this node; never null

ModeShape Distribution 3.2.0.Final

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