public interface IContentGenerator extends ILogger
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
Modifier and Type | Method and Description |
---|---|
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
|
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
|
void createContent() throws Exception
Exception
void setOutputHandler(IOutputHandler outputHandler)
outputHandler
- void setMessagesList(List<String> messages)
messages
- a list of messagesvoid setParameterProviders(Map<String,IParameterProvider> parameterProviders)
parameterProviders
- void setSession(IPentahoSession userSession)
userSession
- void setUrlFactory(IPentahoUrlFactory urlFactory)
urlFactory
- void setCallbacks(List<Object> callbacks)
callbacks
- void setInstanceId(String instanceId)
instanceId
- String getItemName()
void setItemName(String itemName)
itemName
-