Class TopicVersion
- java.lang.Object
-
- fr.paris.lutece.plugins.wiki.business.TopicVersion
-
public class TopicVersion extends Object
This is the business class for the object TopicVersion
-
-
Constructor Summary
Constructors Constructor Description TopicVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLocalizedWikiContent(String strLocale, WikiContent content)Sets the Wiki ContentTimestampgetDateEdition()Returns the DateEditionStringgetEditComment()Returns the EditCommentintgetIdTopic()Returns the IdTopicintgetIdTopicVersion()Returns the IdTopicVersionintgetIdTopicVersionPrevious()Returns the IdTopicVersionPreviousStringgetLuteceUserId()Returns the LuteceUserIdStringgetUserAvatarUrl()Returns the UserAvatarUrlStringgetUserName()Returns the UserNameStringgetUserPseudo()Returns the UserPseudoWikiContentgetWikiContent(String strLanguage)Returns the Wiki ContentMap<String,WikiContent>getWikiContents()Returns the Wiki ContentvoidsetDateEdition(Timestamp timestamp)Sets the DateEditionvoidsetEditComment(String strEditComment)Sets the EditCommentvoidsetIdTopic(int nIdTopic)Sets the IdTopicvoidsetIdTopicVersion(int nIdTopicVersion)Sets the IdTopicVersionvoidsetIdTopicVersionPrevious(int nIdTopicVersionPrevious)Sets the IdTopicVersionPreviousvoidsetLuteceUserId(String strLuteceUserId)Sets the LuteceUserIdvoidsetUserAvatarUrl(String strUserAvatarUrl)Sets the UserAvatarUrlvoidsetUserName(String strUserName)Sets the UserNamevoidsetUserPseudo(String strUserPseudo)Sets the UserPseudo
-
-
-
Method Detail
-
getIdTopicVersion
public int getIdTopicVersion()
Returns the IdTopicVersion- Returns:
- The IdTopicVersion
-
setIdTopicVersion
public void setIdTopicVersion(int nIdTopicVersion)
Sets the IdTopicVersion- Parameters:
nIdTopicVersion- The IdTopicVersion
-
getEditComment
public String getEditComment()
Returns the EditComment- Returns:
- The EditComment
-
setEditComment
public void setEditComment(String strEditComment)
Sets the EditComment- Parameters:
strEditComment- The EditComment
-
getWikiContent
public WikiContent getWikiContent(String strLanguage)
Returns the Wiki Content- Parameters:
strLanguage- The locale- Returns:
- The EditComment
-
getWikiContents
public Map<String,WikiContent> getWikiContents()
Returns the Wiki Content- Returns:
- The EditComment
-
addLocalizedWikiContent
public void addLocalizedWikiContent(String strLocale, WikiContent content)
Sets the Wiki Content- Parameters:
strLocale- The localecontent- The content
-
getIdTopic
public int getIdTopic()
Returns the IdTopic- Returns:
- The IdTopic
-
setIdTopic
public void setIdTopic(int nIdTopic)
Sets the IdTopic- Parameters:
nIdTopic- The IdTopic
-
getLuteceUserId
public String getLuteceUserId()
Returns the LuteceUserId- Returns:
- The LuteceUserId
-
setLuteceUserId
public void setLuteceUserId(String strLuteceUserId)
Sets the LuteceUserId- Parameters:
strLuteceUserId- The LuteceUserId
-
getDateEdition
public Timestamp getDateEdition()
Returns the DateEdition- Returns:
- The DateEdition
-
setDateEdition
public void setDateEdition(Timestamp timestamp)
Sets the DateEdition- Parameters:
timestamp- The DateEdition
-
getIdTopicVersionPrevious
public int getIdTopicVersionPrevious()
Returns the IdTopicVersionPrevious- Returns:
- The IdTopicVersionPrevious
-
setIdTopicVersionPrevious
public void setIdTopicVersionPrevious(int nIdTopicVersionPrevious)
Sets the IdTopicVersionPrevious- Parameters:
nIdTopicVersionPrevious- The IdTopicVersionPrevious
-
getUserPseudo
public String getUserPseudo()
Returns the UserPseudo- Returns:
- The UserPseudo
-
setUserPseudo
public void setUserPseudo(String strUserPseudo)
Sets the UserPseudo- Parameters:
strUserPseudo- The UserPseudo
-
getUserName
public String getUserName()
Returns the UserName- Returns:
- The UserName
-
setUserName
public void setUserName(String strUserName)
Sets the UserName- Parameters:
strUserName- The UserName
-
getUserAvatarUrl
public String getUserAvatarUrl()
Returns the UserAvatarUrl- Returns:
- The UserAvatarUrl
-
setUserAvatarUrl
public void setUserAvatarUrl(String strUserAvatarUrl)
Sets the UserAvatarUrl- Parameters:
strUserAvatarUrl- The UserAvatarUrl
-
-