org.pentaho.platform.plugin.action.xmla
Class XMLABaseComponent
java.lang.Object
  
org.pentaho.platform.engine.core.system.PentahoBase
      
org.pentaho.platform.engine.services.PentahoMessenger
          
org.pentaho.platform.engine.services.solution.ComponentBase
              
org.pentaho.platform.plugin.action.xmla.XMLABaseComponent
- All Implemented Interfaces: 
 - Serializable, IDataComponent, IAuditable, IComponent, ILogger, IParameterResolver
 
- Direct Known Subclasses: 
 - XMLADataComponent, XMLALookupRule
 
public abstract class XMLABaseComponent
- extends ComponentBase
- implements IDataComponent
  
- See Also:
 - Serialized Form
 
 
 
 
| 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 | 
 
 
 
| Methods inherited from class org.pentaho.platform.engine.services.solution.ComponentBase | 
createFeedbackParameter, createFeedbackParameter, createNewInstance, execute, getActionDefinition, getActionName, getActionTitle, getComponentDefinition, getComponentDefinition, getId, getInitFailMessage, getInitOk, getInstanceId, getLogId, getObjectName, getProcessId, getResourceAsString, getRuntimeContext, getSession, inputMissingError, outputMissingError, promptNeeded, promptNow, resolveParameter, resourceComponentSettingError, resourceMissingError, setActionDefinition, setActionName, setComponentDefinition, setComponentDefinitionMap, setInstanceId, setProcessId, setRuntimeContext, setSession, validate | 
 
| Methods inherited from class org.pentaho.platform.engine.services.PentahoMessenger | 
debug, debug, error, error, error, fatal, fatal, getMessages, getUserString, info, info, setMessages, trace, trace, warn, warn | 
 
 
 
| Methods inherited from interface org.pentaho.platform.api.engine.IComponent | 
execute, getActionDefinition, getActionName, getComponentDefinition, getInstanceId, getMessages, getProcessId, getRuntimeContext, getSession, setActionDefinition, setActionName, setComponentDefinition, setComponentDefinitionMap, setInstanceId, setMessages, setProcessId, setRuntimeContext, setSession, validate | 
 
 
| Methods inherited from interface org.pentaho.platform.api.engine.ILogger | 
debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn | 
 
PROVIDER_MICROSOFT
public static final int PROVIDER_MICROSOFT
- See Also:
 - Constant Field Values
 
PROVIDER_SAP
public static final int PROVIDER_SAP
- See Also:
 - Constant Field Values
 
PROVIDER_MONDRIAN
public static final int PROVIDER_MONDRIAN
- See Also:
 - Constant Field Values
 
PROVIDER_ESSBASE
public static final int PROVIDER_ESSBASE
- See Also:
 - Constant Field Values
 
XMLABaseComponent
public XMLABaseComponent()
validateSystemSettings
public abstract boolean validateSystemSettings()
 
 
getResultOutputName
public abstract String getResultOutputName()
 
 
getLogger
public abstract org.apache.commons.logging.Log getLogger()
- Specified by:
 getLogger in class PentahoBase
 
 
getResultSet
public org.pentaho.commons.connection.IPentahoResultSet getResultSet()
- Specified by:
 getResultSet in interface IDataComponent
 
- Returns:
 - Returns the resultSet that the component currently has.
 
 
done
public void done()
- Description copied from interface: 
IComponent 
- Allows the component to perform any cleanup after the execution of the
 action.
- Specified by:
 done in interface IComponent- Specified by:
 done in class ComponentBase
 
 
 
executeQuery
public boolean executeQuery(String query,
                            String catalog)
                     throws XMLAException
- Execute query
 
- Parameters:
 query - -
            MDX to be executedcatalog - handler - Callback handler
- Throws:
 XMLAException
 
 
discoverDS
public Map discoverDS()
               throws XMLAException
- retrieve data source properties
 
- Returns:
 - Map of key/value strings
 - Throws:
 XMLAException- See Also:
 DataSourceBrowser
 
 
dispose
public void dispose()
- Description copied from interface: 
IDataComponent 
- Disposes of resources held by the data component
- Specified by:
 dispose in interface IDataComponent
 
 
 
init
public boolean init()
- Description copied from interface: 
IComponent 
- Initialize the Component. This method is typically called on
 construction.
- Specified by:
 init in interface IComponent- Specified by:
 init in class ComponentBase
 
- Returns:
 - returns true if the Component initialized successfully, otherwise
         returns false