Package org.serviceconnector.service
Class FileService
java.lang.Object
org.serviceconnector.service.Service
org.serviceconnector.service.FileService
The Class PublishService. PublishService is a remote interface in client API to a publish service and provides communication functions.
-
Constructor Summary
ConstructorsConstructorDescriptionFileService(String name, FileServer server, String path, String scUploadScript, String scGetFileListScript) Instantiates a new publish service. -
Method Summary
Modifier and TypeMethodDescriptionAllocate file server and create session.voiddump(XMLDumpWriter writer) Dump the service into the xml writer.Gets the gets the file list script name.getPath()Gets the path.Gets the server.Gets the upload file script name.
-
Constructor Details
-
FileService
public FileService(String name, FileServer server, String path, String scUploadScript, String scGetFileListScript) Instantiates a new publish service.- Parameters:
name- the nameserver- the serverpath- the pathscUploadScript- the sc upload scriptscGetFileListScript- the sc get file list script
-
-
Method Details
-
getPath
Gets the path.- Returns:
- the path
-
getServer
Gets the server.- Returns:
- the server
-
getUploadFileScriptName
Gets the upload file script name.- Returns:
- the upload file script name
-
getGetFileListScriptName
Gets the gets the file list script name.- Returns:
- the gets the file list script name
-
allocateFileServerAndCreateSession
Allocate file server and create session.- Parameters:
session- the session- Returns:
- the file server
- Throws:
Exception- the exception
-
dump
Description copied from class:ServiceDump the service into the xml writer.
-