Java Doc for WebsiteData.java in  » Blogger-System » apache-roller-3.1 » org » apache » roller » pojos » 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 » Blogger System » apache roller 3.1 » org.apache.roller.pojos 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.roller.pojos.PersistentObject
      org.apache.roller.pojos.WebsiteData

WebsiteData
public class WebsiteData extends org.apache.roller.pojos.PersistentObject implements Serializable(Code)
Website has many-to-many association with users. Website has one-to-many and one-direction associations with weblog entries, weblog categories, folders and other objects. Use UserManager to create, fetch, update and retreive websites.
author:
   David M Johnson


Field Summary
final public static  longserialVersionUID
    

Constructor Summary
public  WebsiteData()
    
public  WebsiteData(String handle, UserData creator, String name, String desc, String email, String emailFrom, String editorTheme, String locale, String timeZone)
    
public  WebsiteData(WebsiteData otherData)
    

Method Summary
public  booleanequals(Object pOther)
    
public  StringgetAbsoluteURL()
    
public  BooleangetActive()
     Set to FALSE to exclude this weblog from community areas such as the front page and the planet page.
public  intgetAdminUserCount()
    
public  BooleangetAllowComments()
    
public  StringgetBlacklist()
    
public  WeblogCategoryDatagetBloggerCategory()
    
public  FolderDatagetBookmarkFolder(String folderName)
     Get bookmark folder by name.
public  booleangetCommentModerationRequired()
     Returns true if comment moderation is required by website or config.
public  org.apache.roller.pojos.UserDatagetCreator()
    
public  DategetDateCreated()
    
public  BooleangetDefaultAllowComments()
    
public  WeblogCategoryDatagetDefaultCategory()
     By default,the default category for a weblog is the root and all macros work with the top level categories that are immediately under the root.
public  intgetDefaultCommentDays()
    
public  TemplategetDefaultPage()
     Lookup the default page for this website.
public  StringgetDefaultPageId()
    
public  StringgetDefaultPlugins()
     Comma-delimited list of user's default Plugins.
public  StringgetDescription()
    
public  StringgetEditorPage()
    
public  StringgetEditorTheme()
     EditorTheme of the Website.
public  StringgetEmailAddress()
    
public  BooleangetEmailComments()
    
public  StringgetEmailFromAddress()
    
public  BooleangetEnableBloggerApi()
    
public  BooleangetEnabled()
     Set to FALSE to completely disable and hide this weblog from public view.
public  intgetEntryDisplayCount()
    
public  StringgetHandle()
     Short URL safe string that uniquely identifies the website.
public  StringgetId()
     Id of the Website.
public  MapgetInitializedPlugins()
     Get initialized plugins for use during rendering process.
public  DategetLastModified()
     The last time any visible part of this weblog was modified.
public  StringgetLocale()
     Locale of the Website.
public  LocalegetLocaleInstance()
     Parse locale value and instantiate a Locale object, otherwise return default Locale.
public  BooleangetModerateComments()
    
public  StringgetName()
     Name of the Website.
public  TemplategetPageById(String id)
     Lookup a Template for this website by id.
public  TemplategetPageByLink(String link)
     Lookup a template for this website by link.
public  TemplategetPageByName(String name)
     Lookup a Template for this website by name.
public  StringgetPageModels()
     Comma-separated list of additional page models to be created when this weblog is rendered.
public  ListgetPages()
     Get a list of all pages that are part of this website.
public  ListgetPermissions()
    
public  ListgetPopularTags(int sinceDays, int length)
     Get a list of TagStats objects for the most popular tags
Parameters:
  sinceDays - Number of days into past (or -1 for all days)
Parameters:
  length - Max number of tags to return.
public  ListgetRecentComments(int length)
     Get up to 100 most recent approved and non-spam comments in weblog.
public  ListgetRecentWeblogEntries(String cat, int length)
     Get up to 100 most recent published entries in weblog.
public  StringgetTimeZone()
     Timezone of the Website.
public  TimeZonegetTimeZoneInstance()
     Return TimeZone instance for value of timeZone, otherwise return system default instance.
public  intgetTodaysHits()
     Get number of hits counted today.
public  ListgetTodaysReferrers()
     Return collection of referrers for current day.
public  StringgetURL()
    
public  intgetUserCount()
    
public  ListgetWeblogCategories()
     Returns categories under the default category of the weblog.
public  ListgetWeblogCategories(String categoryPath)
    
public  WeblogCategoryDatagetWeblogCategory(String categoryPath)
    
public  StringgetWeblogDayPageId()
    
public  booleanhasUserPermissions(UserData user, short mask)
     Returns true if user has all permissions specified by mask.
public  inthashCode()
    
public  booleanisEnableMultiLang()
     Is multi-language blog support enabled for this weblog? If false then urls with various locale restrictions should fail.
public  booleanisShowAllLangs()
     Should the default weblog view show entries from all languages? If false then the default weblog view only shows entry from the default locale chosen for this weblog.
public  voidremovePermission(PermissionsData perms)
     Remove permission from collection.
public  voidsetAbsoluteURL(String url)
    
public  voidsetActive(Boolean active)
    
public  voidsetAdminUserCount(int adminUserCount)
    
public  voidsetAllowComments(Boolean allowComments)
    
public  voidsetBlacklist(String blacklist)
    
public  voidsetBloggerCategory(WeblogCategoryData bloggerCategory)
    
public  voidsetCommentModerationRequired(boolean modRequired)
    
public  voidsetCreator(org.apache.roller.pojos.UserData ud)
    
public  voidsetData(org.apache.roller.pojos.PersistentObject otherData)
    
public  voidsetDateCreated(Date date)
    
public  voidsetDefaultAllowComments(Boolean defaultAllowComments)
    
public  voidsetDefaultCategory(WeblogCategoryData defaultCategory)
    
public  voidsetDefaultCommentDays(int defaultCommentDays)
    
public  voidsetDefaultPageId(String defaultPageId)
    
public  voidsetDefaultPlugins(String string)
    
public  voidsetDescription(String description)
    
public  voidsetEditorPage(String editorPage)
    
public  voidsetEditorTheme(String editorTheme)
    
public  voidsetEmailAddress(String emailAddress)
    
public  voidsetEmailComments(Boolean emailComments)
    
public  voidsetEmailFromAddress(String emailFromAddress)
    
public  voidsetEnableBloggerApi(Boolean enableBloggerApi)
    
public  voidsetEnableMultiLang(boolean enableMultiLang)
    
public  voidsetEnabled(Boolean enabled)
    
public  voidsetEntryDisplayCount(int entryDisplayCount)
    
public  voidsetHandle(String handle)
    
public  voidsetId(String id)
    
public  voidsetLastModified(Date lastModified)
    
public  voidsetLocale(String locale)
    
public  voidsetModerateComments(Boolean moderateComments)
    
public  voidsetName(String name)
    
public  voidsetPageModels(String pageModels)
    
public  voidsetPermissions(List perms)
    
public  voidsetShowAllLangs(boolean showAllLangs)
    
public  voidsetTimeZone(String timeZone)
    
public  voidsetTodaysHits(int ignored)
    
public  voidsetTodaysReferrers(List ignored)
    
public  voidsetURL(String url)
    
public  voidsetUserCount(int userCount)
    
public  voidsetWeblogDayPageId(String weblogDayPageId)
    
public  StringtoString()
    

Field Detail
serialVersionUID
final public static long serialVersionUID(Code)




Constructor Detail
WebsiteData
public WebsiteData()(Code)



WebsiteData
public WebsiteData(String handle, UserData creator, String name, String desc, String email, String emailFrom, String editorTheme, String locale, String timeZone)(Code)



WebsiteData
public WebsiteData(WebsiteData otherData)(Code)




Method Detail
equals
public boolean equals(Object pOther)(Code)



getAbsoluteURL
public String getAbsoluteURL()(Code)



getActive
public Boolean getActive()(Code)
Set to FALSE to exclude this weblog from community areas such as the front page and the planet page.



getAdminUserCount
public int getAdminUserCount()(Code)



getAllowComments
public Boolean getAllowComments()(Code)



getBlacklist
public String getBlacklist()(Code)



getBloggerCategory
public WeblogCategoryData getBloggerCategory()(Code)



getBookmarkFolder
public FolderData getBookmarkFolder(String folderName)(Code)
Get bookmark folder by name.
Parameters:
  folderName - Name or path of bookmark folder to be returned (null for root) Folder object requested.



getCommentModerationRequired
public boolean getCommentModerationRequired()(Code)
Returns true if comment moderation is required by website or config.



getCreator
public org.apache.roller.pojos.UserData getCreator()(Code)
Original creator of website



getDateCreated
public Date getDateCreated()(Code)



getDefaultAllowComments
public Boolean getDefaultAllowComments()(Code)



getDefaultCategory
public WeblogCategoryData getDefaultCategory()(Code)
By default,the default category for a weblog is the root and all macros work with the top level categories that are immediately under the root. Setting a different default category allows you to partition your weblog.



getDefaultCommentDays
public int getDefaultCommentDays()(Code)



getDefaultPage
public Template getDefaultPage() throws RollerException(Code)
Lookup the default page for this website.



getDefaultPageId
public String getDefaultPageId()(Code)



getDefaultPlugins
public String getDefaultPlugins()(Code)
Comma-delimited list of user's default Plugins.



getDescription
public String getDescription()(Code)
Description



getEditorPage
public String getEditorPage()(Code)



getEditorTheme
public String getEditorTheme()(Code)
EditorTheme of the Website.



getEmailAddress
public String getEmailAddress()(Code)



getEmailComments
public Boolean getEmailComments()(Code)



getEmailFromAddress
public String getEmailFromAddress()(Code)



getEnableBloggerApi
public Boolean getEnableBloggerApi()(Code)



getEnabled
public Boolean getEnabled()(Code)
Set to FALSE to completely disable and hide this weblog from public view.



getEntryDisplayCount
public int getEntryDisplayCount()(Code)



getHandle
public String getHandle()(Code)
Short URL safe string that uniquely identifies the website.



getId
public String getId()(Code)
Id of the Website.



getInitializedPlugins
public Map getInitializedPlugins()(Code)
Get initialized plugins for use during rendering process.



getLastModified
public Date getLastModified()(Code)
The last time any visible part of this weblog was modified. This includes a change to weblog settings, entries, themes, templates, comments, categories, bookmarks, folders, etc. Pings and Referrers are explicitly not included because pings to not affect visible changes to a weblog, and referrers change so often that it would diminish the usefulness of the attribute.



getLocale
public String getLocale()(Code)
Locale of the Website.



getLocaleInstance
public Locale getLocaleInstance()(Code)
Parse locale value and instantiate a Locale object, otherwise return default Locale. Locale



getModerateComments
public Boolean getModerateComments()(Code)



getName
public String getName()(Code)
Name of the Website.



getPageById
public Template getPageById(String id) throws RollerException(Code)
Lookup a Template for this website by id.



getPageByLink
public Template getPageByLink(String link) throws RollerException(Code)
Lookup a template for this website by link.



getPageByName
public Template getPageByName(String name) throws RollerException(Code)
Lookup a Template for this website by name.



getPageModels
public String getPageModels()(Code)
Comma-separated list of additional page models to be created when this weblog is rendered.



getPages
public List getPages()(Code)
Get a list of all pages that are part of this website.



getPermissions
public List getPermissions()(Code)



getPopularTags
public List getPopularTags(int sinceDays, int length)(Code)
Get a list of TagStats objects for the most popular tags
Parameters:
  sinceDays - Number of days into past (or -1 for all days)
Parameters:
  length - Max number of tags to return. Collection of WeblogEntryTag objects



getRecentComments
public List getRecentComments(int length)(Code)
Get up to 100 most recent approved and non-spam comments in weblog.
Parameters:
  length - Max entries to return (1-100) List of comment objects.



getRecentWeblogEntries
public List getRecentWeblogEntries(String cat, int length)(Code)
Get up to 100 most recent published entries in weblog.
Parameters:
  cat - Category path or null for no category restriction
Parameters:
  length - Max entries to return (1-100) List of weblog entry objects.



getTimeZone
public String getTimeZone()(Code)
Timezone of the Website.



getTimeZoneInstance
public TimeZone getTimeZoneInstance()(Code)
Return TimeZone instance for value of timeZone, otherwise return system default instance. TimeZone



getTodaysHits
public int getTodaysHits()(Code)
Get number of hits counted today.



getTodaysReferrers
public List getTodaysReferrers()(Code)
Return collection of referrers for current day.



getURL
public String getURL()(Code)



getUserCount
public int getUserCount()(Code)
Get number of users associated with website



getWeblogCategories
public List getWeblogCategories()(Code)
Returns categories under the default category of the weblog.



getWeblogCategories
public List getWeblogCategories(String categoryPath)(Code)



getWeblogCategory
public WeblogCategoryData getWeblogCategory(String categoryPath)(Code)



getWeblogDayPageId
public String getWeblogDayPageId()(Code)



hasUserPermissions
public boolean hasUserPermissions(UserData user, short mask)(Code)
Returns true if user has all permissions specified by mask.



hashCode
public int hashCode()(Code)



isEnableMultiLang
public boolean isEnableMultiLang()(Code)
Is multi-language blog support enabled for this weblog? If false then urls with various locale restrictions should fail.



isShowAllLangs
public boolean isShowAllLangs()(Code)
Should the default weblog view show entries from all languages? If false then the default weblog view only shows entry from the default locale chosen for this weblog.



removePermission
public void removePermission(PermissionsData perms)(Code)
Remove permission from collection.



setAbsoluteURL
public void setAbsoluteURL(String url)(Code)



setActive
public void setActive(Boolean active)(Code)



setAdminUserCount
public void setAdminUserCount(int adminUserCount)(Code)



setAllowComments
public void setAllowComments(Boolean allowComments)(Code)



setBlacklist
public void setBlacklist(String blacklist)(Code)



setBloggerCategory
public void setBloggerCategory(WeblogCategoryData bloggerCategory)(Code)



setCommentModerationRequired
public void setCommentModerationRequired(boolean modRequired)(Code)
No-op



setCreator
public void setCreator(org.apache.roller.pojos.UserData ud)(Code)



setData
public void setData(org.apache.roller.pojos.PersistentObject otherData)(Code)
Setter is needed in RollerImpl.storePersistentObject()



setDateCreated
public void setDateCreated(Date date)(Code)



setDefaultAllowComments
public void setDefaultAllowComments(Boolean defaultAllowComments)(Code)



setDefaultCategory
public void setDefaultCategory(WeblogCategoryData defaultCategory)(Code)



setDefaultCommentDays
public void setDefaultCommentDays(int defaultCommentDays)(Code)



setDefaultPageId
public void setDefaultPageId(String defaultPageId)(Code)



setDefaultPlugins
public void setDefaultPlugins(String string)(Code)



setDescription
public void setDescription(String description)(Code)



setEditorPage
public void setEditorPage(String editorPage)(Code)



setEditorTheme
public void setEditorTheme(String editorTheme)(Code)



setEmailAddress
public void setEmailAddress(String emailAddress)(Code)



setEmailComments
public void setEmailComments(Boolean emailComments)(Code)



setEmailFromAddress
public void setEmailFromAddress(String emailFromAddress)(Code)



setEnableBloggerApi
public void setEnableBloggerApi(Boolean enableBloggerApi)(Code)



setEnableMultiLang
public void setEnableMultiLang(boolean enableMultiLang)(Code)



setEnabled
public void setEnabled(Boolean enabled)(Code)



setEntryDisplayCount
public void setEntryDisplayCount(int entryDisplayCount)(Code)



setHandle
public void setHandle(String handle)(Code)



setId
public void setId(String id)(Code)



setLastModified
public void setLastModified(Date lastModified)(Code)



setLocale
public void setLocale(String locale)(Code)



setModerateComments
public void setModerateComments(Boolean moderateComments)(Code)



setName
public void setName(String name)(Code)



setPageModels
public void setPageModels(String pageModels)(Code)



setPermissions
public void setPermissions(List perms)(Code)



setShowAllLangs
public void setShowAllLangs(boolean showAllLangs)(Code)



setTimeZone
public void setTimeZone(String timeZone)(Code)



setTodaysHits
public void setTodaysHits(int ignored)(Code)
No-op method to please XDoclet



setTodaysReferrers
public void setTodaysReferrers(List ignored)(Code)
No-op method to please XDoclet



setURL
public void setURL(String url)(Code)



setUserCount
public void setUserCount(int userCount)(Code)



setWeblogDayPageId
public void setWeblogDayPageId(String weblogDayPageId)(Code)



toString
public String toString()(Code)



Methods inherited from org.apache.roller.pojos.PersistentObject
public boolean equals(Object o)(Code)(Java Doc)
abstract public String getId()(Code)(Java Doc)
abstract public void setData(PersistentObject obj)(Code)(Java Doc)
abstract public void setId(String id)(Code)(Java Doc)
public String toString()(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.