Interface VirtualFileSystemManagerHook
- All Superinterfaces:
Hook,Serializable
- All Known Implementing Classes:
DashboardVfs,DatasinkManagerVFS,DatasourceManagerVFS,FileServerVfs,RemoteServerManagerVFS,ReportManagerVFS,TransportManagerVFS,TreeBasedVirtualFileSystem,TsFavoritesVFS,UserManagerVFS,VirtualFileSystemManagerHookImpl
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanWriteIntoLocation(VFSLocation vfsLocation) copyFilesTo(VFSLocation source, VFSLocation target, boolean deep) copyFilesTo(VFSLocation source, VFSLocation target, boolean deep, boolean assignDefaultKeys) create(VFSLocation vfsLocation) createFolder(VFSLocation location, String folder) voiddelete(VFSLocation vfsLocation) booleanexists(VFSLocation vfsLocation) byte[]getContent(VFSLocation vfsLocation) getContentType(VFSLocation vfsLocation) getLastModified(VFSLocation vfsLocation) getLocation(VFSLocation momentaryLocation, String pathway) getLocationFor(Object obj) getLocationInfo(VFSLocation location) Should not be called directlygetNameFor(VFSLocation loc) AbstractNode<?> getNodeByLocation(VFSLocation location) getObjectFor(VFSLocation vfsLocation) getObjectId(Object obj) getObjectIn(VFSLocation vfsLocation, VFSObjectInfo objectInfo) getParent(VFSLocation location) longgetSize(VFSLocation vfsLocation) <any>booleanhandlesFilesystem(String filesystemName) booleanhasContent(VFSLocation vfsLocation) voidinit(TerminalSession terminalSession) booleanisFolder(VFSLocation vfsLocation) booleanisLocationDeletable(VFSLocation vfsLocation) booleanisObjectAncestorOf(Object object, VFSLocation baseLocation) booleanmoveFilesTo(VFSLocation source, VFSLocation target) prettyPrintPathway(String pathway) voidremove(VFSLocation location, boolean force) rename(VFSLocation vfsLocation, String name) voidsetContent(VFSLocation vfsLocation, byte[] content) voidsetReadOnly(boolean readOnly) booleantranslatePathWay(VFSLocation location) voidwriteIntoLocation(VFSLocation vfsLocation, byte[] uploadData)
-
Method Details
-
init
-
getSession
TerminalSession getSession() -
getFileSystemName
String getFileSystemName() -
handlesFilesystem
- Throws:
VFSException
-
getObjectId
- Throws:
VFSException
-
prettyPrintPathway
-
getLocation
- Throws:
VFSException
-
getParent
- Throws:
VFSException
-
getFileSystemObjectInfos
Collection<VFSObjectInfo> getFileSystemObjectInfos() -
getLocationInfo
Should not be called directly- Parameters:
location-
-
isFolder
-
getObjectIn
-
supportedByFileSystem
-
getLocationFor
-
createFolder
-
moveFilesTo
-
copyFilesTo
List<VFSLocation> copyFilesTo(VFSLocation source, VFSLocation target, boolean deep) throws VFSException - Throws:
VFSException
-
copyFilesTo
List<VFSLocation> copyFilesTo(VFSLocation source, VFSLocation target, boolean deep, boolean assignDefaultKeys) throws VFSException - Throws:
VFSException
-
remove
-
getTreeDBManagerProvider
<any> getTreeDBManagerProvider() -
setReadOnly
void setReadOnly(boolean readOnly) -
isReadOnly
boolean isReadOnly() -
isObjectAncestorOf
-
getObjectFor
-
hasContent
-
getContent
-
setContent
-
getContentType
-
translatePathWay
-
getLastModified
-
exists
-
getSize
-
canWriteIntoLocation
-
isLocationDeletable
-
delete
-
create
- Throws:
VFSException
-
writeIntoLocation
- Throws:
VFSException
-
rename
-
getNameFor
-
getNodeByLocation
-