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


org.pentaho.core.solution.IOutputHandler

All known Subclasses:   org.pentaho.core.solution.SimpleOutputHandler,  org.pentaho.core.repository.content.ContentRepositoryOutputHandler,  org.pentaho.core.solution.HttpOutputHandler,
IOutputHandler
public interface IOutputHandler (Code)
An OutputHandler manages the content generated from a Component execution. Output can take the form of the generated results from a component, or content that solicits additional information from the requester. The handler also manages the relationship with the ActionDefinition and output content validation.


Field Summary
final public static  StringCONTENT
    
final public static  StringFILE
    
final public static  intOUTPUT_TYPE_CONTENT
    
final public static  intOUTPUT_TYPE_DEFAULT
    
final public static  intOUTPUT_TYPE_PARAMETERS
    
final public static  StringRESPONSE
    


Method Summary
public  booleanallowFeedback()
     Determines whether this output handler can send feedback ContentItems or not.
public  booleancontentDone()
    
public  IContentItemgetFeedbackContentItem()
    
public  MimeTypeListenergetMimeTypeListener()
    
public  IContentItemgetOutputContentItem(String objectName, String contentName, String solution, String instanceId, String mimeType)
     Retrieve the ContentItem that describes the output from this request's component execution.
public  IContentItemgetOutputContentItem(String objectName, String contentName, String title, String url, String solution, String instanceId, String mimeType)
     Retrieve the ContentItem that describes the output from this request's component execution.
public  IOutputDefgetOutputDef(String name)
    
public  MapgetOutputDefs()
     Returns a map of the valid output parameter definitions for this request.
public  intgetOutputPreference()
     Gets the output type prefered by the handler.
public  IPentahoSessiongetSession()
    
public  voidsetContentItem(IContentItem content, String objectName, String contentName)
     Sets the output ContentItem for this handler. objectName will be the name of the destination node from the action sequence output contentName will be the value of the destination node from the action sequence output e.g.
public  voidsetMimeTypeListener(MimeTypeListener mimeTypeListener)
    
public  voidsetOutput(String name, Object value)
     Sets an output of the handler.
public  voidsetOutputPreference(int outputType)
     Sets the output type that is wanted by the handler.
public  voidsetRuntimeContext(IRuntimeContext runtimeContext)
    
public  voidsetSession(IPentahoSession session)
    

Field Detail
CONTENT
final public static String CONTENT(Code)



FILE
final public static String FILE(Code)



OUTPUT_TYPE_CONTENT
final public static int OUTPUT_TYPE_CONTENT(Code)



OUTPUT_TYPE_DEFAULT
final public static int OUTPUT_TYPE_DEFAULT(Code)



OUTPUT_TYPE_PARAMETERS
final public static int OUTPUT_TYPE_PARAMETERS(Code)



RESPONSE
final public static String RESPONSE(Code)





Method Detail
allowFeedback
public boolean allowFeedback()(Code)
Determines whether this output handler can send feedback ContentItems or not.

Generally, if there is no client on the other side of the request that could receive and process feedback, then this boolean should be setto false. true if feedback is allowed, false otherwise




contentDone
public boolean contentDone()(Code)



getFeedbackContentItem
public IContentItem getFeedbackContentItem()(Code)
Retrieve the ContentItem that describes the request interface for additional or missing information (missing from the original request) ContentItem describing user feedback



getMimeTypeListener
public MimeTypeListener getMimeTypeListener()(Code)



getOutputContentItem
public IContentItem getOutputContentItem(String objectName, String contentName, String solution, String instanceId, String mimeType)(Code)
Retrieve the ContentItem that describes the output from this request's component execution.
Parameters:
  objectName - Name of the object
Parameters:
  contentName - Name of the content ContentItem describing end result output



getOutputContentItem
public IContentItem getOutputContentItem(String objectName, String contentName, String title, String url, String solution, String instanceId, String mimeType)(Code)
Retrieve the ContentItem that describes the output from this request's component execution.
Parameters:
  objectName - Name of the object
Parameters:
  contentName - Name of the content
Parameters:
  title - Title of the object
Parameters:
  url - URL to view the object ContentItem describing end result output



getOutputDef
public IOutputDef getOutputDef(String name)(Code)
Retrieve a single output parameter definition by name
Parameters:
  name - name of the output parameter definition requested IOutputDef, output definition object



getOutputDefs
public Map getOutputDefs()(Code)
Returns a map of the valid output parameter definitions for this request. Map of parameters in name-value or name-list form



getOutputPreference
public int getOutputPreference()(Code)
Gets the output type prefered by the handler. Values are defined in org.pentaho.core.solution.IOutputHander and are OUTPUT_TYPE_PARAMETERS, OUTPUT_TYPE_CONTENT, or OUTPUT_TYPE_DEFAULT Output type



getSession
public IPentahoSession getSession()(Code)



setContentItem
public void setContentItem(IContentItem content, String objectName, String contentName)(Code)
Sets the output ContentItem for this handler. objectName will be the name of the destination node from the action sequence output contentName will be the value of the destination node from the action sequence output e.g. if the outputs section in the ation sequence looks like this: content objectName should be 'response' contentName should be 'content'
Parameters:
  content - ContentItem to set
Parameters:
  objectName - Name of the object
Parameters:
  contentName - Name of the content



setMimeTypeListener
public void setMimeTypeListener(MimeTypeListener mimeTypeListener)(Code)



setOutput
public void setOutput(String name, Object value)(Code)
Sets an output of the handler. For example the HTTP handler will accept output names of 'header' allowing an HTTP header to be set, and 'redirect' allowing the responses sendRedirect to be called.
Parameters:
  name - Name of the output
Parameters:
  value - Value of the output



setOutputPreference
public void setOutputPreference(int outputType)(Code)
Sets the output type that is wanted by the handler. Valid values are OUTPUT_TYPE_PARAMETERS, OUTPUT_TYPE_CONTENT, OUTPUT_TYPE_DEFAULT
Parameters:
  outputType - Output type requested



setRuntimeContext
public void setRuntimeContext(IRuntimeContext runtimeContext)(Code)



setSession
public void setSession(IPentahoSession session)(Code)



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