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


org.pentaho.ui.XmlComponent
   org.pentaho.ui.component.SubscriptionAdminUIComponent

SubscriptionAdminUIComponent
public class SubscriptionAdminUIComponent extends XmlComponent (Code)

author:
   wseyler
author:
   TODO To change the template for this generated type comment go to Window -
author:
   Preferences - Java - Code Style - Code Templates


Field Summary
final public static  StringACTION_CONTENT_DO_ADD
    
final public static  StringACTION_CONTENT_DO_ADD_SCHEDULE
    
final public static  StringACTION_CONTENT_DO_DELETE
    
final public static  StringACTION_CONTENT_DO_EDIT
    
final public static  StringACTION_CONTENT_SHOW_ADD
    
final public static  StringACTION_CONTENT_SHOW_ADD_SCHEDULE
    
final public static  StringACTION_CONTENT_SHOW_EDIT
    
final public static  StringACTION_CONTENT_SHOW_LIST
    
final public static  StringACTION_DO_IMPORT
    
final public static  StringACTION_JOB_DO_DELETE
    
final public static  StringACTION_JOB_DO_EXECUTE
    
final public static  StringACTION_JOB_DO_PAUSE
    
final public static  StringACTION_JOB_DO_RESUME
    
final public static  StringACTION_JOB_DO_SCHEDULE
    
final public static  StringACTION_SCHEDULER_DO_RESUME
    
final public static  StringACTION_SCHEDULER_DO_SUSPEND
    
final public static  StringACTION_SCHEDULE_ALL_JOBS
    
final public static  StringACTION_SCHEDULE_DO_ADD
    
final public static  StringACTION_SCHEDULE_DO_ADD_CONTENT
    
final public static  StringACTION_SCHEDULE_DO_DELETE
    
final public static  StringACTION_SCHEDULE_DO_DELETE_CONTENT
    
final public static  StringACTION_SCHEDULE_DO_EDIT
    
final public static  StringACTION_SCHEDULE_SHOW_ADD
    
final public static  StringACTION_SCHEDULE_SHOW_ADD_CONTENT
    
final public static  StringACTION_SCHEDULE_SHOW_DETAILS
    
final public static  StringACTION_SCHEDULE_SHOW_EDIT
    
final public static  StringACTION_SCHEDULE_SHOW_LIST
    
final public static  StringACTION_SHOW_IMPORT
    
final public static  StringACTION_SUBSCRIPTION_DO_DELETE
    
final public static  StringACTION_SUBSCRIPTION_SHOW_LIST
    
final public static  StringNODE_CMD_RESULT
    
final public static  StringNODE_CONTENT
    
final public static  StringNODE_EXCEPTION
    
final public static  StringNODE_PARAM_ERRORS
    
final public static  StringNODE_PARAM_MISSING
    
final public static  StringNODE_RESULT_MSG
    
final public static  StringNODE_RESULT_TYPE
    
final public static  StringNODE_RETURN_PARAM
    
final public static  StringNODE_RETURN_URL
    
final public static  StringNODE_SCHEDULER_STATUS
    
final public static  StringNODE_STATUS_ERROR
    
final public static  StringNODE_STATUS_INFO
    
final public static  StringNODE_STATUS_OK
    
final public static  StringNODE_STATUS_WARNING
    
final public static  StringNODE_SUBSCRIPTION_ADMIN
    
final public static  StringSCHEDULER_ACTION
    

Constructor Summary
public  SubscriptionAdminUIComponent(IPentahoUrlFactory urlFactory, List messages)
    

Method Summary
 ElementcreateTextElement(String elementName, String text)
    
 DocumentdoAddContent()
    
 DocumentdoAddContentForSchedule()
    
 DocumentdoAddSchedule()
    
 DocumentdoAddScheduleForContent()
    
 DocumentdoDeleteContent()
    
 DocumentdoDeleteContentForSchedule()
    
 DocumentdoDeleteSchedule()
    
 DocumentdoDeleteSubscription()
    
 DocumentdoEditContent()
    
 DocumentdoEditSchedule()
    
public  DocumentdoImport()
    
 DocumentdoJobAction(String command)
    
 DocumentdoPauseScheduler()
    
 DocumentdoResumeScheduler()
    
 DocumentdoScheduleAllJobs()
    
 DocumentdoScheduleJob()
    
 DocumentgetDocument(String rootName, Element ele)
     Convienence method for creating a new Document with a root of the passed in 'rootName'.
 ElementgetErrorMessage(String message)
    
 ElementgetException(String message, Throwable t)
    
 ElementgetInfoMessage(String message)
    
public  LoggetLogger()
    
 ElementgetMessage(String type, String message)
    
 ElementgetOkMessage(String message)
    
 ElementgetReturnParams()
    
 ElementgetReturnURL()
    
 ElementgetWarningMessage(String message)
    
public  DocumentgetXmlContent()
    
 voidsetParametersAsNodes(Element parent, String paramNames)
     Adds the passed in parameters from the HTTP request to the passed in XML document.
 DocumentshowAddContentForScheduleUI()
    
 DocumentshowAddContentUI(Element ele)
    
 DocumentshowAddScheduleForContentUI()
    
 DocumentshowAddScheduleUI(Element ele)
    
 DocumentshowAdminPageUI(Element ele)
    
 DocumentshowCommandResultUI(Element ele, String result)
    
 DocumentshowEditContentUI(Element ele)
    
 DocumentshowEditScheduleUI(Element ele)
    
 DocumentshowImportUI()
    
 DocumentshowSubscriptionsPageUI(Element ele)
    
public  booleanvalidate()
    
 ElementvalidateCronExpression(String cronExpr)
     Has the scheduler check the validity of the CRON expression.
 ElementvalidateParameters(String params, boolean notEmpty, Element ele)
     Verify that the passed in parameterNames exist in the HTTP request.

Field Detail
ACTION_CONTENT_DO_ADD
final public static String ACTION_CONTENT_DO_ADD(Code)



ACTION_CONTENT_DO_ADD_SCHEDULE
final public static String ACTION_CONTENT_DO_ADD_SCHEDULE(Code)



ACTION_CONTENT_DO_DELETE
final public static String ACTION_CONTENT_DO_DELETE(Code)



ACTION_CONTENT_DO_EDIT
final public static String ACTION_CONTENT_DO_EDIT(Code)



ACTION_CONTENT_SHOW_ADD
final public static String ACTION_CONTENT_SHOW_ADD(Code)



ACTION_CONTENT_SHOW_ADD_SCHEDULE
final public static String ACTION_CONTENT_SHOW_ADD_SCHEDULE(Code)



ACTION_CONTENT_SHOW_EDIT
final public static String ACTION_CONTENT_SHOW_EDIT(Code)



ACTION_CONTENT_SHOW_LIST
final public static String ACTION_CONTENT_SHOW_LIST(Code)



ACTION_DO_IMPORT
final public static String ACTION_DO_IMPORT(Code)



ACTION_JOB_DO_DELETE
final public static String ACTION_JOB_DO_DELETE(Code)



ACTION_JOB_DO_EXECUTE
final public static String ACTION_JOB_DO_EXECUTE(Code)



ACTION_JOB_DO_PAUSE
final public static String ACTION_JOB_DO_PAUSE(Code)



ACTION_JOB_DO_RESUME
final public static String ACTION_JOB_DO_RESUME(Code)



ACTION_JOB_DO_SCHEDULE
final public static String ACTION_JOB_DO_SCHEDULE(Code)



ACTION_SCHEDULER_DO_RESUME
final public static String ACTION_SCHEDULER_DO_RESUME(Code)



ACTION_SCHEDULER_DO_SUSPEND
final public static String ACTION_SCHEDULER_DO_SUSPEND(Code)



ACTION_SCHEDULE_ALL_JOBS
final public static String ACTION_SCHEDULE_ALL_JOBS(Code)



ACTION_SCHEDULE_DO_ADD
final public static String ACTION_SCHEDULE_DO_ADD(Code)



ACTION_SCHEDULE_DO_ADD_CONTENT
final public static String ACTION_SCHEDULE_DO_ADD_CONTENT(Code)



ACTION_SCHEDULE_DO_DELETE
final public static String ACTION_SCHEDULE_DO_DELETE(Code)



ACTION_SCHEDULE_DO_DELETE_CONTENT
final public static String ACTION_SCHEDULE_DO_DELETE_CONTENT(Code)



ACTION_SCHEDULE_DO_EDIT
final public static String ACTION_SCHEDULE_DO_EDIT(Code)



ACTION_SCHEDULE_SHOW_ADD
final public static String ACTION_SCHEDULE_SHOW_ADD(Code)



ACTION_SCHEDULE_SHOW_ADD_CONTENT
final public static String ACTION_SCHEDULE_SHOW_ADD_CONTENT(Code)



ACTION_SCHEDULE_SHOW_DETAILS
final public static String ACTION_SCHEDULE_SHOW_DETAILS(Code)



ACTION_SCHEDULE_SHOW_EDIT
final public static String ACTION_SCHEDULE_SHOW_EDIT(Code)



ACTION_SCHEDULE_SHOW_LIST
final public static String ACTION_SCHEDULE_SHOW_LIST(Code)



ACTION_SHOW_IMPORT
final public static String ACTION_SHOW_IMPORT(Code)



ACTION_SUBSCRIPTION_DO_DELETE
final public static String ACTION_SUBSCRIPTION_DO_DELETE(Code)



ACTION_SUBSCRIPTION_SHOW_LIST
final public static String ACTION_SUBSCRIPTION_SHOW_LIST(Code)



NODE_CMD_RESULT
final public static String NODE_CMD_RESULT(Code)



NODE_CONTENT
final public static String NODE_CONTENT(Code)



NODE_EXCEPTION
final public static String NODE_EXCEPTION(Code)



NODE_PARAM_ERRORS
final public static String NODE_PARAM_ERRORS(Code)



NODE_PARAM_MISSING
final public static String NODE_PARAM_MISSING(Code)



NODE_RESULT_MSG
final public static String NODE_RESULT_MSG(Code)



NODE_RESULT_TYPE
final public static String NODE_RESULT_TYPE(Code)



NODE_RETURN_PARAM
final public static String NODE_RETURN_PARAM(Code)



NODE_RETURN_URL
final public static String NODE_RETURN_URL(Code)



NODE_SCHEDULER_STATUS
final public static String NODE_SCHEDULER_STATUS(Code)



NODE_STATUS_ERROR
final public static String NODE_STATUS_ERROR(Code)



NODE_STATUS_INFO
final public static String NODE_STATUS_INFO(Code)



NODE_STATUS_OK
final public static String NODE_STATUS_OK(Code)



NODE_STATUS_WARNING
final public static String NODE_STATUS_WARNING(Code)



NODE_SUBSCRIPTION_ADMIN
final public static String NODE_SUBSCRIPTION_ADMIN(Code)



SCHEDULER_ACTION
final public static String SCHEDULER_ACTION(Code)




Constructor Detail
SubscriptionAdminUIComponent
public SubscriptionAdminUIComponent(IPentahoUrlFactory urlFactory, List messages) throws Exception(Code)

Parameters:
  urlFactory -




Method Detail
createTextElement
Element createTextElement(String elementName, String text)(Code)



doAddContent
Document doAddContent()(Code)
Performs the Add Content function



doAddContentForSchedule
Document doAddContentForSchedule()(Code)
Performs the Add Schedule function



doAddSchedule
Document doAddSchedule()(Code)
Performs the Add Schedule function



doAddScheduleForContent
Document doAddScheduleForContent()(Code)
Performs the Add Schedule function



doDeleteContent
Document doDeleteContent()(Code)
Performs the Delete Content function



doDeleteContentForSchedule
Document doDeleteContentForSchedule() throws Exception(Code)
Performs the Delete Content function



doDeleteSchedule
Document doDeleteSchedule()(Code)
Performs the Delete Schedule function



doDeleteSubscription
Document doDeleteSubscription()(Code)
Performs the Delete Content function



doEditContent
Document doEditContent() throws Exception(Code)
Performs the Edit Content function



doEditSchedule
Document doEditSchedule() throws Exception(Code)
Performs the Edit Schedule function



doImport
public Document doImport()(Code)



doJobAction
Document doJobAction(String command)(Code)
Execute a schedule now



doPauseScheduler
Document doPauseScheduler()(Code)



doResumeScheduler
Document doResumeScheduler()(Code)



doScheduleAllJobs
Document doScheduleAllJobs()(Code)
Syncronizes all schedules with the Scheduler's triggers



doScheduleJob
Document doScheduleJob()(Code)
Syncronizes the schedule with the Scheduler's trigger for that subscription



getDocument
Document getDocument(String rootName, Element ele)(Code)
Convienence method for creating a new Document with a root of the passed in 'rootName'. If 'ele' is not null, it is added to the Document root.
Parameters:
  rootName - Name of the root node to create
Parameters:
  ele - element to add to the new root The new Document



getErrorMessage
Element getErrorMessage(String message)(Code)



getException
Element getException(String message, Throwable t)(Code)



getInfoMessage
Element getInfoMessage(String message)(Code)



getLogger
public Log getLogger()(Code)



getMessage
Element getMessage(String type, String message)(Code)



getOkMessage
Element getOkMessage(String message)(Code)



getReturnParams
Element getReturnParams()(Code)



getReturnURL
Element getReturnURL()(Code)



getWarningMessage
Element getWarningMessage(String message)(Code)



getXmlContent
public Document getXmlContent()(Code)



setParametersAsNodes
void setParametersAsNodes(Element parent, String paramNames)(Code)
Adds the passed in parameters from the HTTP request to the passed in XML document. The Parameters are added as new Elements to the passed in 'parent' Element. If 'parent' is null, a new Element is created to be the parent. The parent is returned to the caller.
Parameters:
  parent - The element that the new Elements will be added to. If null, a newone will be created
Parameters:
  paramNames - The names of the parameters to pull out of the request.



showAddContentForScheduleUI
Document showAddContentForScheduleUI()(Code)
Performs the Add Schedule function



showAddContentUI
Document showAddContentUI(Element ele)(Code)
Creates XML Document for the Add Content Page - Add a new content



showAddScheduleForContentUI
Document showAddScheduleForContentUI()(Code)
Performs the Add Schedule function



showAddScheduleUI
Document showAddScheduleUI(Element ele)(Code)
Creates XML Document for the Add Schedules Page - Add a new schedule



showAdminPageUI
Document showAdminPageUI(Element ele)(Code)
Creates XML Document for the Main Admin Scheduler Page - The Big Ass List



showCommandResultUI
Document showCommandResultUI(Element ele, String result)(Code)
Creates XML Document for the Command Results Page - Displays success or failure messages



showEditContentUI
Document showEditContentUI(Element ele) throws Exception(Code)
Creates XML Document for the Edit Content Page - Edit, Delete or New Copy of an existing an content item



showEditScheduleUI
Document showEditScheduleUI(Element ele) throws Exception(Code)
Creates XML Document for the Edit Schedules Page - Edit, Delete or New Copy of an existing an schedule



showImportUI
Document showImportUI()(Code)



showSubscriptionsPageUI
Document showSubscriptionsPageUI(Element ele)(Code)



validate
public boolean validate()(Code)



validateCronExpression
Element validateCronExpression(String cronExpr)(Code)
Has the scheduler check the validity of the CRON expression. Returns Error XML if invalid or null if ok.



validateParameters
Element validateParameters(String params, boolean notEmpty, Element ele)(Code)
Verify that the passed in parameterNames exist in the HTTP request. Missing parameters are added to ele as new parameter error nodes (see NODE_PARAM_ERRORS, and NODE_PARAM_MISSING) If 'ele' is null, a new Element is created to contain the error messages. The Element 'ele' is returned to the caller unchanged if all the parameters pass verification.
Parameters:
  ele - The element that the new parameter error Elements will be added to.If null, a new one will be created
Parameters:
  paramNames - The names of the parameters to verify in the request.
Parameters:
  notEmpty - if true, the parameter must exist and can not be the empty string ""



Methods inherited from org.pentaho.ui.XmlComponent
public String getContent(String mimeType)(Code)(Java Doc)
abstract public Document getXmlContent()(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.