|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.platform.engine.core.system.PentahoBase
org.pentaho.platform.engine.services.solution.BaseContentGenerator
public abstract class BaseContentGenerator
| Field Summary |
|---|
| Fields inherited from class org.pentaho.platform.engine.core.system.PentahoBase |
|---|
EMPTYLOGID, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR |
| 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 | |
|---|---|
BaseContentGenerator()
|
|
| Method Summary | |
|---|---|
abstract void |
createContent()
the createContent() method is called after the content generator has been initialized appropriately, and is responsible for populating the output handler. |
java.lang.String |
getItemName()
Get the name of the output content item for this content generator |
abstract org.apache.commons.logging.Log |
getLogger()
|
void |
setCallbacks(java.util.List<java.lang.Object> callbacks)
this method is not used at this time |
void |
setInstanceId(java.lang.String instanceId)
this method is not used at this time |
void |
setItemName(java.lang.String itemName)
Set the name of the output content item for the content generator |
void |
setMessagesList(java.util.List<java.lang.String> messages)
called before createContent(), this method is not used by the content generator system at this time. |
void |
setOutputHandler(IOutputHandler outputHandler)
called before createContent(), the IOutputHandler is the API that defines how to write content back to the client. |
void |
setParameterProviders(java.util.Map<java.lang.String,IParameterProvider> parameterProviders)
called before createContent(), the parameterProviders list contain the available parameters. |
void |
setSession(IPentahoSession userSession)
called before createContent(), this is the users session object. |
void |
setUrlFactory(IPentahoUrlFactory urlFactory)
called before createContent(), this is used to build URLs |
| Methods inherited from class org.pentaho.platform.engine.core.system.PentahoBase |
|---|
debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, info, info, setLoggingLevel, setLogId, trace, trace, warn, warn |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.pentaho.platform.api.engine.ILogger |
|---|
debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn |
| Constructor Detail |
|---|
public BaseContentGenerator()
| Method Detail |
|---|
public abstract org.apache.commons.logging.Log getLogger()
getLogger in class PentahoBase
public abstract void createContent()
throws java.lang.Exception
IContentGenerator
createContent in interface IContentGeneratorjava.lang.Exceptionpublic void setCallbacks(java.util.List<java.lang.Object> callbacks)
IContentGenerator
setCallbacks in interface IContentGeneratorpublic void setInstanceId(java.lang.String instanceId)
IContentGenerator
setInstanceId in interface IContentGeneratorpublic void setParameterProviders(java.util.Map<java.lang.String,IParameterProvider> parameterProviders)
IContentGenerator
setParameterProviders in interface IContentGeneratorpublic void setSession(IPentahoSession userSession)
IContentGenerator
setSession in interface IContentGeneratorpublic void setUrlFactory(IPentahoUrlFactory urlFactory)
IContentGenerator
setUrlFactory in interface IContentGeneratorpublic void setMessagesList(java.util.List<java.lang.String> messages)
IContentGenerator
setMessagesList in interface IContentGeneratormessages - a list of messagespublic void setOutputHandler(IOutputHandler outputHandler)
IContentGenerator
setOutputHandler in interface IContentGeneratorpublic java.lang.String getItemName()
IContentGenerator
getItemName in interface IContentGeneratorpublic void setItemName(java.lang.String itemName)
IContentGenerator
setItemName in interface IContentGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||