public class DotDotContentSearchContext extends ContentSearchContext
LinkFileSize
Modifier | Constructor and Description |
---|---|
protected |
DotDotContentSearchContext(CifsHelper cifsHelper,
List<org.alfresco.service.cmr.repository.NodeRef> results,
String searchStr,
org.alfresco.jlan.server.filesys.pseudo.PseudoFileList pseudoList,
String relPath,
boolean lockedFilesAsOffline)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
getDotDotInfo(org.alfresco.jlan.server.filesys.FileInfo finfo)
Return the '..' pseudo file entry details
|
boolean |
getDotInfo(org.alfresco.jlan.server.filesys.FileInfo finfo)
Return the '.' pseudo file entry details
|
boolean |
hasDotFiles()
Check if the '.' and '..' pseudo file entries are available
|
protected void |
setDotDotInfo(org.alfresco.jlan.server.filesys.FileInfo finfo)
Set the '..' pseudo file entry details
|
protected void |
setDotInfo(org.alfresco.jlan.server.filesys.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, setInFlightCorrector
protected DotDotContentSearchContext(CifsHelper cifsHelper, List<org.alfresco.service.cmr.repository.NodeRef> results, String searchStr, org.alfresco.jlan.server.filesys.pseudo.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 searchedlockedFilesAsOffline
- set statepublic boolean hasDotFiles()
hasDotFiles
in class org.alfresco.jlan.server.filesys.SearchContext
public boolean getDotInfo(org.alfresco.jlan.server.filesys.FileInfo finfo)
getDotInfo
in class org.alfresco.jlan.server.filesys.SearchContext
finfo
- FileInfopublic boolean getDotDotInfo(org.alfresco.jlan.server.filesys.FileInfo finfo)
getDotDotInfo
in class org.alfresco.jlan.server.filesys.SearchContext
finfo
- FileInfoprotected void setDotInfo(org.alfresco.jlan.server.filesys.FileInfo finfo)
finfo
- FileInfoprotected void setDotDotInfo(org.alfresco.jlan.server.filesys.FileInfo finfo)
finfo
- FileInfopublic String toString()
toString
in class ContentSearchContext
Copyright © 2005–2017 Alfresco Software. All rights reserved.