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,
List<org.alfresco.service.cmr.repository.NodeRef> results,
String searchStr,
org.alfresco.jlan.server.filesys.pseudo.PseudoFileList pseudoList,
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.
|
String |
toString()
Return the search as a string
|
getDotDotInfo, getDotInfo, hasDotFiles, setDotDotInfo, setDotInfo
getPseudoListSize, getRelativePath, getResultsSize, getResumeId, hasMoreFiles, nextFileName, restartAt, restartAt, returningPseudoFiles, setInFlightCorrector
protected CacheLookupSearchContext(CifsHelper cifsHelper, List<org.alfresco.service.cmr.repository.NodeRef> results, String searchStr, org.alfresco.jlan.server.filesys.pseudo.PseudoFileList pseudoList, 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 ContentSearchContext
info
- FileInfo to return the file information.public String toString()
toString
in class DotDotContentSearchContext
Copyright © 2005–2017 Alfresco Software. All rights reserved.