services.dozent
Class ConfigLecture
java.lang.Object
services.Service
services.dozent.ConfigLecture
- All Implemented Interfaces:
- VarHandler
public class ConfigLecture
- extends Service
- implements VarHandler
Service, mit dem man allgemeine Infos zur Veranstaltung setzen kann (Name, Ort, Zeit, message of the day).
- Author:
- Thorsten Berger
Method Summary |
java.lang.String[] |
canHandle()
Returniert alle Variablen, die VarHandler expandieren kann. |
java.lang.String |
handleVar(java.lang.String var)
Variable expandieren. |
void |
processRequest()
Eigentliche Ausführung des Services. |
Methods inherited from class services.Service |
addString, filterHtml, getAndCheckParameter, getAndCheckParameter, getAndCheckParameter, 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 |
ConfigLecture
public ConfigLecture(RequestInfo ri)
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
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