| org.pentaho.core.system.PentahoMessenger org.pentaho.ui.BaseUIComponent
All known Subclasses: org.pentaho.ui.component.HtmlComponent, org.pentaho.ui.XmlComponent, org.pentaho.ui.component.ActionComponent,
BaseUIComponent | abstract public class BaseUIComponent extends PentahoMessenger (Code) | | author: James Dixon author: TODO To change the template for this generated type comment go to Window - author: Preferences - Java - Code Style - Code Templates |
Method Summary | |
public void | done() | abstract public String | getContent(String mimeType) | abstract public Log | getLogger() | public String | getParameter(String name, String defaultValue) | public String[] | getParameterAsArray(String name) | public HashMap | getParameterProviders() | protected IActionRequestHandler | getRequestHandler() | protected IPentahoSession | getSession() | protected String | getSourcePath() | protected IPentahoUrlFactory | getUrlFactory() | public String | getXsl(String mimeType) | public HashMap | getXslProperties() | public void | handleRequest(OutputStream outputStream, IActionRequestHandler actionRequestHandler, String contentType, HashMap requestParameterProviders) | public void | setParameterProvider(String name, IParameterProvider parameterProvider) | public void | setParameterProviders(HashMap parameterProviders) | public void | setRequestHandler(IActionRequestHandler actionRequestHandler) | protected void | setSourcePath(String sourcePath) | public void | setUrlFactory(IPentahoUrlFactory urlFactory) | public void | setXsl(String mimeType, String xslName) | public void | setXslProperty(String name, String value) | abstract public boolean | validate() | public boolean | validate(IPentahoSession session, IActionRequestHandler actionRequestHandler) Set the userSession member, generate a Log Id, set the requestHandler, and validate
the component's configuration.
NOTE: this method has several side effects not related to validation. |
debug | final public static boolean debug(Code) | | |
getLogger | abstract public Log getLogger()(Code) | | |
getParameterProviders | public HashMap getParameterProviders()(Code) | | |
setParameterProviders | public void setParameterProviders(HashMap parameterProviders)(Code) | | |
setSourcePath | protected void setSourcePath(String sourcePath)(Code) | | |
validate | abstract public boolean validate()(Code) | | |
validate | public boolean validate(IPentahoSession session, IActionRequestHandler actionRequestHandler)(Code) | | Set the userSession member, generate a Log Id, set the requestHandler, and validate
the component's configuration.
NOTE: this method has several side effects not related to validation. could
probably use some refactoring
Parameters: session - Parameters: actionRequestHandler - boolean true if component configuration is valid, else false |
|
|