public class SearchContextAdapter extends SearchContext
Constructor and Description |
---|
SearchContextAdapter() |
Modifier and Type | Method and Description |
---|---|
int |
getResumeId()
Return the resume id for the current file/directory in the search.
|
boolean |
hasMoreFiles()
Determine if there are more files for the active search.
|
boolean |
nextFileInfo(FileInfo info)
Return file information for the next file in the active search.
|
String |
nextFileName()
Return the file name of the next file in the active search.
|
boolean |
restartAt(FileInfo info)
Restart the current search at the specified file.
|
boolean |
restartAt(int resumeId)
Restart a search at the specified resume point.
|
closeSearch, getDotDotInfo, getDotInfo, getFlags, getMaximumFiles, getSearchString, getTreeId, hasDotFiles, numberOfEntries, setFlags, setMaximumFiles, setSearchString, setTreeId, toString
public boolean hasMoreFiles()
hasMoreFiles
in class SearchContext
public boolean nextFileInfo(FileInfo info)
nextFileInfo
in class SearchContext
info
- FileInfo to return the file information.public String nextFileName()
nextFileName
in class SearchContext
public int getResumeId()
getResumeId
in class SearchContext
public boolean restartAt(int resumeId)
restartAt
in class SearchContext
resumeId
- Resume point id.public boolean restartAt(FileInfo info)
restartAt
in class SearchContext
info
- File to restart the search at.Copyright © 2005–2017 Alfresco Software. All rights reserved.