|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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. |
String |
getItemName()
Get the name of the output content item for this content generator |
abstract org.apache.commons.logging.Log |
getLogger()
|
void |
setCallbacks(List<Object> callbacks)
this method is not used at this time |
void |
setInstanceId(String instanceId)
this method is not used at this time |
void |
setItemName(String itemName)
Set the name of the output content item for the content generator |
void |
setMessagesList(List<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(Map<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 Exception
IContentGenerator
createContent
in interface IContentGenerator
Exception
public void setCallbacks(List<Object> callbacks)
IContentGenerator
setCallbacks
in interface IContentGenerator
public void setInstanceId(String instanceId)
IContentGenerator
setInstanceId
in interface IContentGenerator
public void setParameterProviders(Map<String,IParameterProvider> parameterProviders)
IContentGenerator
setParameterProviders
in interface IContentGenerator
public void setSession(IPentahoSession userSession)
IContentGenerator
setSession
in interface IContentGenerator
public void setUrlFactory(IPentahoUrlFactory urlFactory)
IContentGenerator
setUrlFactory
in interface IContentGenerator
public void setMessagesList(List<String> messages)
IContentGenerator
setMessagesList
in interface IContentGenerator
messages
- a list of messagespublic void setOutputHandler(IOutputHandler outputHandler)
IContentGenerator
setOutputHandler
in interface IContentGenerator
public String getItemName()
IContentGenerator
getItemName
in interface IContentGenerator
public void setItemName(String itemName)
IContentGenerator
setItemName
in interface IContentGenerator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |