Java Doc for XQueryBaseComponent.java in  » Report » pentaho-report » org » pentaho » plugin » xquery » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » pentaho report » org.pentaho.plugin.xquery 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.pentaho.plugin.ComponentBase
   org.pentaho.plugin.xquery.XQueryBaseComponent

All known Subclasses:   org.pentaho.plugin.xquery.XQueryLookupRule,
XQueryBaseComponent
abstract public class XQueryBaseComponent extends ComponentBase implements IPreparedComponent(Code)
XQueryBaseComponent provides a mechanism to run xqueries within the Pentaho BI Platform. TODO: In regards to IPreparedComponent, implement a method for choosing the datasource on the fly


Field Summary
protected  IPentahoConnectionconnection
    
protected  booleanconnectionOwner
    
 StringpreparedColumnTypes
    
 StringpreparedQuery
    


Method Summary
protected  StringcreateTempXMLFile(String xmlString)
    
public  voiddispose()
    
public  voiddone()
    
protected  booleanexecuteAction()
    
public  IPentahoResultSetexecutePrepared(Map preparedParams)
     implements the IPreparedComponent executePrepared, which allows other components to execute the prepared statement.
protected  IPentahoConnectiongetConnection()
    
abstract public  LoggetLogger()
    
public  IPentahoResultSetgetResultSet()
    
public  booleaninit()
    
protected  booleanprepareFinalQuery(String rawQuery, String[] columnTypes)
    
protected  booleanretrieveColumnTypes()
    
protected  booleanrunFinalQuery(IPentahoConnection localConnection, String rawQuery, String[] columnTypes)
    
protected  booleanrunQuery(IPentahoConnection localConnection, String rawQuery)
    
public  IPentahoConnectionshareConnection()
    
protected  booleanvalidateAction()
    
abstract public  booleanvalidateSystemSettings()
    

Field Detail
connection
protected IPentahoConnection connection(Code)
reference to connection object



connectionOwner
protected boolean connectionOwner(Code)
keeps track of ownership of connection



preparedColumnTypes
String preparedColumnTypes(Code)
string array to hold prepared column types until execution



preparedQuery
String preparedQuery(Code)
string to hold prepared query until execution





Method Detail
createTempXMLFile
protected String createTempXMLFile(String xmlString)(Code)



dispose
public void dispose()(Code)
disposes of the connection this is called by the runtime context if the object is used as an iprepared component



done
public void done()(Code)



executeAction
protected boolean executeAction()(Code)



executePrepared
public IPentahoResultSet executePrepared(Map preparedParams)(Code)
implements the IPreparedComponent executePrepared, which allows other components to execute the prepared statement.
Parameters:
  preparedParams - lookup for prepared parameters pentaho result set



getConnection
protected IPentahoConnection getConnection()(Code)



getLogger
abstract public Log getLogger()(Code)



getResultSet
public IPentahoResultSet getResultSet()(Code)



init
public boolean init()(Code)



prepareFinalQuery
protected boolean prepareFinalQuery(String rawQuery, String[] columnTypes)(Code)



retrieveColumnTypes
protected boolean retrieveColumnTypes()(Code)
Determines if the action should attempt to retrieve the columns types



runFinalQuery
protected boolean runFinalQuery(IPentahoConnection localConnection, String rawQuery, String[] columnTypes)(Code)



runQuery
protected boolean runQuery(IPentahoConnection localConnection, String rawQuery)(Code)



shareConnection
public IPentahoConnection shareConnection()(Code)
implements IPreparedComponents shareConnection, allowing other xquery components to access the connection shared connection



validateAction
protected boolean validateAction()(Code)



validateSystemSettings
abstract public boolean validateSystemSettings()(Code)



Fields inherited from org.pentaho.plugin.ComponentBase
final public static String COMPONENT_EXECUTE_FAIL(Code)(Java Doc)
final public static String MISSING_SESSION(Code)(Java Doc)
final protected static String UNKNOWN_COMPONENT_ID(Code)(Java Doc)
final protected static boolean debug(Code)(Java Doc)

Methods inherited from org.pentaho.plugin.ComponentBase
protected void addTempParameter(String name, IActionParameter param)(Code)(Java Doc)
protected void addTempParameterObject(String name, Object paramObject)(Code)(Java Doc)
protected String applyInputsToFormat(String format)(Code)(Java Doc)
protected void audit(String messageType, String message, String value, int duration)(Code)(Java Doc)
protected void createFeedbackParameter(IActionParameter actionParam)(Code)(Java Doc)
protected void createFeedbackParameter(SelectionMapper selMap, String fieldName, Object defaultValues)(Code)(Java Doc)
protected void createFeedbackParameter(SelectionMapper selMap, String fieldName, Object defaultValues, boolean optional)(Code)(Java Doc)
protected void createFeedbackParameter(String fieldName, String displayName, String hint, String defaultValue, boolean visible)(Code)(Java Doc)
protected void createFeedbackParameter(String fieldName, String displayName, String hint, String defaultValue, boolean visible, boolean optional)(Code)(Java Doc)
public void createFeedbackParameter(String fieldName, String displayName, String hint, Object defaultValues, List values, Map dispNames, String displayStyle)(Code)(Java Doc)
public void createFeedbackParameter(String fieldName, String displayName, String hint, Object defaultValues, List values, Map dispNames, String displayStyle, boolean optional)(Code)(Java Doc)
public String createNewInstance(boolean persisted, Map parameters, boolean forceImmediateWrite)(Code)(Java Doc)
abstract public void done()(Code)(Java Doc)
public int execute()(Code)(Java Doc)
abstract protected boolean executeAction() throws Throwable(Code)(Java Doc)
protected boolean feedbackAllowed()(Code)(Java Doc)
public ActionDefinition getActionDefinition()(Code)(Java Doc)
public String getActionName()(Code)(Java Doc)
public String getActionTitle()(Code)(Java Doc)
public Node getComponentDefinition()(Code)(Java Doc)
public Node getComponentDefinition(boolean process)(Code)(Java Doc)
protected String getContentUrl(IContentItem contentItem)(Code)(Java Doc)
protected DataSource getDataSource(String parameterName)(Code)(Java Doc)
protected OutputStream getDefaultOutputStream(String mimeType)(Code)(Java Doc)
protected OutputStream getFeedbackOutputStream()(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public String getInitFailMessage()(Code)(Java Doc)
public boolean getInitOk()(Code)(Java Doc)
protected boolean getInputBooleanValue(String inputName, boolean defaultValue)(Code)(Java Doc)
protected long getInputLongValue(String inputName, long defaultValue)(Code)(Java Doc)
protected Set getInputNames()(Code)(Java Doc)
protected IActionParameter getInputParameter(String parameterName)(Code)(Java Doc)
protected InputStream getInputStream(String inputName)(Code)(Java Doc)
protected String getInputStringValue(String inputName)(Code)(Java Doc)
protected String getInputStringValue(String inputName, boolean applyTemplates)(Code)(Java Doc)
protected Object getInputValue(String inputName)(Code)(Java Doc)
public String getInstanceId()(Code)(Java Doc)
public String getLogId()(Code)(Java Doc)
public String getObjectName()(Code)(Java Doc)
protected IContentItem getOutputContentItem(String mimeType)(Code)(Java Doc)
protected IContentItem getOutputContentItem(String outputName, String mimeType)(Code)(Java Doc)
protected IContentItem getOutputItem(String outputName, String mimeType, String extension)(Code)(Java Doc)
protected IActionParameter getOutputItem(String outputName)(Code)(Java Doc)
protected Set getOutputNames()(Code)(Java Doc)
protected int getOutputPreference()(Code)(Java Doc)
public String getProcessId()(Code)(Java Doc)
protected IActionResource getResource(String resourceName)(Code)(Java Doc)
public String getResourceAsString(IActionResource resource)(Code)(Java Doc)
protected DataSource getResourceDataSource(IActionResource resource) throws FileNotFoundException(Code)(Java Doc)
protected InputStream getResourceInputStream(IActionResource resource) throws FileNotFoundException(Code)(Java Doc)
protected Set getResourceNames()(Code)(Java Doc)
public IRuntimeContext getRuntimeContext()(Code)(Java Doc)
public IPentahoSession getSession()(Code)(Java Doc)
protected Object getSetting(String name)(Code)(Java Doc)
protected String getSolutionName()(Code)(Java Doc)
protected String getSolutionPath()(Code)(Java Doc)
protected String getStringSetting(String name)(Code)(Java Doc)
abstract public boolean init()(Code)(Java Doc)
public void inputMissingError(String paramName)(Code)(Java Doc)
protected boolean isDefinedInput(String inputName)(Code)(Java Doc)
protected boolean isDefinedOutput(String outputName)(Code)(Java Doc)
protected boolean isDefinedResource(String resourceName)(Code)(Java Doc)
protected boolean isPromptPending()(Code)(Java Doc)
public void outputMissingError(String paramName)(Code)(Java Doc)
public void promptNeeded()(Code)(Java Doc)
public void promptNow()(Code)(Java Doc)
public int resolveParameter(String template, String parameterName, Matcher parameterMatcher, int copyStart, StringBuffer result)(Code)(Java Doc)
public void resourceComponentSettingError(String paramName)(Code)(Java Doc)
public void resourceMissingError(String paramName)(Code)(Java Doc)
protected void saveSetting(String name, Object value)(Code)(Java Doc)
public void setActionDefinition(ActionDefinition actionDefinition)(Code)(Java Doc)
public void setActionName(String actionName)(Code)(Java Doc)
public void setComponentDefinition(Node componentDefinition)(Code)(Java Doc)
protected void setFeedbackMimeType(String mimeType)(Code)(Java Doc)
public void setInstanceId(String instanceId)(Code)(Java Doc)
protected void setOutputMimeType(String mimeType)(Code)(Java Doc)
protected void setOutputMimeType(String outputName, String mimeType)(Code)(Java Doc)
protected void setOutputValue(String outputName, Object value)(Code)(Java Doc)
public void setProcessId(String processId)(Code)(Java Doc)
public void setRuntimeContext(IRuntimeContext runtimeContext)(Code)(Java Doc)
public void setSession(IPentahoSession session)(Code)(Java Doc)
final public int validate()(Code)(Java Doc)
abstract protected boolean validateAction()(Code)(Java Doc)
abstract protected boolean validateSystemSettings()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.