Class WorkerThread.ExistingVersions

  • All Implemented Interfaces:
    IExistingVersions
    Enclosing class:
    WorkerThread

    protected static class WorkerThread.ExistingVersions
    extends java.lang.Object
    implements IExistingVersions
    The implementation of the IExistingVersions interface.
    • Constructor Summary

      Constructors 
      Constructor Description
      ExistingVersions​(java.lang.String lastOutputConnectionName, java.util.List<QueuedDocument> list)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getIndexedVersionString​(java.lang.String documentIdentifier)
      Retrieve an existing version string given a document identifier.
      java.lang.String getIndexedVersionString​(java.lang.String documentIdentifier, java.lang.String componentIdentifier)
      Retrieve a component existing version string given a document identifier.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • map

        protected final java.util.Map<java.lang.String,​QueuedDocument> map
      • lastOutputConnectionName

        protected final java.lang.String lastOutputConnectionName
    • Constructor Detail

      • ExistingVersions

        public ExistingVersions​(java.lang.String lastOutputConnectionName,
                                java.util.List<QueuedDocument> list)
    • Method Detail

      • getIndexedVersionString

        public java.lang.String getIndexedVersionString​(java.lang.String documentIdentifier)
                                                 throws ManifoldCFException
        Retrieve an existing version string given a document identifier.
        Specified by:
        getIndexedVersionString in interface IExistingVersions
        Parameters:
        documentIdentifier - is the document identifier.
        Returns:
        the document version string, or null if the document was never previously indexed.
        Throws:
        ManifoldCFException
      • getIndexedVersionString

        public java.lang.String getIndexedVersionString​(java.lang.String documentIdentifier,
                                                        java.lang.String componentIdentifier)
                                                 throws ManifoldCFException
        Retrieve a component existing version string given a document identifier.
        Specified by:
        getIndexedVersionString in interface IExistingVersions
        Parameters:
        documentIdentifier - is the document identifier.
        componentIdentifier - is the component identifier, if any.
        Returns:
        the document version string, or null of the document component was never previously indexed.
        Throws:
        ManifoldCFException