public abstract class Folder extends HierarchyNode
| Modifier and Type | Field and Description |
|---|---|
protected Folder |
defaultSubfolder |
protected ThreadLocal<Set<File>> |
files |
protected ThreadLocal<Set<Folder>> |
subfolders |
EMPTY, fullPath, hashCode, lastModified, lastModifier, LOG, MODIFIED_FORMAT, name, node, parentPath, path, PATH_SEPARATOR, pathLabel, ROOT_PATH_LABEL, title, url, webdavUrl| Constructor and Description |
|---|
Folder(Folder parent,
javax.jcr.Node node) |
Folder(String parentPath,
javax.jcr.Node node) |
| Modifier and Type | Method and Description |
|---|---|
abstract Folder |
addSubfolder(String name) |
Set<HierarchyNode> |
getChildren() |
Folder |
getDefaultSubfolder() |
Set<File> |
getFiles() |
Set<Folder> |
getSubfolders() |
boolean |
hasFiles() |
boolean |
hasSubfolders() |
boolean |
isFolder() |
boolean |
isRoot() |
protected abstract File |
newFile(Folder parent,
javax.jcr.Node node) |
protected abstract Folder |
newFolder(Folder parent,
javax.jcr.Node node) |
protected abstract Folder |
newFolder(String rootPath,
javax.jcr.Node node) |
protected void |
readChildNodes() |
protected Set<File> |
readFiles() |
protected Set<Folder> |
readSubnodes() |
equals, fullPath, getFullPath, getLastModified, getLastModifier, getName, getNode, getPath, getPath, getPathLabel, getTitle, getUrl, getWebdavUrl, getWorkspace, hashCode, isFile, isFolder, nodeTitle, pathLabel, setUrl, setWebdavUrl, userLocaleprotected final ThreadLocal<Set<Folder>> subfolders
protected final ThreadLocal<Set<File>> files
protected Folder defaultSubfolder
public Folder(Folder parent, javax.jcr.Node node) throws javax.jcr.RepositoryException, OutlookException
javax.jcr.RepositoryExceptionOutlookExceptionpublic Folder(String parentPath, javax.jcr.Node node) throws javax.jcr.RepositoryException, OutlookException
javax.jcr.RepositoryExceptionOutlookExceptionpublic boolean isRoot()
public Folder getDefaultSubfolder()
public boolean hasSubfolders()
throws javax.jcr.RepositoryException,
OutlookException
javax.jcr.RepositoryExceptionOutlookExceptionpublic Set<Folder> getSubfolders() throws javax.jcr.RepositoryException, OutlookException
javax.jcr.RepositoryExceptionOutlookExceptionpublic boolean hasFiles()
throws javax.jcr.RepositoryException,
OutlookException
javax.jcr.RepositoryExceptionOutlookExceptionpublic Set<File> getFiles() throws javax.jcr.RepositoryException, OutlookException
javax.jcr.RepositoryExceptionOutlookExceptionpublic Set<HierarchyNode> getChildren() throws javax.jcr.RepositoryException, OutlookException
javax.jcr.RepositoryExceptionOutlookExceptionpublic final boolean isFolder()
isFolder in class HierarchyNodeprotected Set<Folder> readSubnodes() throws javax.jcr.RepositoryException, OutlookException
javax.jcr.RepositoryExceptionOutlookExceptionprotected Set<File> readFiles() throws javax.jcr.RepositoryException, OutlookException
javax.jcr.RepositoryExceptionOutlookExceptionprotected void readChildNodes()
throws javax.jcr.RepositoryException,
OutlookException
javax.jcr.RepositoryExceptionOutlookExceptionprotected abstract Folder newFolder(Folder parent, javax.jcr.Node node) throws javax.jcr.RepositoryException, OutlookException
javax.jcr.RepositoryExceptionOutlookExceptionprotected abstract Folder newFolder(String rootPath, javax.jcr.Node node) throws javax.jcr.RepositoryException, OutlookException
javax.jcr.RepositoryExceptionOutlookExceptionprotected abstract File newFile(Folder parent, javax.jcr.Node node) throws javax.jcr.RepositoryException, OutlookException
javax.jcr.RepositoryExceptionOutlookExceptionpublic abstract Folder addSubfolder(String name) throws javax.jcr.RepositoryException, OutlookException
javax.jcr.RepositoryExceptionOutlookExceptionCopyright © 2003–2016 eXo Platform SAS. All rights reserved.