Java Doc for SettingsBean.java in  » Portal » Open-Portal » com » sun » portal » rssportlet » 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 » Portal » Open Portal » com.sun.portal.rssportlet 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.portal.rssportlet.SettingsBean

SettingsBean
public class SettingsBean (Code)
This class is a bean to hold the settings for the RSS portlet. This bean is prepared (populated) by an SettingsHandler object, when it is set into the handler. In addition to normal getters and setters, this class contains a set of is*Set() methods. These are used to determine if the value for the field has been set into this bean. This information is used to determine if the value has changed, and should therefore be persisted.




Method Summary
public  intgetCacheTimeout()
     Get the cache timeout. The cache timeout should be a positive number of seconds defining the length in time that feed entries may be cached.
public  LinkedListgetFeeds()
     Get all configured feeds.
public  intgetFeedsSize()
     Get the size of the feeds set.
public  LocalegetLocale()
    
public  intgetMaxAge()
     Get the maximum feed entry age for display.
public  intgetMaxDescriptionLength()
     Get the maximum description length. This determines the number of characters that will be displayed for a feed's description.
public  intgetMaxEntries()
     Get the maximum entries that will be displayed.
public  StringgetSelectedFeed()
     Get the selected feed.
public  StringgetStartFeed()
     Get the start feed.
public  StringgetWindowTarget()
     Get the window target for feed links. This has no respective setter, and is based on the return value of isNewWindow().
public  booleanisDisableMaxAge()
     Is the maximum age restriction disabled? If so, the display logic will ignore the maximum age setting and display entries up to the number of maximum entries allowed.
public  booleanisDisableMaxAgeSet()
    
public  booleanisMaxAgeSet()
    
public  booleanisMaxEntriesSet()
    
public  booleanisNewWindow()
    
public  booleanisNewWindowSet()
    
public  voidsetCacheTimeout(int timeout)
     Set the cache timeout.
public  voidsetDisableMaxAge(boolean disableMaxAge)
     Set if the maximum age restriction is enabled.
public  voidsetFeeds(LinkedList feeds)
     Set all configured feeds.
public  voidsetLocale(Locale locale)
    
public  voidsetMaxAge(int age)
     Set the maximum feed entry age.
public  voidsetMaxDescriptionLength(int length)
     Set the maximum description length.
public  voidsetMaxEntries(int maxEntries)
     Set the maximum entries that will be displayed.
public  voidsetNewWindow(boolean nw)
     Set if feed links should be opened in a new window.
public  voidsetSelectedFeed(String feed)
     Set the selected feed.
public  voidsetStartFeed(String feed)
     Set the start feed.



Method Detail
getCacheTimeout
public int getCacheTimeout()(Code)
Get the cache timeout. The cache timeout should be a positive number of seconds defining the length in time that feed entries may be cached. It may also be equal to zero indicating that the feed entries should never be cached. If the value is negative, the feed entries may be cached forever.



getFeeds
public LinkedList getFeeds()(Code)
Get all configured feeds.



getFeedsSize
public int getFeedsSize()(Code)
Get the size of the feeds set. As opposed to calling getFeeds().size(), this is provided for bean access within the display logic, as the Java Collection.size() method is not bean-conforming. This methos simply returns getFeeds().size().



getLocale
public Locale getLocale()(Code)



getMaxAge
public int getMaxAge()(Code)
Get the maximum feed entry age for display. The display logic should not display any feed entries that were published more than this number of hours previous to now.



getMaxDescriptionLength
public int getMaxDescriptionLength()(Code)
Get the maximum description length. This determines the number of characters that will be displayed for a feed's description. This is to prevent the portal display from being adversely affected in the case where the feed entries contain a very long description.



getMaxEntries
public int getMaxEntries()(Code)
Get the maximum entries that will be displayed.



getSelectedFeed
public String getSelectedFeed()(Code)
Get the selected feed.



getStartFeed
public String getStartFeed()(Code)
Get the start feed. The start feed is the initial feed which is displayed when the user logs in to the portal.



getWindowTarget
public String getWindowTarget()(Code)
Get the window target for feed links. This has no respective setter, and is based on the return value of isNewWindow(). If said method returns true, this method returns the string "_blank", else it returns "_top".



isDisableMaxAge
public boolean isDisableMaxAge()(Code)
Is the maximum age restriction disabled? If so, the display logic will ignore the maximum age setting and display entries up to the number of maximum entries allowed.



isDisableMaxAgeSet
public boolean isDisableMaxAgeSet()(Code)
Is the maximum age restriction disabled flag set into this bean?



isMaxAgeSet
public boolean isMaxAgeSet()(Code)
Is the maximum feed entry age value set into this bean?



isMaxEntriesSet
public boolean isMaxEntriesSet()(Code)
Is the maximum entries value set into this bean?



isNewWindow
public boolean isNewWindow()(Code)
Should feed links be opened in a new window?



isNewWindowSet
public boolean isNewWindowSet()(Code)
Has the new window value been set into this bean?



setCacheTimeout
public void setCacheTimeout(int timeout)(Code)
Set the cache timeout.



setDisableMaxAge
public void setDisableMaxAge(boolean disableMaxAge)(Code)
Set if the maximum age restriction is enabled.



setFeeds
public void setFeeds(LinkedList feeds)(Code)
Set all configured feeds.



setLocale
public void setLocale(Locale locale)(Code)



setMaxAge
public void setMaxAge(int age)(Code)
Set the maximum feed entry age.



setMaxDescriptionLength
public void setMaxDescriptionLength(int length)(Code)
Set the maximum description length.



setMaxEntries
public void setMaxEntries(int maxEntries)(Code)
Set the maximum entries that will be displayed.



setNewWindow
public void setNewWindow(boolean nw)(Code)
Set if feed links should be opened in a new window.



setSelectedFeed
public void setSelectedFeed(String feed)(Code)
Set the selected feed.



setStartFeed
public void setStartFeed(String feed)(Code)
Set the start feed. This method removes the feed from the feeds list, if it exists there currently, and adds it at the beginning of the list.



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.