|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
info.aduna.gee.publication.servlets.AdminServlet
info.aduna.gee.publication.servlets.ShopAdminServlet
public class ShopAdminServlet
ShopAdminServlet handles 'commandline' access to the shop database.
| Field Summary |
|---|
| Fields inherited from class info.aduna.gee.publication.servlets.AdminServlet |
|---|
_authorizationKey, _authorizedIPsKey, _name |
| Fields inherited from interface info.aduna.gee.publication.servlets.LocalNames |
|---|
ADDED, ALL_CLABELS, ANY_COVER_OPTION, CLABEL, CLABELS, DELETE, DELETED, EMAIL_SUBJECT, IS_ALIAS_FOR, LABEL_CART, LABEL_PRODUCT_CONFIGURATOR, MODIFY, OPTION, OPTIONLIST, OPTIONVALUE, PRODUCT, SERVICE_ADD_ALIAS, SERVICE_CATEGORIES, SERVICE_CHANGE_COVER, SERVICE_FIND_ZPAD, SERVICE_REMOVE_ALIAS, SERVICE_REMOVE_FILE, SERVICE_REMOVE_IMAGE, SERVICE_SEARCHENGINES_INFO, SERVICE_STATISTICS, SERVICE_UPLOAD_FILE, SERVICE_UPLOAD_IMAGE, SUBSCRIPTION, SUBSCRIPTIONS, UPDATED, ZPAD_LOGINS, ZPAD_VISITS |
| Constructor Summary | |
|---|---|
ShopAdminServlet()
|
|
| Method Summary | |
|---|---|
String |
deleteOption(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Remove an option. |
String |
deleteOptionlist(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Remove an optionlist. |
String |
deleteOptionvalue(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Remove an optionvalue. |
String |
deleteProduct(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Remove a product. |
String |
getServletInfo()
|
void |
init(javax.servlet.ServletConfig config)
|
String |
option(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Add or modify an option. |
String |
optionForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
A form to add or modify an option. |
String |
optionlist(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Add or modify an optionlist. |
String |
optionlistForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
A form to add or modify an optionlist. |
String |
optionvalue(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Add or modify an optionvalue. |
String |
optionvalueForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
A form to add or modify an optionvalue |
String |
product(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Add or modify a product. |
String |
productForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Construct form to add or modify a product. |
String |
showOptionlists(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
String |
showOptions(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
String |
showProducts(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
String |
start(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Get the starting page for the shop admin, which lists all actions. |
| 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, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShopAdminServlet()
| Method Detail |
|---|
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic String getServletInfo()
getServletInfo in interface javax.servlet.ServletgetServletInfo in class javax.servlet.GenericServlet
public String start(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
public String showProducts(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
public String productForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
public String product(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
public String deleteProduct(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
public String showOptionlists(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
public String optionlistForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
public String optionlist(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
public String deleteOptionlist(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
public String showOptions(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
public String optionForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
public String option(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
public String deleteOption(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
public String optionvalueForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
public String optionvalue(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
public String deleteOptionvalue(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||