public class DotDotContentSearchContext extends ContentSearchContext
LinkFileSize| Modifier | Constructor and Description |
|---|---|
protected |
DotDotContentSearchContext(CifsHelper cifsHelper,
List<org.alfresco.service.cmr.repository.NodeRef> results,
String searchStr,
PseudoFileList pseudoList,
String relPath,
boolean lockedFilesAsOffline)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDotDotInfo(FileInfo finfo)
Return the '..' pseudo file entry details
|
boolean |
getDotInfo(FileInfo finfo)
Return the '.' pseudo file entry details
|
boolean |
hasDotFiles()
Check if the '.' and '..' pseudo file entries are available
|
protected void |
setDotDotInfo(FileInfo finfo)
Set the '..' pseudo file entry details
|
protected void |
setDotInfo(FileInfo finfo)
Set the '.' pseudo file entry details
|
String |
toString()
Return the search as a string
|
getPseudoListSize, getRelativePath, getResultsSize, getResumeId, hasMoreFiles, nextFileInfo, nextFileName, restartAt, restartAt, returningPseudoFiles, setInFlightCorrectorcloseSearch, getFlags, getMaximumFiles, getSearchString, getTreeId, numberOfEntries, setFlags, setMaximumFiles, setSearchString, setTreeIdprotected DotDotContentSearchContext(CifsHelper cifsHelper, List<org.alfresco.service.cmr.repository.NodeRef> results, String searchStr, PseudoFileList pseudoList, String relPath, 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 hasDotFiles()
hasDotFiles in class SearchContextpublic boolean getDotInfo(FileInfo finfo)
getDotInfo in class SearchContextfinfo - FileInfopublic boolean getDotDotInfo(FileInfo finfo)
getDotDotInfo in class SearchContextfinfo - FileInfoprotected void setDotInfo(FileInfo finfo)
finfo - FileInfoprotected void setDotDotInfo(FileInfo finfo)
finfo - FileInfopublic String toString()
toString in class ContentSearchContextCopyright © 2005–2014 Alfresco Software. All rights reserved.