Package org.ametys.plugins.blog
Class BlogCacheManager.PostSiteLang
- java.lang.Object
 - 
- org.ametys.plugins.blog.BlogCacheManager.Post
 - 
- org.ametys.plugins.blog.BlogCacheManager.PostSiteLang
 
 
 
- 
- Enclosing class:
 - BlogCacheManager
 
protected class BlogCacheManager.PostSiteLang extends BlogCacheManager.Post
A Post with site name and language. 
- 
- 
Constructor Summary
Constructors Constructor Description PostSiteLang()Default constructor.PostSiteLang(BlogCacheManager.Post post, String siteName, String language)Constructor with all parameters. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLanguage()Get the language.BlogCacheManager.PostgetPost()Get the post.StringgetSiteName()Get the siteName.voidsetLanguage(String language)Set the language.voidsetPost(BlogCacheManager.Post post)Set the post.voidsetSiteName(String siteName)Set the siteName. 
 - 
 
- 
- 
Constructor Detail
- 
PostSiteLang
public PostSiteLang()
Default constructor. 
- 
PostSiteLang
public PostSiteLang(BlogCacheManager.Post post, String siteName, String language)
Constructor with all parameters.- Parameters:
 post- the Post.siteName- the site name.language- the language.
 
 - 
 
- 
Method Detail
- 
getPost
public BlogCacheManager.Post getPost()
Get the post.- Returns:
 - the post
 
 
- 
setPost
public void setPost(BlogCacheManager.Post post)
Set the post.- Parameters:
 post- the post to set
 
- 
getSiteName
public String getSiteName()
Get the siteName.- Returns:
 - the siteName
 
 
- 
setSiteName
public void setSiteName(String siteName)
Set the siteName.- Parameters:
 siteName- the siteName to set
 
- 
getLanguage
public String getLanguage()
Get the language.- Returns:
 - the language
 
 
- 
setLanguage
public void setLanguage(String language)
Set the language.- Parameters:
 language- the language to set
 
 - 
 
 -