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
A Post with site name and language.
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
The post language.protected BlogCacheManager.Post
The post.protected String
The post site name.Fields inherited from class org.ametys.plugins.blog.BlogCacheManager.Post
_date, _id, _name, _tags
-
Constructor Summary
ConstructorDescriptionDefault constructor.PostSiteLang
(BlogCacheManager.Post post, String siteName, String language) Constructor with all parameters. -
Method Summary
Modifier and TypeMethodDescriptionGet the language.getPost()
Get the post.Get the siteName.void
setLanguage
(String language) Set the language.void
setPost
(BlogCacheManager.Post post) Set the post.void
setSiteName
(String siteName) Set the siteName.
-
Field Details
-
_post
The post. -
_siteName
The post site name. -
_language
The post language.
-
-
Constructor Details
-
PostSiteLang
public PostSiteLang()Default constructor. -
PostSiteLang
Constructor with all parameters.- Parameters:
post
- the Post.siteName
- the site name.language
- the language.
-
-
Method Details
-
getPost
Get the post.- Returns:
- the post
-
setPost
Set the post.- Parameters:
post
- the post to set
-
getSiteName
Get the siteName.- Returns:
- the siteName
-
setSiteName
Set the siteName.- Parameters:
siteName
- the siteName to set
-
getLanguage
Get the language.- Returns:
- the language
-
setLanguage
Set the language.- Parameters:
language
- the language to set
-