services.admin
Class AdminIndex

java.lang.Object
  extended by services.Service
      extended by services.admin.AdminIndex
All Implemented Interfaces:
VarHandler

public class AdminIndex
extends Service
implements VarHandler

Service für die Indexseite des Admins.

Author:
Thorsten Berger

Field Summary
 java.lang.String[] canHandle
           
 
Fields inherited from class services.Service
SC_BAD_REQUEST, SC_FORBIDDEN, SC_INTERNAL_SERVER_ERROR, SC_METHOD_NOT_ALLOWED, SC_NOT_FOUND
 
Constructor Summary
AdminIndex(RequestInfo ri)
          Service anlegen.
 
Method Summary
 java.lang.String[] canHandle()
          Alle Variablen, die dieser Service selbst handlen kann.
 java.lang.String handleVar(java.lang.String var)
          Variablen expandieren.
 void processRequest()
          Service ausführen.
 
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
 

Field Detail

canHandle

public final java.lang.String[] canHandle
Constructor Detail

AdminIndex

public AdminIndex(RequestInfo ri)
Service anlegen.

Parameters:
ri -
Method Detail

processRequest

public void processRequest()
Service ausführen.

Specified by:
processRequest in class Service

canHandle

public java.lang.String[] canHandle()
Alle Variablen, die dieser Service selbst handlen kann.

Specified by:
canHandle in interface VarHandler
Returns:
String-Array mit Variablen

handleVar

public java.lang.String handleVar(java.lang.String var)
                           throws NoSuchVarException
Variablen expandieren.

Specified by:
handleVar in interface VarHandler
Returns:
String, der Semantik der Var. zurückgibt
Throws:
NoSuchVarException