Class FileServerRpcServiceImpl
RemoteServiceServlet
net.datenwerke.gf.base.server.DwRemoteServiceServlet
net.datenwerke.security.server.SecuredRemoteServiceServlet
net.datenwerke.security.server.TreeDBManagerTreeHandler<AbstractFileServerNode>
net.datenwerke.rs.fileserver.server.fileserver.FileServerRpcServiceImpl
- All Implemented Interfaces:
RemoteRequest,FileServerExportRpcService,FileServerRpcService,FileServerTreeLoader,FileServerTreeManager,RPCTreeLoader,RPCTreeManager
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
public class FileServerRpcServiceImpl
extends TreeDBManagerTreeHandler<AbstractFileServerNode>
implements FileServerRpcService, FileServerTreeLoader, FileServerTreeManager, FileServerExportRpcService
-
Constructor Summary
ConstructorsConstructorDescriptionFileServerRpcServiceImpl(DtoService dtoService, FileServerService fileService, SecurityService securityService, EntityClonerService entityClonerService, <any> httpExportServiceProvider, BasepathZipExtractConfigFactory extractConfigFactory, <any> zipUtilsServiceProvider, <any> exportHelper, KeyNameGeneratorService keyGeneratorService) -
Method Summary
Modifier and TypeMethodDescriptionloadFileDataAsString(FileServerFileDto fileDto) voidquickExport(AbstractFileServerNodeDto nodeDto) voidupdateFile(FileServerFileDto fileDto, String data) AbstractNodeDtoupdateNode(AbstractNodeDto node, Dto state) List<AbstractFileServerNodeDto> uploadAndExtract(FileServerFolderDto folderDto, FileToUpload fileToUpload) List<FileServerFileDto> uploadFiles(FileServerFolderDto folderDto, List<FileToUpload> files) Methods inherited from class net.datenwerke.security.server.TreeDBManagerTreeHandler
deleteNode, deleteNodeWithForce, duplicateNode, getChildren, getChildrenAsFto, getRoot, insertNode, loadAll, loadAll, loadAllAsFto, loadFullViewNode, loadNodeById, moveNodeAppend, moveNodeInsert, moveNodesAppend, refreshNode, setFlagMethods inherited from class net.datenwerke.security.server.SecuredRemoteServiceServlet
getRequestMethods inherited from interface net.datenwerke.treedb.client.treedb.rpc.RPCTreeLoader
getChildren, getChildrenAsFto, getRoot, loadAll, loadAll, loadAllAsFto, loadFullViewNode, loadNodeByIdMethods inherited from interface net.datenwerke.treedb.client.treedb.rpc.RPCTreeManager
deleteNode, deleteNodeWithForce, duplicateNode, insertNode, loadFullViewNode, moveNodeAppend, moveNodeInsert, moveNodesAppend, refreshNode, setFlag
-
Constructor Details
-
FileServerRpcServiceImpl
public FileServerRpcServiceImpl(DtoService dtoService, FileServerService fileService, SecurityService securityService, EntityClonerService entityClonerService, <any> httpExportServiceProvider, BasepathZipExtractConfigFactory extractConfigFactory, <any> zipUtilsServiceProvider, <any> exportHelper, KeyNameGeneratorService keyGeneratorService)
-
-
Method Details
-
updateFile
- Specified by:
updateFilein interfaceFileServerRpcService- Throws:
ServerCallFailedException
-
loadFileDataAsString
- Specified by:
loadFileDataAsStringin interfaceFileServerRpcService
-
quickExport
- Specified by:
quickExportin interfaceFileServerExportRpcService- Throws:
ServerCallFailedException
-
loadResult
- Specified by:
loadResultin interfaceFileServerExportRpcService- Throws:
ServerCallFailedException
-
uploadFiles
public List<FileServerFileDto> uploadFiles(FileServerFolderDto folderDto, List<FileToUpload> files) throws ServerCallFailedException - Specified by:
uploadFilesin interfaceFileServerRpcService- Throws:
ServerCallFailedException
-
uploadAndExtract
public List<AbstractFileServerNodeDto> uploadAndExtract(FileServerFolderDto folderDto, FileToUpload fileToUpload) throws ServerCallFailedException - Specified by:
uploadAndExtractin interfaceFileServerRpcService- Throws:
ServerCallFailedException
-
updateNode
- Specified by:
updateNodein interfaceRPCTreeManager- Overrides:
updateNodein classTreeDBManagerTreeHandler<AbstractFileServerNode>- Throws:
ServerCallFailedException
-