info.aduna.gee.publication.servlets
Class InterfaceServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by info.aduna.gee.publication.servlets.AdminServlet
              extended by info.aduna.gee.publication.servlets.InterfaceServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class InterfaceServlet
extends AdminServlet

InterfaceServlet provides an HTML interface to Zpad Administrative Actions.

See Also:
Serialized Form

Field Summary
protected  Properties _methodToConf
          zpad.conf contains names for methods, map method names to these names.
 
Fields inherited from class info.aduna.gee.publication.servlets.AdminServlet
_authorizationKey, _authorizedIPsKey, _name
 
Constructor Summary
InterfaceServlet()
           
 
Method Summary
protected  String _getCategoryOptions(javax.servlet.http.HttpServletRequest request)
          Get a list of all Categories (HTML format).
protected  String _getCoverOptions(javax.servlet.http.HttpServletRequest request, String selected)
          Get a list of all Covers (HTML format).
protected  String _getSubscriptionsString(javax.servlet.http.HttpServletRequest request, Vector sbsAdminInfos, String what)
           
 String getAdminAction(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 String getServletInfo()
           
 void init(javax.servlet.ServletConfig config)
           
 String start(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 String toString()
           
 
Methods inherited from class info.aduna.gee.publication.servlets.AdminServlet
_authorized, _isAuthorizedClient, _isAuthorizedUser, _toGenericSuccess, doGet, doPost, isInIPRange
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_methodToConf

protected Properties _methodToConf
zpad.conf contains names for methods, map method names to these names.

Constructor Detail

InterfaceServlet

public InterfaceServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

getServletInfo

public String getServletInfo()
Specified by:
getServletInfo in interface javax.servlet.Servlet
Overrides:
getServletInfo in class javax.servlet.GenericServlet

start

public String start(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)

getAdminAction

public String getAdminAction(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response)

toString

public String toString()
Overrides:
toString in class Object

_getCoverOptions

protected String _getCoverOptions(javax.servlet.http.HttpServletRequest request,
                                  String selected)
Get a list of all Covers (HTML format).

Parameters:
request - the request

_getCategoryOptions

protected String _getCategoryOptions(javax.servlet.http.HttpServletRequest request)
Get a list of all Categories (HTML format).

Parameters:
request - the request

_getSubscriptionsString

protected String _getSubscriptionsString(javax.servlet.http.HttpServletRequest request,
                                         Vector sbsAdminInfos,
                                         String what)


Copyright © 1997-2008 Aduna. All Rights Reserved.