Class CmsJlanSearch

java.lang.Object
org.alfresco.jlan.server.filesys.SearchContext
org.opencms.jlan.CmsJlanSearch

public class CmsJlanSearch extends org.alfresco.jlan.server.filesys.SearchContext
This class represents the state of a search operation in a JLAN repository. It just contains the list of all search results and an index into that list which points to the next result which hasn't been fetched yet.

  • Constructor Details

  • Method Details

    • getResumeId

      public int getResumeId()
      Specified by:
      getResumeId in class org.alfresco.jlan.server.filesys.SearchContext
      See Also:
      • SearchContext.getResumeId()
    • hasMoreFiles

      public boolean hasMoreFiles()
      Specified by:
      hasMoreFiles in class org.alfresco.jlan.server.filesys.SearchContext
      See Also:
      • SearchContext.hasMoreFiles()
    • nextFileInfo

      public boolean nextFileInfo(org.alfresco.jlan.server.filesys.FileInfo info)
      Specified by:
      nextFileInfo in class org.alfresco.jlan.server.filesys.SearchContext
      See Also:
      • SearchContext.nextFileInfo(org.alfresco.jlan.server.filesys.FileInfo)
    • nextFileName

      public String nextFileName()
      Specified by:
      nextFileName in class org.alfresco.jlan.server.filesys.SearchContext
      See Also:
      • SearchContext.nextFileName()
    • restartAt

      public boolean restartAt(org.alfresco.jlan.server.filesys.FileInfo info)
      Specified by:
      restartAt in class org.alfresco.jlan.server.filesys.SearchContext
      See Also:
      • SearchContext.restartAt(org.alfresco.jlan.server.filesys.FileInfo)
    • restartAt

      public boolean restartAt(int resumeId)
      Specified by:
      restartAt in class org.alfresco.jlan.server.filesys.SearchContext
      See Also:
      • SearchContext.restartAt(int)
    • nextFile

      Returns the next file object in the search result.

      Returns:
      the next file object