org.apache.directory.server.core.changelog
Interface TaggableSearchableChangeLogStore

All Superinterfaces:
ChangeLogStore, SearchableChangeLogStore, TaggableChangeLogStore

public interface TaggableSearchableChangeLogStore
extends TaggableChangeLogStore, SearchableChangeLogStore

TODO TaggableSearchableChangeLogStore.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Method Summary
 Partition getPartition(java.lang.String partitionSuffix, java.lang.String revContainerName, java.lang.String tagContainerName)
          Gets the read only Partition backed by this ChangeLogStore.
 TagSearchEngine getTagSearchEngine()
          Get's the tag search engine for this TaggableSearchableChangeLogStore.
 
Methods inherited from interface org.apache.directory.server.core.changelog.TaggableChangeLogStore
getLatest, removeTag, tag, tag, tag, tag
 
Methods inherited from interface org.apache.directory.server.core.changelog.ChangeLogStore
destroy, find, find, findAfter, findBefore, getCurrentRevision, init, log, log, lookup, sync
 
Methods inherited from interface org.apache.directory.server.core.changelog.SearchableChangeLogStore
getChangeLogSearchEngine
 
Methods inherited from interface org.apache.directory.server.core.changelog.ChangeLogStore
destroy, find, find, findAfter, findBefore, getCurrentRevision, init, log, log, lookup, sync
 

Method Detail

getTagSearchEngine

TagSearchEngine getTagSearchEngine()
Get's the tag search engine for this TaggableSearchableChangeLogStore.

Returns:
the snapshot query engine for this store.

getPartition

Partition getPartition(java.lang.String partitionSuffix,
                       java.lang.String revContainerName,
                       java.lang.String tagContainerName)
Gets the read only Partition backed by this ChangeLogStore. The init() method on this partition needs to be called by the caller.

Note: This partition allows add/delete operation on the tags container The revisions container is read-only.

The default containers of the partition are
  • ou=changelog
  • ou=tags,ou=changelog
  • ou=revisions,ou=changelog
  • Parameters:
    partitionSuffix - the suffix of the partition e.x ou=chnagelog
    revContainerName - the container's name for holding the revisions ex. ou=revisions
    tagContainerName - the container's name for holding the tags ex. ou=tags
    Returns:
    the partial-write enabled uninitialized partition


    Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.