services.admin
Class FileManagerService
java.lang.Object
services.Service
services.UploadService
services.admin.FileManagerService
- All Implemented Interfaces:
- NodeViewFormatter, VarHandler
public class FileManagerService
- extends UploadService
- implements VarHandler, NodeViewFormatter
FileManager für komplettes Data-Verzeichnis.
- Author:
- Thorsten Berger
Methods inherited from class services.Service |
addString, filterHtml, getAndCheckParameter, getContent, getContentType, getStatusCode, getVM, includeError, includeInfo, isDownloadService, respondError, respondError, respondError, respondWithHtmlService, sendErrorRedirect, sendErrorRedirect, setTemplate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileManagerService
public FileManagerService(RequestInfo ri)
- Parameters:
ri
-
FileManagerService
public FileManagerService(RequestInfo ri,
Directory RootDir,
java.lang.String actionVar,
java.lang.String template)
canHandle
public java.lang.String[] canHandle()
- Description copied from interface:
VarHandler
- Returniert alle Variablen, die VarHandler expandieren kann.
- Specified by:
canHandle
in interface VarHandler
- Returns:
- String-Array mit Variablen
- See Also:
VarHandler.canHandle()
processRequest
public void processRequest()
- Description copied from class:
Service
- Eigentliche Ausführung des Services.
- Specified by:
processRequest
in class Service
handleVar
public java.lang.String handleVar(java.lang.String var)
throws NoSuchVarException
- Description copied from interface:
VarHandler
- Variable expandieren.
- Specified by:
handleVar
in interface VarHandler
- Returns:
- String, der Semantik der Var. zurückgibt
- Throws:
NoSuchVarException
FormatNodeView
public java.lang.String FormatNodeView(DataNode node)
- Specified by:
FormatNodeView
in interface NodeViewFormatter
setFolderLink
public java.lang.String setFolderLink(DataNode folder)
- Specified by:
setFolderLink
in interface NodeViewFormatter
showNode
public boolean showNode(DataNode node)
- Specified by:
showNode
in interface NodeViewFormatter