org.modeshape.jcr.spi.index

## Interface WorkspaceChanges

-     public interface WorkspaceChanges

  A description of the changes in workspaces applicable to `IndexDefinition`s.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<String>` | `getAddedWorkspaces()` Get the names of the new workspaces that were added.
    `Collection<IndexDefinition>` | `getIndexDefinitions()` Get the `IndexDefinition`s.
    `Set<String>` | `getRemovedWorkspaces()` Get the names of the existing workspaces that were removed.

- - ### Method Detail

    - #### getIndexDefinitions

          Collection<IndexDefinition> getIndexDefinitions()

      Get the `IndexDefinition`s.
      Returns:
        the index definitions; never null

    - #### getAddedWorkspaces

          Set<String> getAddedWorkspaces()

      Get the names of the new workspaces that were added.
      Returns:
        the added workspace names; never null but possibly empty

    - #### getRemovedWorkspaces

          Set<String> getRemovedWorkspaces()

      Get the names of the existing workspaces that were removed.
      Returns:
        the removed workspace names; never null but possibly empty

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