|
||||||||||
| 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
org.webmacro.servlet.WMServlet
com.rc.celeritas.controller.CrudWMServlet
public class CrudWMServlet
| Field Summary |
|---|
| Fields inherited from class org.webmacro.servlet.WMServlet |
|---|
_log |
| Fields inherited from interface org.webmacro.WebMacro |
|---|
BUILD_DATE, VERSION |
| Constructor Summary | |
|---|---|
CrudWMServlet()
|
|
| Method Summary | |
|---|---|
boolean |
checkImpleoExists(java.lang.String nameKey)
|
static java.lang.String |
getAllowedPrincipals(java.lang.String table)
This method will return the comma seperated list of values in celeritas-export.xml file for this table. |
static java.util.Hashtable |
getMultipart(javax.servlet.http.HttpServletRequest req)
Get a multipart web request into a hashtable. |
static java.util.Hashtable |
getParameterMap(javax.servlet.http.HttpServletRequest req)
Get a parameter map from HttpRequest object |
static java.util.Hashtable |
getRequestMap(javax.servlet.ServletRequest req)
Get a parameter map from HttpRequest object |
java.lang.String |
getSql(java.lang.String sqlRef)
SQL String for the given SQL Key Reference |
static java.lang.String |
getSqlProperty(java.lang.String key)
|
org.webmacro.Template |
handle(org.webmacro.servlet.WebContext context)
|
boolean |
registerImpleo(java.lang.String nameKey,
Impleo impleo)
|
void |
start()
|
| Methods inherited from class org.webmacro.servlet.WMServlet |
|---|
destroy, destroyContext, doGet, doPost, error, execute, getBroker, getConfig, getConfig, getContext, getErrorTemplate, getErrorTemplateName, getErrorVariableName, getFastWriter, getLog, getLog, getTemplate, getURL, getWebContext, init, init, initWebContext, initWebMacro, newContext, newWebContext, setLocale, stop, writeTemplate, writeTemplate |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CrudWMServlet()
| Method Detail |
|---|
public void start()
start in class org.webmacro.servlet.WMServlet
public org.webmacro.Template handle(org.webmacro.servlet.WebContext context)
throws org.webmacro.servlet.HandlerException
handle in class org.webmacro.servlet.WMServletcontext -
org.webmacro.servlet.HandlerExceptionpublic static java.lang.String getSqlProperty(java.lang.String key)
key -
public boolean registerImpleo(java.lang.String nameKey,
Impleo impleo)
throws ImpleoAlreadyExistException,
ImpleoMapEmptyException
nameKey - impleo -
ImpleoAlreadyExistException
ImpleoMapEmptyException
public boolean checkImpleoExists(java.lang.String nameKey)
throws ImpleoMapEmptyException
nameKey -
ImpleoMapEmptyExceptionpublic static java.util.Hashtable getParameterMap(javax.servlet.http.HttpServletRequest req)
req - HttpRequest object
public static java.util.Hashtable getRequestMap(javax.servlet.ServletRequest req)
req - HttpRequest object
public static java.util.Hashtable getMultipart(javax.servlet.http.HttpServletRequest req)
throws java.io.IOException
req - HttpServletRequest
java.io.IOExceptionpublic static java.lang.String getAllowedPrincipals(java.lang.String table)
table -
public java.lang.String getSql(java.lang.String sqlRef)
sqlRef -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||