Java Doc for ComponentBase.java in  » Report » pentaho-report » org » pentaho » plugin » 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 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.pentaho.core.system.PentahoMessenger
   org.pentaho.plugin.ComponentBase

All known Subclasses:   org.pentaho.plugin.core.SimpleComponent,  org.pentaho.plugin.misc.InstanceEnd,  org.pentaho.plugin.sql.SQLBaseComponent,  org.pentaho.plugin.core.ResultSetCrosstabComponent,  org.pentaho.plugin.xquery.XQueryBaseComponent,  org.pentaho.plugin.xmla.XMLABaseComponent,  org.pentaho.plugin.core.ResultSetExportComponent,  org.pentaho.plugin.misc.TestComponent,  org.pentaho.plugin.core.ResultSetFlattenerComponent,  org.pentaho.plugin.jasperreports.JasperReportsComponent,  org.pentaho.plugin.versionchecker.PentahoVersionCheckComponent,  org.pentaho.plugin.jfreereport.JFreeReportGeneratorComponent,  org.pentaho.plugin.core.SubscriptionBurstComponent,  org.pentaho.plugin.core.HelloWorldComponent,  org.pentaho.plugin.olap.PivotViewComponent,  org.pentaho.plugin.kettle.KettleComponent,  org.pentaho.plugin.shark.SharkWorkflowComponent,  org.pentaho.plugin.eclipsebirt.BIRTReportComponent,  org.pentaho.plugin.core.SecureFilterComponent,  org.pentaho.plugin.core.ContentRepositoryCleaner,  org.pentaho.plugin.jfreereport.AbstractJFreeReportComponent,  org.pentaho.plugin.olap.MondrianModelComponent,  org.pentaho.plugin.misc.UtilityComponent,  org.pentaho.plugin.core.ResultSetCompareComponent,  org.pentaho.plugin.mdx.MDXBaseComponent,  org.pentaho.plugin.misc.ReceiptAuditComponent,  org.pentaho.plugin.hql.HQLBaseComponent,  org.pentaho.plugin.quartz.SchedulerAdminComponent,  org.pentaho.plugin.quartz.JobSchedulerComponent,  org.pentaho.plugin.email.EmailComponent,  org.pentaho.plugin.core.SubActionComponent,  org.pentaho.plugin.core.ContentOutputComponent,  org.pentaho.plugin.core.TemplateComponent,  org.pentaho.plugin.print.PrintComponent,  org.pentaho.plugin.jfreechart.ChartComponent,  org.pentaho.plugin.javascript.JavascriptRule,
ComponentBase
abstract public class ComponentBase extends PentahoMessenger implements IComponent,IParameterResolver(Code)


Field Summary
final public static  StringCOMPONENT_EXECUTE_FAIL
    
final public static  StringMISSING_SESSION
    
final protected static  StringUNKNOWN_COMPONENT_ID
    
final protected static  booleandebug
    


Method Summary
protected  voidaddTempParameter(String name, IActionParameter param)
    
protected  voidaddTempParameterObject(String name, Object paramObject)
    
protected  StringapplyInputsToFormat(String format)
    
protected  voidaudit(String messageType, String message, String value, int duration)
    
protected  voidcreateFeedbackParameter(IActionParameter actionParam)
    
protected  voidcreateFeedbackParameter(SelectionMapper selMap, String fieldName, Object defaultValues)
    
protected  voidcreateFeedbackParameter(SelectionMapper selMap, String fieldName, Object defaultValues, boolean optional)
    
protected  voidcreateFeedbackParameter(String fieldName, String displayName, String hint, String defaultValue, boolean visible)
    
protected  voidcreateFeedbackParameter(String fieldName, String displayName, String hint, String defaultValue, boolean visible, boolean optional)
    
public  voidcreateFeedbackParameter(String fieldName, String displayName, String hint, Object defaultValues, List values, Map dispNames, String displayStyle)
    
public  voidcreateFeedbackParameter(String fieldName, String displayName, String hint, Object defaultValues, List values, Map dispNames, String displayStyle, boolean optional)
    
public  StringcreateNewInstance(boolean persisted, Map parameters, boolean forceImmediateWrite)
    
abstract public  voiddone()
    
public  intexecute()
    
abstract protected  booleanexecuteAction()
    
protected  booleanfeedbackAllowed()
    
public  ActionDefinitiongetActionDefinition()
    
public  StringgetActionName()
    
public  StringgetActionTitle()
    
public  NodegetComponentDefinition()
    
public  NodegetComponentDefinition(boolean process)
     Return the xml Node containing the component's definition.
protected  StringgetContentUrl(IContentItem contentItem)
    
protected  DataSourcegetDataSource(String parameterName)
    
protected  OutputStreamgetDefaultOutputStream(String mimeType)
    
protected  OutputStreamgetFeedbackOutputStream()
    
public  StringgetId()
    
public  StringgetInitFailMessage()
    
public  booleangetInitOk()
    
protected  booleangetInputBooleanValue(String inputName, boolean defaultValue)
    
protected  longgetInputLongValue(String inputName, long defaultValue)
    
protected  SetgetInputNames()
    
protected  IActionParametergetInputParameter(String parameterName)
    
protected  InputStreamgetInputStream(String inputName)
    
protected  StringgetInputStringValue(String inputName)
    
protected  StringgetInputStringValue(String inputName, boolean applyTemplates)
    
protected  ObjectgetInputValue(String inputName)
    
public  StringgetInstanceId()
    
public  StringgetLogId()
    
public  StringgetObjectName()
    
protected  IContentItemgetOutputContentItem(String mimeType)
    
protected  IContentItemgetOutputContentItem(String outputName, String mimeType)
    
protected  IContentItemgetOutputItem(String outputName, String mimeType, String extension)
    
protected  IActionParametergetOutputItem(String outputName)
    
protected  SetgetOutputNames()
    
protected  intgetOutputPreference()
    
public  StringgetProcessId()
    
protected  IActionResourcegetResource(String resourceName)
    
public  StringgetResourceAsString(IActionResource resource)
    
protected  DataSourcegetResourceDataSource(IActionResource resource)
    
protected  InputStreamgetResourceInputStream(IActionResource resource)
    
protected  SetgetResourceNames()
    
public  IRuntimeContextgetRuntimeContext()
    
public  IPentahoSessiongetSession()
    
protected  ObjectgetSetting(String name)
    
protected  StringgetSolutionName()
    
protected  StringgetSolutionPath()
    
protected  StringgetStringSetting(String name)
    
abstract public  booleaninit()
    
public  voidinputMissingError(String paramName)
    
protected  booleanisDefinedInput(String inputName)
    
protected  booleanisDefinedOutput(String outputName)
    
protected  booleanisDefinedResource(String resourceName)
    
protected  booleanisPromptPending()
    
public  voidoutputMissingError(String paramName)
    
public  voidpromptNeeded()
    
public  voidpromptNow()
    
public  intresolveParameter(String template, String parameterName, Matcher parameterMatcher, int copyStart, StringBuffer result)
    
public  voidresourceComponentSettingError(String paramName)
    
public  voidresourceMissingError(String paramName)
    
protected  voidsaveSetting(String name, Object value)
    
public  voidsetActionDefinition(ActionDefinition actionDefinition)
    
public  voidsetActionName(String actionName)
    
public  voidsetComponentDefinition(Node componentDefinition)
    
protected  voidsetFeedbackMimeType(String mimeType)
    
public  voidsetInstanceId(String instanceId)
    
protected  voidsetOutputMimeType(String mimeType)
    
protected  voidsetOutputMimeType(String outputName, String mimeType)
    
protected  voidsetOutputValue(String outputName, Object value)
    
public  voidsetProcessId(String processId)
    
public  voidsetRuntimeContext(IRuntimeContext runtimeContext)
    
public  voidsetSession(IPentahoSession session)
    
final public  intvalidate()
    
abstract protected  booleanvalidateAction()
    
abstract protected  booleanvalidateSystemSettings()
    

Field Detail
COMPONENT_EXECUTE_FAIL
final public static String COMPONENT_EXECUTE_FAIL(Code)



MISSING_SESSION
final public static String MISSING_SESSION(Code)



UNKNOWN_COMPONENT_ID
final protected static String UNKNOWN_COMPONENT_ID(Code)



debug
final protected static boolean debug(Code)





Method Detail
addTempParameter
protected void addTempParameter(String name, IActionParameter param)(Code)



addTempParameterObject
protected void addTempParameterObject(String name, Object paramObject)(Code)



applyInputsToFormat
protected String applyInputsToFormat(String format)(Code)



audit
protected void audit(String messageType, String message, String value, int duration)(Code)



createFeedbackParameter
protected void createFeedbackParameter(IActionParameter actionParam)(Code)

Parameters:
  actionParam -



createFeedbackParameter
protected void createFeedbackParameter(SelectionMapper selMap, String fieldName, Object defaultValues)(Code)



createFeedbackParameter
protected void createFeedbackParameter(SelectionMapper selMap, String fieldName, Object defaultValues, boolean optional)(Code)



createFeedbackParameter
protected void createFeedbackParameter(String fieldName, String displayName, String hint, String defaultValue, boolean visible)(Code)



createFeedbackParameter
protected void createFeedbackParameter(String fieldName, String displayName, String hint, String defaultValue, boolean visible, boolean optional)(Code)



createFeedbackParameter
public void createFeedbackParameter(String fieldName, String displayName, String hint, Object defaultValues, List values, Map dispNames, String displayStyle)(Code)



createFeedbackParameter
public void createFeedbackParameter(String fieldName, String displayName, String hint, Object defaultValues, List values, Map dispNames, String displayStyle, boolean optional)(Code)



createNewInstance
public String createNewInstance(boolean persisted, Map parameters, boolean forceImmediateWrite)(Code)



done
abstract public void done()(Code)



execute
public int execute()(Code)



executeAction
abstract protected boolean executeAction() throws Throwable(Code)



feedbackAllowed
protected boolean feedbackAllowed()(Code)



getActionDefinition
public ActionDefinition getActionDefinition()(Code)



getActionName
public String getActionName()(Code)



getActionTitle
public String getActionTitle()(Code)



getComponentDefinition
public Node getComponentDefinition()(Code)



getComponentDefinition
public Node getComponentDefinition(boolean process)(Code)
Return the xml Node containing the component's definition. If process is true, visit every child node in the tree, and if the child node's text is an action parameter convert it to it's value. (See doc for applyInputsToFormat())
Parameters:
  process - if true, if the node's text represents a parameter, convertthe parameter to it's value, and assign the value to thenode's text. Node containing this component's definition.



getContentUrl
protected String getContentUrl(IContentItem contentItem)(Code)



getDataSource
protected DataSource getDataSource(String parameterName)(Code)



getDefaultOutputStream
protected OutputStream getDefaultOutputStream(String mimeType)(Code)



getFeedbackOutputStream
protected OutputStream getFeedbackOutputStream()(Code)



getId
public String getId()(Code)



getInitFailMessage
public String getInitFailMessage()(Code)



getInitOk
public boolean getInitOk()(Code)



getInputBooleanValue
protected boolean getInputBooleanValue(String inputName, boolean defaultValue)(Code)



getInputLongValue
protected long getInputLongValue(String inputName, long defaultValue)(Code)



getInputNames
protected Set getInputNames()(Code)



getInputParameter
protected IActionParameter getInputParameter(String parameterName)(Code)



getInputStream
protected InputStream getInputStream(String inputName)(Code)



getInputStringValue
protected String getInputStringValue(String inputName)(Code)



getInputStringValue
protected String getInputStringValue(String inputName, boolean applyTemplates)(Code)



getInputValue
protected Object getInputValue(String inputName)(Code)



getInstanceId
public String getInstanceId()(Code)



getLogId
public String getLogId()(Code)



getObjectName
public String getObjectName()(Code)



getOutputContentItem
protected IContentItem getOutputContentItem(String mimeType)(Code)



getOutputContentItem
protected IContentItem getOutputContentItem(String outputName, String mimeType)(Code)



getOutputItem
protected IContentItem getOutputItem(String outputName, String mimeType, String extension)(Code)



getOutputItem
protected IActionParameter getOutputItem(String outputName)(Code)



getOutputNames
protected Set getOutputNames()(Code)



getOutputPreference
protected int getOutputPreference()(Code)



getProcessId
public String getProcessId()(Code)



getResource
protected IActionResource getResource(String resourceName)(Code)



getResourceAsString
public String getResourceAsString(IActionResource resource)(Code)



getResourceDataSource
protected DataSource getResourceDataSource(IActionResource resource) throws FileNotFoundException(Code)



getResourceInputStream
protected InputStream getResourceInputStream(IActionResource resource) throws FileNotFoundException(Code)



getResourceNames
protected Set getResourceNames()(Code)



getRuntimeContext
public IRuntimeContext getRuntimeContext()(Code)



getSession
public IPentahoSession getSession()(Code)



getSetting
protected Object getSetting(String name)(Code)



getSolutionName
protected String getSolutionName()(Code)



getSolutionPath
protected String getSolutionPath()(Code)



getStringSetting
protected String getStringSetting(String name)(Code)



init
abstract public boolean init()(Code)



inputMissingError
public void inputMissingError(String paramName)(Code)



isDefinedInput
protected boolean isDefinedInput(String inputName)(Code)



isDefinedOutput
protected boolean isDefinedOutput(String outputName)(Code)



isDefinedResource
protected boolean isDefinedResource(String resourceName)(Code)



isPromptPending
protected boolean isPromptPending()(Code)



outputMissingError
public void outputMissingError(String paramName)(Code)



promptNeeded
public void promptNeeded()(Code)



promptNow
public void promptNow()(Code)



resolveParameter
public int resolveParameter(String template, String parameterName, Matcher parameterMatcher, int copyStart, StringBuffer result)(Code)



resourceComponentSettingError
public void resourceComponentSettingError(String paramName)(Code)



resourceMissingError
public void resourceMissingError(String paramName)(Code)



saveSetting
protected void saveSetting(String name, Object value)(Code)



setActionDefinition
public void setActionDefinition(ActionDefinition actionDefinition)(Code)



setActionName
public void setActionName(String actionName)(Code)



setComponentDefinition
public void setComponentDefinition(Node componentDefinition)(Code)



setFeedbackMimeType
protected void setFeedbackMimeType(String mimeType)(Code)



setInstanceId
public void setInstanceId(String instanceId)(Code)



setOutputMimeType
protected void setOutputMimeType(String mimeType)(Code)



setOutputMimeType
protected void setOutputMimeType(String outputName, String mimeType)(Code)



setOutputValue
protected void setOutputValue(String outputName, Object value)(Code)



setProcessId
public void setProcessId(String processId)(Code)



setRuntimeContext
public void setRuntimeContext(IRuntimeContext runtimeContext)(Code)



setSession
public void setSession(IPentahoSession session)(Code)



validate
final public int validate()(Code)



validateAction
abstract protected boolean validateAction()(Code)



validateSystemSettings
abstract protected boolean validateSystemSettings()(Code)



Methods inherited from org.pentaho.core.system.PentahoMessenger
public void debug(String message)(Code)(Java Doc)
public void debug(String message, Throwable error)(Code)(Java Doc)
public void error(String message)(Code)(Java Doc)
public void error(String message, Throwable error)(Code)(Java Doc)
public void fatal(String message)(Code)(Java Doc)
public void fatal(String message, Throwable error)(Code)(Java Doc)
public List getMessages()(Code)(Java Doc)
public static String getUserString(String type)(Code)(Java Doc)
public void info(String message)(Code)(Java Doc)
public void info(String message, Throwable error)(Code)(Java Doc)
public void setMessages(List messages)(Code)(Java Doc)
public void trace(String message)(Code)(Java Doc)
public void trace(String message, Throwable error)(Code)(Java Doc)
public void warn(String message)(Code)(Java Doc)
public void warn(String message, Throwable error)(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.