Java Doc for ReportsTool.java in  » ERP-CRM-Financial » sakai » org » theospi » portfolio » reports » tool » 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 » ERP CRM Financial » sakai » org.theospi.portfolio.reports.tool 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.theospi.portfolio.shared.tool.ToolBase
      org.theospi.portfolio.reports.tool.ReportsTool

ReportsTool
public class ReportsTool extends ToolBase (Code)
This class is the controller and model to the jsp view.

There is an inner class for allowing the report data classes to interact with the jsp.

Each session gets its own ReportsTool.

    Testing procedures:

Test the different parameter types Make sure the sql param is pulling data Test a live and a non-live report Save the results Re-run a live report, save results External dependencies: worksite, users, tool,
author:
   andersjb



Field Summary
final protected static  StringcreateReportPage
    
final protected static  StringcreateReportParamsPage
    
final protected static  StringcreateTrigger
    
final protected static  StringdeleteTriggers
    
final protected static  StringimportReportDef
    
final protected  Loglogger
    
final protected static  StringmainPage
    
final protected static  StringreportResultsPage
    
final protected static  StringsaveResultsPage
    
final protected static  StringscheduleReport
    
final protected static  StringshareReportResult
    


Method Summary
public  ContentHostingServicegetContentHosting()
    
public  ListgetFilteredTriggersWrapperList()
    
public  IdManagergetIdManager()
    
public  StringgetImportFilesString()
     This is called to put the file names into the text box.
public  StringgetInvalidImportMessage()
    
public  JobDetailgetJobDetail()
    
public  JobDetailWrappergetJobDetailWrapper()
    
public  StringgetJobName()
    
public  ListgetJobTriggerList(JobDetail jobDetail)
    
public  StringgetPermissionsMessage()
    
public  StringgetReportFunctionPrefix()
    
public  ListgetReports()
     This method gets the list of reports encapsulated by DecoratedReportDefinition.
public  ReportsManagergetReportsManager()
    
public  ListgetResults()
    
public  booleangetSavedLiveReport()
     Tells the interface if the live report was saved.
public  SchedulerManagergetSchedulerManager()
    
public  ToolgetTool()
    
public  StringgetTriggerExpression()
    
public  StringgetTriggerName()
    
public  MapgetUserCan()
    
public  DecoratedReportgetWorkingReport()
    
public  DecoratedReportDefinitiongetWorkingReportDefinition()
    
public  DecoratedReportResultgetWorkingResult()
    
public  SitegetWorksite()
    
public  StringgotoOptions()
     An action called from the JSP through the JSF framework.
public  booleanisInvalidImport()
    
public  booleanisInvalidXslFile()
    
public  booleanisMaintainer()
    
public  voidprocessActionAudienceHelper(DecoratedReportResult reportResult)
    
public  StringprocessActionCancel()
    
public  StringprocessCancelExport()
    
public  StringprocessCancelReport()
     An action called from the JSP through the JSF framework.
public  StringprocessCancelSave()
    
public  StringprocessChangeViewXsl()
    
public  StringprocessCreateTrigger()
    
public  StringprocessDeleteLiveReport(DecoratedReport report)
    
public  StringprocessDeleteReportDef(ReportDefinition reportDef)
    
public  StringprocessDeleteReportResult(DecoratedReportResult reportResult)
     When deleting a report result, delete the report result...
public  StringprocessDeleteTriggers()
    
public  StringprocessEditLiveReport(DecoratedReport report)
    
public  StringprocessEditParamsBack()
    
public  StringprocessEditParamsContinue()
    
public  StringprocessImportDefinition()
    
public  StringprocessImportReports()
    
public  StringprocessPermissions()
     We want to use an action to forward to the helper.
public  StringprocessPickImportFiles()
    
public  StringprocessRefreshFilteredTriggers()
    
public  StringprocessReportBaseProperties()
     An action called from the JSP through the JSF framework.
public  StringprocessSaveReport()
    
public  StringprocessSaveResults()
    
public  StringprocessSaveResultsToDB()
    
public  StringprocessSaveResultsToResources(DecoratedReportResult reportResult)
    
public  StringprocessScheduleReport(DecoratedReport report)
    
public  StringprocessSelectAllTriggers()
    
public  StringprocessSelectLiveReport(DecoratedReport report)
     this function loads a live report.
public  StringprocessSelectReportResult(DecoratedReportResult reportResult)
    
public  voidsetContentHosting(ContentHostingService contentHosting)
    
public  voidsetFilteredTriggersWrapperList(List filteredTriggersWrapperList)
    
public  voidsetIdManager(IdManager idManager)
    
public  voidsetImportFilesString(String importFilesString)
    
public  voidsetInvalidImport(boolean invalidImport)
    
public  voidsetInvalidImportMessage(String invalidImportMessage)
    
public  voidsetInvalidXslFile(boolean invalidXslFile)
    
public  voidsetJobDetail(JobDetail jobDetail)
    
public  voidsetJobDetailWrapper(JobDetailWrapper jobDetailWrapper)
    
public  voidsetJobName(String jobName)
    
public  ListsetJobTriggers(JobDetail jobDetail)
    
public  voidsetReportsManager(ReportsManager reportsManager)
    
public  voidsetSchedulerManager(SchedulerManager schedulerManager)
    
public  voidsetTool(Tool tool)
    
public  voidsetTriggerExpression(String triggerExpression)
    
public  voidsetTriggerName(String triggerName)
    
public  voidsetUserCan(Map userCan)
    
public  voidsetWorkingReport(DecoratedReport workingReport)
    
public  voidsetWorkingReportDefinition(DecoratedReportDefinition workingReportDefinition)
    
public  voidsetWorkingResult(DecoratedReportResult workingResult)
    
public  voidvalidateTriggerExpression(FacesContext context, UIComponent component, Object value)
    
public  voidvalidateTriggerName(FacesContext context, UIComponent component, Object value)
    

Field Detail
createReportPage
final protected static String createReportPage(Code)



createReportParamsPage
final protected static String createReportParamsPage(Code)



createTrigger
final protected static String createTrigger(Code)



deleteTriggers
final protected static String deleteTriggers(Code)



importReportDef
final protected static String importReportDef(Code)



logger
final protected Log logger(Code)



mainPage
final protected static String mainPage(Code)



reportResultsPage
final protected static String reportResultsPage(Code)



saveResultsPage
final protected static String saveResultsPage(Code)



scheduleReport
final protected static String scheduleReport(Code)



shareReportResult
final protected static String shareReportResult(Code)





Method Detail
getContentHosting
public ContentHostingService getContentHosting()(Code)



getFilteredTriggersWrapperList
public List getFilteredTriggersWrapperList()(Code)



getIdManager
public IdManager getIdManager()(Code)



getImportFilesString
public String getImportFilesString()(Code)
This is called to put the file names into the text box. It updates the list of files if the user is returning from the file picker String the names of the files being imported



getInvalidImportMessage
public String getInvalidImportMessage()(Code)



getJobDetail
public JobDetail getJobDetail()(Code)



getJobDetailWrapper
public JobDetailWrapper getJobDetailWrapper()(Code)



getJobName
public String getJobName()(Code)



getJobTriggerList
public List getJobTriggerList(JobDetail jobDetail)(Code)



getPermissionsMessage
public String getPermissionsMessage()(Code)



getReportFunctionPrefix
public String getReportFunctionPrefix()(Code)



getReports
public List getReports()(Code)
This method gets the list of reports encapsulated by DecoratedReportDefinition. List of DecoratedReportDefinition



getReportsManager
public ReportsManager getReportsManager()(Code)
getter for the ReportsManager property ReportsManager



getResults
public List getResults()(Code)



getSavedLiveReport
public boolean getSavedLiveReport()(Code)
Tells the interface if the live report was saved. it goes to false after the message is complete.



getSchedulerManager
public SchedulerManager getSchedulerManager()(Code)



getTool
public Tool getTool()(Code)



getTriggerExpression
public String getTriggerExpression()(Code)



getTriggerName
public String getTriggerName()(Code)



getUserCan
public Map getUserCan()(Code)



getWorkingReport
public DecoratedReport getWorkingReport()(Code)
getter for the WorkingReport property DecoratedReport



getWorkingReportDefinition
public DecoratedReportDefinition getWorkingReportDefinition()(Code)
getter for the WorkingReportDefinition property DecoratedReportDefinition



getWorkingResult
public DecoratedReportResult getWorkingResult()(Code)
getter for the WorkingReport property DecoratedReport



getWorksite
public Site getWorksite()(Code)



gotoOptions
public String gotoOptions()(Code)
An action called from the JSP through the JSF framework. String the next page



isInvalidImport
public boolean isInvalidImport()(Code)



isInvalidXslFile
public boolean isInvalidXslFile()(Code)



isMaintainer
public boolean isMaintainer()(Code)



processActionAudienceHelper
public void processActionAudienceHelper(DecoratedReportResult reportResult)(Code)



processActionCancel
public String processActionCancel()(Code)



processCancelExport
public String processCancelExport()(Code)



processCancelReport
public String processCancelReport()(Code)
An action called from the JSP through the JSF framework. Called when the user wants to stop creating a new report String the next page



processCancelSave
public String processCancelSave()(Code)



processChangeViewXsl
public String processChangeViewXsl()(Code)



processCreateTrigger
public String processCreateTrigger()(Code)



processDeleteLiveReport
public String processDeleteLiveReport(DecoratedReport report)(Code)

Parameters:
  report - String the next page



processDeleteReportDef
public String processDeleteReportDef(ReportDefinition reportDef)(Code)



processDeleteReportResult
public String processDeleteReportResult(DecoratedReportResult reportResult)(Code)
When deleting a report result, delete the report result... then if the report is not live, then delete the report as well
Parameters:
  reportResult - String the next page



processDeleteTriggers
public String processDeleteTriggers()(Code)



processEditLiveReport
public String processEditLiveReport(DecoratedReport report)(Code)

Parameters:
  report - String the next page



processEditParamsBack
public String processEditParamsBack()(Code)



processEditParamsContinue
public String processEditParamsContinue()(Code)
This goes from entering the parameter values to the results page Next page



processImportDefinition
public String processImportDefinition()(Code)



processImportReports
public String processImportReports()(Code)
Called when the user clicks the Import Button String next view



processPermissions
public String processPermissions()(Code)
We want to use an action to forward to the helper. We don't want to forward to the permission helper in the jsp beause we need to clear out the cached permissions String unused



processPickImportFiles
public String processPickImportFiles()(Code)



processRefreshFilteredTriggers
public String processRefreshFilteredTriggers()(Code)



processReportBaseProperties
public String processReportBaseProperties()(Code)
An action called from the JSP through the JSF framework. This is called when the user wants to move to the next screen String the next page



processSaveReport
public String processSaveReport()(Code)



processSaveResults
public String processSaveResults()(Code)



processSaveResultsToDB
public String processSaveResultsToDB()(Code)



processSaveResultsToResources
public String processSaveResultsToResources(DecoratedReportResult reportResult) throws IOException(Code)



processScheduleReport
public String processScheduleReport(DecoratedReport report)(Code)



processSelectAllTriggers
public String processSelectAllTriggers()(Code)



processSelectLiveReport
public String processSelectLiveReport(DecoratedReport report)(Code)
this function loads a live report. It generates a new result, sets the report as having been saved (aka, it was loaded from the db)
Parameters:
  report - DecoratedReport String the next page



processSelectReportResult
public String processSelectReportResult(DecoratedReportResult reportResult)(Code)
this function loads the full report result and the report sets these in the tool String which page to go to next



setContentHosting
public void setContentHosting(ContentHostingService contentHosting)(Code)



setFilteredTriggersWrapperList
public void setFilteredTriggersWrapperList(List filteredTriggersWrapperList)(Code)



setIdManager
public void setIdManager(IdManager idManager)(Code)



setImportFilesString
public void setImportFilesString(String importFilesString)(Code)



setInvalidImport
public void setInvalidImport(boolean invalidImport)(Code)



setInvalidImportMessage
public void setInvalidImportMessage(String invalidImportMessage)(Code)



setInvalidXslFile
public void setInvalidXslFile(boolean invalidXslFile)(Code)



setJobDetail
public void setJobDetail(JobDetail jobDetail)(Code)



setJobDetailWrapper
public void setJobDetailWrapper(JobDetailWrapper jobDetailWrapper)(Code)



setJobName
public void setJobName(String jobName)(Code)



setJobTriggers
public List setJobTriggers(JobDetail jobDetail)(Code)



setReportsManager
public void setReportsManager(ReportsManager reportsManager)(Code)
setter for the ReportsManager property
Parameters:
  reportsManager -



setSchedulerManager
public void setSchedulerManager(SchedulerManager schedulerManager)(Code)



setTool
public void setTool(Tool tool)(Code)



setTriggerExpression
public void setTriggerExpression(String triggerExpression)(Code)



setTriggerName
public void setTriggerName(String triggerName)(Code)



setUserCan
public void setUserCan(Map userCan)(Code)



setWorkingReport
public void setWorkingReport(DecoratedReport workingReport)(Code)
setter for the Working Report
Parameters:
  workingReport - DecoratedReport



setWorkingReportDefinition
public void setWorkingReportDefinition(DecoratedReportDefinition workingReportDefinition)(Code)



setWorkingResult
public void setWorkingResult(DecoratedReportResult workingResult)(Code)



validateTriggerExpression
public void validateTriggerExpression(FacesContext context, UIComponent component, Object value)(Code)



validateTriggerName
public void validateTriggerName(FacesContext context, UIComponent component, Object value)(Code)



Methods inherited from org.theospi.portfolio.shared.tool.ToolBase
protected void cancelBoundValues()(Code)(Java Doc)
public Object createSelect(Object id, String description)(Code)(Java Doc)
public FacesMessage getFacesMessageFromBundle(String key, Object[] args)(Code)(Java Doc)
public String getMessageFromBundle(String key, Object[] args)(Code)(Java Doc)
public String getMessageFromBundle(String key)(Code)(Java Doc)
protected void processChildCancel(UIComponent component)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.