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


java.lang.Object
   org.sakaiproject.tool.podcasts.podHomeBean

podHomeBean
public class podHomeBean (Code)

Inner Class :public class DecoratedPodcastBean


Constructor Summary
public  podHomeBean()
    

Method Summary
public  DecoratedPodcastBeangetAPodcast(ResourceProperties podcastProperties, String resourceId)
    
public  booleangetActPodcastsExist()
    
public  booleangetCanUpdateSite()
     Returns boolean if user can update podcasts.
public  ListgetContents()
    
public  StringgetDate()
    
public  StringgetDescription()
    
public  booleangetDisplayInvalidDateErrMsg()
    
public  booleangetDisplayNoDateErrMsg()
    
public  booleangetDisplayNoFileErrMsg()
    
public  booleangetDisplayNoTitleErrMsg()
    
public  SelectItem[]getEmailItems()
    
public  StringgetFilename()
    
public  booleangetHasDelAnyPerm()
    
public  booleangetHasDelOwnPerm()
    
public  booleangetHasNewPerm()
    
public  booleangetHasReadPerm()
    
public  booleangetHasReviseAnyPerm()
    
public  booleangetHasReviseOwnPerm()
    
public  booleangetPodcastFolderExists()
     Determines if the podcast folder exists.
public  booleangetResourceToolExists()
     Determines if Resource tool part of the site.
public  DecoratedPodcastBeangetSelectedPodcast()
     Returns the current DecoratedPodcastBean set as selectedPodcast.
public  StringgetTitle()
    
public  StringgetURL()
     Returns the URL to point your podcatcher to in order to grab the feed.
public  StringgetUserName()
    
public  Stringgetemail()
    
public  voidpodMainListener(ActionEvent e)
    
public  StringprocessAdd()
     Performs the actual adding of a podcast.
public  StringprocessCancelAdd()
     Erases bean values since no podcast is to be added.
public  StringprocessCancelDelete()
    
public  StringprocessCancelRevise()
    
public  StringprocessDeletePodcast()
     Used to call podcastService to actually delete selected podcast.
public  voidprocessFileUpload(ValueChangeEvent event)
     Creates a BufferedInputStream to get ready to upload file selected.
public  StringprocessRevisePodcast()
     Gathers information and calls PodcastService to make changes to existing podcast.
public  voidsetDate(String date)
    
public  voidsetDescription(String description)
    
public  voidsetDisplayInvalidDateErrMsg(boolean displayInvalidDateErrMsg)
    
public  voidsetDisplayNoDateErrMsg(boolean displayNoDateErrMsg)
    
public  voidsetDisplayNoFileErrMsg(boolean displayNoFileErrMsg)
    
public  voidsetDisplayNoTitleErrMsg(boolean displayNoTitleErrMsg)
    
public  voidsetFilename(String filename)
    
public  voidsetPodcastSelected(String resourceId)
    
public  voidsetPodcastService(PodcastService podcastService)
     Used to inject the podcast service into this bean.
public  voidsetSelectedPodcast(DecoratedPodcastBean selectedPodcast)
     Use to set the selectedPodcast object.
public  voidsetTitle(String title)
    
public  voidsetemail(String email)
    


Constructor Detail
podHomeBean
public podHomeBean()(Code)




Method Detail
getAPodcast
public DecoratedPodcastBean getAPodcast(ResourceProperties podcastProperties, String resourceId) throws EntityPropertyNotDefinedException, EntityPropertyTypeException(Code)
Gets a particular podcast and packages it as a DecoratedPodcastBean
Parameters:
  podcastProperties - Contains the ResourceProperties object of a podcast resource
Parameters:
  resourceId - The resource ID for the podcast DecoratedPodcastBean The packaged podcast or null and exception if problems
throws:
  EntityPropertyNotDefinedException - The property wanted was not found
throws:
  EntityPropertyTypeException - The property (Date/Time) was not a valid one



getActPodcastsExist
public boolean getActPodcastsExist()(Code)
Resources/podcasts exists, but are there any actual podcasts booleanTRUE if there are podcasts, FALSE otherwise



getCanUpdateSite
public boolean getCanUpdateSite()(Code)
Returns boolean if user can update podcasts. Used to display modification options on main page.



getContents
public List getContents()(Code)
Construct a List of DecoratedPodcastBeans for display on main page ListList of DecoratedPodcastBeans that are the podcasts



getDate
public String getDate()(Code)



getDescription
public String getDescription()(Code)



getDisplayInvalidDateErrMsg
public boolean getDisplayInvalidDateErrMsg()(Code)
Returns whether an invalid date error message is displayed



getDisplayNoDateErrMsg
public boolean getDisplayNoDateErrMsg()(Code)
Returns whether a no date error message is displayed



getDisplayNoFileErrMsg
public boolean getDisplayNoFileErrMsg()(Code)
Returns whether a no file selected error message is displayed



getDisplayNoTitleErrMsg
public boolean getDisplayNoTitleErrMsg()(Code)
Returns whether a no title entered error message is displayed



getEmailItems
public SelectItem[] getEmailItems()(Code)
FUTURE: To display the possible email notification levels SelectItem []List of possible email notification levels



getFilename
public String getFilename()(Code)



getHasDelAnyPerm
public boolean getHasDelAnyPerm()(Code)



getHasDelOwnPerm
public boolean getHasDelOwnPerm()(Code)



getHasNewPerm
public boolean getHasNewPerm()(Code)



getHasReadPerm
public boolean getHasReadPerm()(Code)



getHasReviseAnyPerm
public boolean getHasReviseAnyPerm()(Code)



getHasReviseOwnPerm
public boolean getHasReviseOwnPerm()(Code)



getPodcastFolderExists
public boolean getPodcastFolderExists()(Code)
Determines if the podcast folder exists. If it does not, it will attempt to create it. booleanTRUE if folder exists, FALSE otherwise.



getResourceToolExists
public boolean getResourceToolExists()(Code)
Determines if Resource tool part of the site. Needed to store podcasts.



getSelectedPodcast
public DecoratedPodcastBean getSelectedPodcast()(Code)
Returns the current DecoratedPodcastBean set as selectedPodcast.



getTitle
public String getTitle()(Code)



getURL
public String getURL()(Code)
Returns the URL to point your podcatcher to in order to grab the feed. String The feed URL.



getUserName
public String getUserName()(Code)



getemail
public String getemail()(Code)
FUTURE: Returns the notification level set by the user StringReturns the current notification level



podMainListener
public void podMainListener(ActionEvent e)(Code)
To set the selectedPodcast DecoratedPodcastBean when Revision and Deletion links are clicked (possibly Download also)
Parameters:
  e - ActionEvent object generated by clicking on a link



processAdd
public String processAdd()(Code)
Performs the actual adding of a podcast. Calls PodcastService to actually add the podcast. String Sent to return to main page.



processCancelAdd
public String processCancelAdd()(Code)
Erases bean values since no podcast is to be added. String Sent to return to main page.



processCancelDelete
public String processCancelDelete()(Code)
Resets selectedPodcast bean since no deletion is to be made String Sent to return to main page.



processCancelRevise
public String processCancelRevise()(Code)
Resets selectedPodcast bean since no revision is to be made



processDeletePodcast
public String processDeletePodcast()(Code)
Used to call podcastService to actually delete selected podcast.



processFileUpload
public void processFileUpload(ValueChangeEvent event) throws AbortProcessingException(Code)
Creates a BufferedInputStream to get ready to upload file selected. Used by Add Podcast and Revise Podcast pages.
Parameters:
  event - ValueChangeEvent object generated by selecting a file toupload.
throws:
  AbortProcessingException - Internal processing error attempting to set up BufferedInputStream



processRevisePodcast
public String processRevisePodcast()(Code)
Gathers information and calls PodcastService to make changes to existing podcast.



setDate
public void setDate(String date)(Code)



setDescription
public void setDescription(String description)(Code)



setDisplayInvalidDateErrMsg
public void setDisplayInvalidDateErrMsg(boolean displayInvalidDateErrMsg)(Code)

Parameters:
  displayInvalidDateErrMsg - The displayInvalidDateErrMsg to set.



setDisplayNoDateErrMsg
public void setDisplayNoDateErrMsg(boolean displayNoDateErrMsg)(Code)



setDisplayNoFileErrMsg
public void setDisplayNoFileErrMsg(boolean displayNoFileErrMsg)(Code)



setDisplayNoTitleErrMsg
public void setDisplayNoTitleErrMsg(boolean displayNoTitleErrMsg)(Code)



setFilename
public void setFilename(String filename)(Code)



setPodcastSelected
public void setPodcastSelected(String resourceId)(Code)
Does the actual filling up of the selectedPodcast bean
Parameters:
  resourceId - Resource ID for the podcast whose link was selected



setPodcastService
public void setPodcastService(PodcastService podcastService)(Code)
Used to inject the podcast service into this bean.
Parameters:
  podcastService - The podcast service this bean needs



setSelectedPodcast
public void setSelectedPodcast(DecoratedPodcastBean selectedPodcast)(Code)
Use to set the selectedPodcast object.



setTitle
public void setTitle(String title)(Code)



setemail
public void setemail(String email)(Code)
FUTURE: Sets the notification level
Parameters:
  email - String representing the notification level



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.