org.olat.core.commons.modules.bc.vfs
Class OlatRootFolderImpl
java.lang.Object
org.olat.core.util.vfs.LocalImpl
org.olat.core.util.vfs.LocalFolderImpl
org.olat.core.commons.modules.bc.vfs.OlatRootFolderImpl
- All Implemented Interfaces:
- MetaTagged, OlatRelPathImpl, VFSContainer, VFSItem
public class OlatRootFolderImpl
- extends LocalFolderImpl
- implements OlatRelPathImpl, MetaTagged
| Methods inherited from class org.olat.core.util.vfs.LocalImpl |
canCopy, canDelete, canRename, getBasefile, getLastModified, getLocalSecurityCallback, getName, getParentContainer, isSame, setLocalSecurityCallback, setParentContainer |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OlatRootFolderImpl
public OlatRootFolderImpl(java.lang.String folderRelPath,
VFSContainer parent)
createChildContainer
public VFSContainer createChildContainer(java.lang.String name)
- Wrapp all LocalImpls to OlatRootImpls
- Specified by:
createChildContainer in interface VFSContainer- Overrides:
createChildContainer in class LocalFolderImpl
- Returns:
- VFSItem if successfull, null otherwise.
- See Also:
VFSContainer.createChildContainer(java.lang.String)
createChildLeaf
public VFSLeaf createChildLeaf(java.lang.String name)
- Wrapp all LocalImpls to OlatRootImpls
- Specified by:
createChildLeaf in interface VFSContainer- Overrides:
createChildLeaf in class LocalFolderImpl
- Returns:
- VFSItem if successfull, null otherwise.
- See Also:
VFSContainer.createChildLeaf(java.lang.String)
getItems
public java.util.List<VFSItem> getItems()
- Wrapp all LocalImpls to OlatRootImpls
- Specified by:
getItems in interface VFSContainer- Overrides:
getItems in class LocalFolderImpl
- Returns:
- a list of VFSItem containing
- See Also:
VFSContainer.getItems()
getItems
public java.util.List<VFSItem> getItems(VFSItemFilter filter)
- Specified by:
getItems in interface VFSContainer- Overrides:
getItems in class LocalFolderImpl
- Returns:
- a list of VFSItem which are accepted by the given filter. If a
default filter is set, the default filter will be applied in
addition to the given filter in this method
- See Also:
LocalFolderImpl.getItems(org.olat.core.util.vfs.filters.VFSItemFilter)
getRelPath
public java.lang.String getRelPath()
- Specified by:
getRelPath in interface OlatRelPathImpl
- See Also:
OlatRelPathImpl.getRelPath()
getMetaInfo
public MetaInfo getMetaInfo()
- Specified by:
getMetaInfo in interface MetaTagged
- Returns:
- The MetaInfo object
- See Also:
MetaTagged.getMetaInfo()