org.modeshape.jcr.index.local

## Class IndexChangeAdapters.PrimaryTypeChangeAdatper

- java.lang.Object
- - org.modeshape.jcr.cache.change.ChangeSetAdapter
  - - org.modeshape.jcr.spi.index.provider.IndexChangeAdapter
    - - org.modeshape.jcr.index.local.IndexChangeAdapters.AbstractPropertyChangeAdapter<T>
      - - org.modeshape.jcr.index.local.IndexChangeAdapters.PropertyChangeAdapter<Name>
        - - org.modeshape.jcr.index.local.IndexChangeAdapters.PrimaryTypeChangeAdatper

- All Implemented Interfaces:
    ChangeSetListener
  Enclosing class:
    IndexChangeAdapters

      protected static final class IndexChangeAdapters.PrimaryTypeChangeAdatper
      extends IndexChangeAdapters.PropertyChangeAdapter<Name>

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.modeshape.jcr.cache.change.ChangeSetAdapter

      `ChangeSetAdapter.NodeTypePredicate`

  - ### Field Summary

    - ### Fields inherited from class org.modeshape.jcr.index.local.IndexChangeAdapters.PropertyChangeAdapter

      `index`

    - ### Fields inherited from class org.modeshape.jcr.index.local.IndexChangeAdapters.AbstractPropertyChangeAdapter

      `propertyName, valueFactory`

    - ### Fields inherited from class org.modeshape.jcr.cache.change.ChangeSetAdapter

      `context, predicate`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `IndexChangeAdapters.PrimaryTypeChangeAdatper(ExecutionContext context, ChangeSetAdapter.NodeTypePredicate matcher, String workspaceName, org.modeshape.jcr.index.local.LocalDuplicateIndex<Name> index)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `addNode(String workspaceName, NodeKey key, Path path, Name primaryType, Set<Name> mixinTypes, CachedNode.Properties properties, boolean queryable)` Handle the addition of a node.

    - ### Methods inherited from class org.modeshape.jcr.index.local.IndexChangeAdapters.PropertyChangeAdapter

      `addValue, addValues, completeChanges, completeWorkspaceChanges, removeValues, toString`

    - ### Methods inherited from class org.modeshape.jcr.index.local.IndexChangeAdapters.AbstractPropertyChangeAdapter

      `convert, modifyProperties, reindexNode, removeNode`

    - ### Methods inherited from class org.modeshape.jcr.spi.index.provider.IndexChangeAdapter

      `includesWorkspace, index`

    - ### Methods inherited from class org.modeshape.jcr.cache.change.ChangeSetAdapter

      `addWorkspace, beginChanges, beginWorkspaceChanges, binaryValueUnused, changeNode, moveNode, notify, removeWorkspace, renameNode, reorderNode, repositoryMetadataChanged, sequenced, sequenceFailure`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### IndexChangeAdapters.PrimaryTypeChangeAdatper

          public IndexChangeAdapters.PrimaryTypeChangeAdatper(ExecutionContext context,
                                                      ChangeSetAdapter.NodeTypePredicate matcher,
                                                      String workspaceName,
                                                      org.modeshape.jcr.index.local.LocalDuplicateIndex<Name> index)

  - ### Method Detail

    - #### addNode

          protected void addNode(String workspaceName,
                     NodeKey key,
                     Path path,
                     Name primaryType,
                     Set<Name> mixinTypes,
                     CachedNode.Properties properties,
                     boolean queryable)

      Description copied from class: `ChangeSetAdapter`
      Handle the addition of a node.
      Overrides:
        `addNode` in class `IndexChangeAdapters.AbstractPropertyChangeAdapter<Name>`
      Parameters:
        `workspaceName` - the workspace in which the node information should be available; may not be null
        `key` - the unique key for the node; may not be null
        `path` - the path of the node; may not be null
        `primaryType` - the primary type of the node; may not be null
        `mixinTypes` - the mixin types for the node; may not be null but may be empty
        `properties` - the properties of the node; may not be null but may be empty
        `queryable` - true if the node is queryable, false otherwise

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