|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbforms.servlets.reports.ReportParameter
public class ReportParameter
DOCUMENT ME!
Constructor Summary | |
---|---|
ReportParameter(ServletContext context,
HttpServletRequest request,
Map attributes,
Connection connection,
String reportPath)
Creates a new ReportParameter object. |
Method Summary | |
---|---|
Object |
getAttribute(String key)
Returns a request parameter |
String |
getBaseURL()
|
Connection |
getConnection()
Returns the connection. |
String |
getContextPath()
DOCUMENT ME! |
String |
getMessage(String msg)
Returns a message |
String |
getParameter(String param)
Returns a request parameter |
String |
getReportPath()
Returns the reportPath. |
String |
getStringValue(Object obj)
Returns a formatted string with the same formatting as used inside dbforms |
String |
getStringValue(Object obj,
String pattern)
Returns a formatted string with the same formatting as used inside dbforms |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReportParameter(ServletContext context, HttpServletRequest request, Map attributes, Connection connection, String reportPath)
context
- DOCUMENT ME!request
- DOCUMENT ME!connection
- DOCUMENT ME!reportPath
- DOCUMENT ME!Method Detail |
---|
public Connection getConnection()
public String getContextPath()
public String getBaseURL()
public String getMessage(String msg)
msg
- DOCUMENT ME!
public String getParameter(String param)
param
- DOCUMENT ME!
public Object getAttribute(String key)
param
- DOCUMENT ME!
public String getReportPath()
public String getStringValue(Object obj, String pattern)
obj
- The object to formatpattern
- to use as pattern for numeric and date fields
public String getStringValue(Object obj)
obj
- The object to format
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |