public class CacheLookupSearchContext extends DotDotContentSearchContext
Use the file state cache to check for current timestamp values for file information being returned in the current search.
LinkFileSize| Modifier | Constructor and Description |
|---|---|
protected |
CacheLookupSearchContext(CifsHelper cifsHelper,
java.util.List results,
java.lang.String searchStr,
org.alfresco.jlan.server.filesys.pseudo.PseudoFileList pseudoList,
java.lang.String relPath,
org.alfresco.jlan.server.filesys.cache.FileStateCache stateCache,
boolean lockedFilesAsOffline)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
nextFileInfo(org.alfresco.jlan.server.filesys.FileInfo info)
Return file information for the next file in the active search.
|
java.lang.String |
toString()
Return the search as a string
|
getDotDotInfo, getDotInfo, hasDotFiles, setDotDotInfo, setDotInfogetPseudoListSize, getRelativePath, getResultsSize, getResumeId, hasMoreFiles, nextFileName, restartAt, restartAt, returningPseudoFiles, setInFlightCorrectorprotected CacheLookupSearchContext(CifsHelper cifsHelper, java.util.List results, java.lang.String searchStr, org.alfresco.jlan.server.filesys.pseudo.PseudoFileList pseudoList, java.lang.String relPath, org.alfresco.jlan.server.filesys.cache.FileStateCache stateCache, boolean lockedFilesAsOffline)
cifsHelper - Filesystem helper classresults - List of file/folder nodes that match the search patternsearchStr - Search pathpseudoList - List of pseudo files to be blended into the returned list of filesrelPath - Relative path being searchedstateCache - File state cachepublic boolean nextFileInfo(org.alfresco.jlan.server.filesys.FileInfo info)
nextFileInfo in class ContentSearchContextinfo - FileInfo to return the file information.public java.lang.String toString()
toString in class DotDotContentSearchContextCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.