Package org.pentaho.platform.api.ui
Interface IUIComponent
public interface IUIComponent
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleRequest
(OutputStream outputStream, IActionRequestHandler actionRequestHandler, String contentType, HashMap requestParameterProviders) boolean
validate()
boolean
validate
(IPentahoSession session, IActionRequestHandler actionRequestHandler) Set the userSession member, generate a Log Id, set the requestHandler, and validate the component's configuration.
-
Method Details
-
handleRequest
void handleRequest(OutputStream outputStream, IActionRequestHandler actionRequestHandler, String contentType, HashMap requestParameterProviders) throws IOException - Throws:
IOException
-
validate
boolean validate() -
validate
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
-actionRequestHandler
-- Returns:
- boolean true if component configuration is valid, else false
-