Java Doc for ISolutionEngine.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.ISolutionEngine

All known Subclasses:   org.pentaho.core.solution.SolutionEngine,
ISolutionEngine
public interface ISolutionEngine extends ILogger(Code)
The Solution Engine handles loading and launching execution of solutions and action sequences. There is one solution engine per request, which can launch one or more action sequences.


Field Summary
final public static  StringRUNTIME_SOLUTION_NAME
    


Method Summary
public  IRuntimeContextexecute(String solutionName, String actionPath, String actionName, String processId, boolean async, boolean instanceEnds, String instanceId, boolean persisted, Map parameterProviderMap, IOutputHandler outputHandler, IActionCompleteListener listener, IPentahoUrlFactory urlFactory, List messages)
    
public  IRuntimeContextexecute(IRuntimeContext runtime, String solutionName, String sequencePath, String sequenceName, String processId, boolean async, boolean instanceEnds, Map parameterProviderMap, IOutputHandler outputHandler)
    
public  IRuntimeContextexecute(String actionSequenceXML, String sequenceName, String processId, boolean async, boolean instanceEnds, String instanceId, boolean persisted, Map parameterProviderMap, IOutputHandler outputHandler, IActionCompleteListener pListener, IPentahoUrlFactory urlFactory, List messages)
    
public  IRuntimeContextgetExecutionContext()
    
public  intgetStatus()
    
public  voidinit(IPentahoSession session)
     Initialize the SolutionEngine.
public  voidsetForcePrompt(boolean forcePrompt)
    
public  voidsetParameterProvider(String name, IParameterProvider parameterProvider)
     Sets the source for input parameters.
public  voidsetParameterXsl(String xsl)
     Sets the xsl file to be used to generate the parameter page for the current component.
public  voidsetSession(IPentahoSession session)
    
public  voidsetlistener(IActionCompleteListener listener)
    

Field Detail
RUNTIME_SOLUTION_NAME
final public static String RUNTIME_SOLUTION_NAME(Code)





Method Detail
execute
public IRuntimeContext execute(String solutionName, String actionPath, String actionName, String processId, boolean async, boolean instanceEnds, String instanceId, boolean persisted, Map parameterProviderMap, IOutputHandler outputHandler, IActionCompleteListener listener, IPentahoUrlFactory urlFactory, List messages)(Code)
Executes the action sequence specified in the manner described in the parameters
Parameters:
  solutionName - the name at the root level of the solution path
Parameters:
  actionPath - the path relative to the solutionName that will lead to therequested action
Parameters:
  actionName - name of the action sequence document
Parameters:
  processId - id for the given action sequence document
Parameters:
  async - synchronous(false) or asynchronous(true) execution (notcurrently used)
Parameters:
  instanceId - id to be handed to the runtime repository
Parameters:
  persisted - if true, store runtime data, otherwise do not
Parameters:
  parameterProviderMap - group of ParameterProviders, sources for inout parameters
Parameters:
  outputHandler - handler used to query for addition parameters
Parameters:
  listener - object notified on completion of action sequences
Parameters:
  urlFactory - factory for building urls
Parameters:
  messages - list into which debug, info, warning, and errors messages willbe added IRuntimeContext the RuntimeContext associated with this actionsequence execution
See Also:   org.pentaho.core.runtime.IRuntimeContext



execute
public IRuntimeContext execute(IRuntimeContext runtime, String solutionName, String sequencePath, String sequenceName, String processId, boolean async, boolean instanceEnds, Map parameterProviderMap, IOutputHandler outputHandler)(Code)
Executes the action sequence specified
Parameters:
  runtime - The runtime context for the execution
Parameters:
  solutionName - Name of the solution
Parameters:
  sequencePath - path to the solution
Parameters:
  sequenceName - name of the action sequence
Parameters:
  processId - id for the given process, typically a GUID or unique id for this execution
Parameters:
  async - true if the execution should be asynchronous.
Parameters:
  instanceEnds - currently true indicating that the process ends with this execution
Parameters:
  parameterProviderMap - Map of parameter providers to use for the execution
Parameters:
  outputHandler - The output handler for dealing with user feedback The runtime context for the execution
See Also:   IRuntimeContext
See Also:   IParameterProvider
See Also:   IActionSequence



execute
public IRuntimeContext execute(String actionSequenceXML, String sequenceName, String processId, boolean async, boolean instanceEnds, String instanceId, boolean persisted, Map parameterProviderMap, IOutputHandler outputHandler, IActionCompleteListener pListener, IPentahoUrlFactory urlFactory, List messages)(Code)
Executes the in memory action sequence specified
Parameters:
  actionSequenceXML - the in memory action sequence string
Parameters:
  sequenceName - name of the action sequence
Parameters:
  processId - id for the given process, typically a GUID or unique id for this execution
Parameters:
  async - true if the execution should be asynchronous.
Parameters:
  instanceEnds - currently true indicating that the process ends with this execution
Parameters:
  parameterProviderMap - Map of parameter providers to use for the execution
Parameters:
  outputHandler - The output handler for dealing with user feedback The runtime context for the execution
See Also:   IRuntimeContext
See Also:   IParameterProvider
See Also:   IActionSequence



getExecutionContext
public IRuntimeContext getExecutionContext()(Code)
the runtime context being used for this execution.



getStatus
public int getStatus()(Code)
Gets the current status from this execution



init
public void init(IPentahoSession session)(Code)
Initialize the SolutionEngine. This method should be called immediately after object construction, and if solution engines are re-used among different IPentahoSessions to bind the solution engine to the session.
Parameters:
  session - the session context for this SolutionEngine



setForcePrompt
public void setForcePrompt(boolean forcePrompt)(Code)
Sets if the promp page should be forced
Parameters:
  status -



setParameterProvider
public void setParameterProvider(String name, IParameterProvider parameterProvider)(Code)
Sets the source for input parameters.
Parameters:
  name - name to give to this provider
Parameters:
  parameterProvider - instance of a provider
See Also:   org.pentaho.core.solution.IParameterProvider



setParameterXsl
public void setParameterXsl(String xsl)(Code)
Sets the xsl file to be used to generate the parameter page for the current component. The parameter should be a full path from the solution root starting with a /, or it should be a path relative to the directory of the current action sequence.
Parameters:
  xsl - The name of the XSL file



setSession
public void setSession(IPentahoSession session)(Code)
Sets the session in the solution engine
Parameters:
  session - The session for this execution



setlistener
public void setlistener(IActionCompleteListener listener)(Code)
Sets the action complete listener which will be called when the action is complete
Parameters:
  listener - Listener to call back when execution is complete.



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