|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectGenericPortlet
org.pentaho.platform.web.portal.BasePortlet
public abstract class BasePortlet
| Field Summary |
|---|
| Fields inherited from interface org.pentaho.platform.api.engine.ILogger |
|---|
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN |
| Constructor Summary | |
|---|---|
BasePortlet()
|
|
| Method Summary | |
|---|---|
void |
debug(String message)
Log a message object with the DEBUG Level. |
void |
debug(String message,
Throwable error)
Log a message with the DEBUG level including the stack
trace of the Throwable error passed as parameter. |
void |
doEdit(RenderRequest request,
RenderResponse response)
|
void |
doHelp(RenderRequest request,
RenderResponse response)
|
abstract void |
doPortletEdit(RenderRequest request,
RenderResponse response,
PentahoPortletSession userSession)
|
abstract void |
doPortletHelp(RenderRequest request,
RenderResponse response,
PentahoPortletSession userSession)
|
abstract void |
doPortletView(RenderRequest request,
RenderResponse response,
PentahoPortletSession userSession)
|
void |
doView(RenderRequest request,
RenderResponse response)
|
void |
error(String message)
Log a message object with the ERROR Level. |
void |
error(String message,
Throwable error)
Log a message with the ERROR level including the stack
trace of the Throwable error passed as parameter. |
void |
fatal(String message)
Log a message object with the FATAL Level. |
void |
fatal(String message,
Throwable error)
Log a message with the FATAL level including the stack
trace of the Throwable error passed as parameter. |
abstract Log |
getLogger()
|
int |
getLoggingLevel()
Return the logging level for this Logger. |
String |
getLogId()
|
void |
info(String message)
Log a message object with the INFO Level. |
void |
info(String message,
Throwable error)
Log a message with the INFO level including the stack trace
of the Throwable error passed as parameter. |
void |
init()
|
void |
initPortlet()
|
void |
processAction(ActionRequest request,
ActionResponse response)
|
abstract void |
processPortletAction(ActionRequest request,
ActionResponse response,
PentahoPortletSession userSession)
|
void |
setLoggingLevel(int logLevel)
Set the logging level for this Logger. |
void |
setLogId(String lId)
|
void |
trace(String message)
Log a message object with the TRACE Level. |
void |
trace(String message,
Throwable error)
Log a message with the TRACE level including the stack
trace of the Throwable error passed as parameter. |
void |
warn(String message)
Log a message object with the WARN Level. |
void |
warn(String message,
Throwable error)
Log a message with the WARN level including the stack trace
of the Throwable error passed as parameter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasePortlet()
| Method Detail |
|---|
public abstract Log getLogger()
public String getLogId()
public void setLogId(String lId)
public void init()
throws PortletException
PortletExceptionpublic void initPortlet()
public abstract void processPortletAction(ActionRequest request,
ActionResponse response,
PentahoPortletSession userSession)
throws PortletException,
IOException
PortletException
IOException
public abstract void doPortletView(RenderRequest request,
RenderResponse response,
PentahoPortletSession userSession)
throws PortletException,
IOException
PortletException
IOException
public abstract void doPortletHelp(RenderRequest request,
RenderResponse response,
PentahoPortletSession userSession)
throws PortletException,
IOException
PortletException
IOException
public abstract void doPortletEdit(RenderRequest request,
RenderResponse response,
PentahoPortletSession userSession)
throws PortletException,
IOException
PortletException
IOException
public final void processAction(ActionRequest request,
ActionResponse response)
throws PortletException,
IOException
PortletException
IOException
public final void doView(RenderRequest request,
RenderResponse response)
throws PortletException,
IOException
PortletException
IOException
public final void doHelp(RenderRequest request,
RenderResponse response)
throws PortletException,
IOException
PortletException
IOException
public final void doEdit(RenderRequest request,
RenderResponse response)
throws PortletException,
IOException
PortletException
IOExceptionpublic int getLoggingLevel()
ILogger
getLoggingLevel in interface ILoggerpublic void setLoggingLevel(int logLevel)
ILogger
Valid logging levels are TRACE, DEBUG,
INFO, WARN, ERROR, and
FATAL.
setLoggingLevel in interface ILoggerpublic void trace(String message)
ILoggerTRACE Level.
trace in interface ILoggermessage - the message object to log.public void debug(String message)
ILoggerDEBUG Level.
debug in interface ILoggermessage - the message object to log.public void info(String message)
ILoggerINFO Level.
info in interface ILoggermessage - the message object to log.public void warn(String message)
ILoggerWARN Level.
warn in interface ILoggermessage - the message object to log.public void error(String message)
ILoggerERROR Level.
error in interface ILoggermessage - the message object to log.public void fatal(String message)
ILoggerFATAL Level.
fatal in interface ILoggermessage - the message object to log.
public void trace(String message,
Throwable error)
ILoggerTRACE level including the stack
trace of the Throwable error passed as parameter.
trace in interface ILoggermessage - the message object to log.error - the exception to log, including its stack trace.
public void debug(String message,
Throwable error)
ILoggerDEBUG level including the stack
trace of the Throwable error passed as parameter.
debug in interface ILoggermessage - the message object to log.error - the exception to log, including its stack trace.
public void info(String message,
Throwable error)
ILoggerINFO level including the stack trace
of the Throwable error passed as parameter.
info in interface ILoggermessage - the message object to log.error - the exception to log, including its stack trace.
public void warn(String message,
Throwable error)
ILoggerWARN level including the stack trace
of the Throwable error passed as parameter.
warn in interface ILoggermessage - the message object to log.error - the exception to log, including its stack trace.
public void error(String message,
Throwable error)
ILoggerERROR level including the stack
trace of the Throwable error passed as parameter.
error in interface ILoggermessage - the message object to log.error - the exception to log, including its stack trace.
public void fatal(String message,
Throwable error)
ILoggerFATAL level including the stack
trace of the Throwable error passed as parameter.
fatal in interface ILoggermessage - the message object to log.error - the exception to log, including its stack trace.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||