Class VirtualFileSystemManagerHookImpl
java.lang.Object
net.datenwerke.rs.terminal.service.terminal.vfs.hooks.VirtualFileSystemManagerHookImpl
- All Implemented Interfaces:
Serializable,Hook,VirtualFileSystemManagerHook
- Direct Known Subclasses:
TreeBasedVirtualFileSystem
public abstract class VirtualFileSystemManagerHookImpl
extends Object
implements VirtualFileSystemManagerHook
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanWriteIntoLocation(VFSLocation vfsLocation) copyFilesTo(VFSLocation sources, VFSLocation target, boolean deep) copyFilesTo(VFSLocation sources, VFSLocation target, boolean deep, boolean assignDefaultKeys) create(VFSLocation vfsLocation) final VFSLocationcreateFolder(VFSLocation location, String folder) voiddelete(VFSLocation vfsLocation) byte[]getContent(VFSLocation vfsLocation) getContentType(VFSLocation vfsLocation) longgetSize(VFSLocation vfsLocation) booleanhasContent(VFSLocation vfsLocation) voidinit(TerminalSession terminalSession) booleanisLocationDeletable(VFSLocation vfsLocation) booleanfinal List<VFSLocation> moveFilesTo(VFSLocation sources, VFSLocation target) voidsetContent(VFSLocation vfsLocation, byte[] content) voidsetReadOnly(boolean readOnly) voidwriteIntoLocation(VFSLocation vfsLocation, byte[] uploadData) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.datenwerke.rs.terminal.service.terminal.vfs.hooks.VirtualFileSystemManagerHook
exists, getFileSystemName, getFileSystemObjectInfos, getLastModified, getLocation, getLocationFor, getLocationInfo, getNameFor, getNodeByLocation, getObjectFor, getObjectId, getObjectIn, getParent, getTreeDBManagerProvider, handlesFilesystem, isFolder, isObjectAncestorOf, prettyPrintPathway, remove, rename, supportedByFileSystem, translatePathWay
-
Constructor Details
-
VirtualFileSystemManagerHookImpl
public VirtualFileSystemManagerHookImpl()
-
-
Method Details
-
init
- Specified by:
initin interfaceVirtualFileSystemManagerHook
-
getSession
- Specified by:
getSessionin interfaceVirtualFileSystemManagerHook
-
setReadOnly
public void setReadOnly(boolean readOnly) - Specified by:
setReadOnlyin interfaceVirtualFileSystemManagerHook
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnlyin interfaceVirtualFileSystemManagerHook
-
createFolder
- Specified by:
createFolderin interfaceVirtualFileSystemManagerHook
-
moveFilesTo
- Specified by:
moveFilesToin interfaceVirtualFileSystemManagerHook
-
copyFilesTo
public List<VFSLocation> copyFilesTo(VFSLocation sources, VFSLocation target, boolean deep) throws VFSException - Specified by:
copyFilesToin interfaceVirtualFileSystemManagerHook- Throws:
VFSException
-
copyFilesTo
public List<VFSLocation> copyFilesTo(VFSLocation sources, VFSLocation target, boolean deep, boolean assignDefaultKeys) throws VFSException - Specified by:
copyFilesToin interfaceVirtualFileSystemManagerHook- Throws:
VFSException
-
hasContent
- Specified by:
hasContentin interfaceVirtualFileSystemManagerHook
-
getContent
- Specified by:
getContentin interfaceVirtualFileSystemManagerHook
-
setContent
- Specified by:
setContentin interfaceVirtualFileSystemManagerHook
-
getContentType
- Specified by:
getContentTypein interfaceVirtualFileSystemManagerHook
-
getSize
- Specified by:
getSizein interfaceVirtualFileSystemManagerHook
-
canWriteIntoLocation
- Specified by:
canWriteIntoLocationin interfaceVirtualFileSystemManagerHook
-
isLocationDeletable
- Specified by:
isLocationDeletablein interfaceVirtualFileSystemManagerHook
-
delete
- Specified by:
deletein interfaceVirtualFileSystemManagerHook
-
create
- Specified by:
createin interfaceVirtualFileSystemManagerHook- Throws:
VFSException
-
writeIntoLocation
- Specified by:
writeIntoLocationin interfaceVirtualFileSystemManagerHook- Throws:
VFSException
-