Interface IExistingVersions

  • All Known Implementing Classes:
    WorkerThread.ExistingVersions

    public interface IExistingVersions
    This interface describes functionality designed to allow retrieval of existing version information from previous crawls. It is part of the IRepositoryConnector API.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _rcsid  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getIndexedVersionString​(java.lang.String documentIdentifier)
      Retrieve the primary 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.
    • Method Detail

      • getIndexedVersionString

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

        java.lang.String getIndexedVersionString​(java.lang.String documentIdentifier,
                                                 java.lang.String componentIdentifier)
                                          throws ManifoldCFException
        Retrieve a component existing version string given a document identifier.
        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