Class Revision
java.lang.Object
fr.paris.lutece.plugins.wiki.business.revision.Revision
- All Implemented Interfaces:
Serializable
This is the business class for the object Revision
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the AuthorReturns the CommentReturns the ContentReturns the DateCreationReturns the DescriptionintReturns the EntityIdintgetId()Returns the IdbooleanReturns the IsCurrentintReturns the RevisionNumbergetTitle()Returns the TitlevoidSets the AuthorvoidsetComment(String strComment) Sets the CommentvoidsetContent(String strContent) Sets the ContentvoidsetDateCreation(Timestamp dateCreation) Sets the DateCreationvoidsetDescription(String strDescription) Sets the DescriptionvoidsetEntityId(int nEntityId) Sets the EntityIdvoidsetId(int nId) Sets the IdvoidsetIsCurrent(boolean bIsCurrent) Sets the IsCurrentvoidsetRevisionNumber(int nRevisionNumber) Sets the RevisionNumbervoidSets the Title
-
Field Details
-
RESOURCE_TYPE
Revision resource type- See Also:
-
-
Constructor Details
-
Revision
public Revision()Default constructor -
Revision
Copy constructor- Parameters:
revision- The revision to copy
-
-
Method Details
-
getId
public int getId()Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId) Sets the Id- Parameters:
nId- The Id
-
getEntityId
public int getEntityId()Returns the EntityId- Returns:
- The EntityId
-
setEntityId
public void setEntityId(int nEntityId) Sets the EntityId- Parameters:
nEntityId- The EntityId
-
getRevisionNumber
public int getRevisionNumber()Returns the RevisionNumber- Returns:
- The RevisionNumber
-
setRevisionNumber
public void setRevisionNumber(int nRevisionNumber) Sets the RevisionNumber- Parameters:
nRevisionNumber- The RevisionNumber
-
getTitle
Returns the Title- Returns:
- The Title
-
setTitle
Sets the Title- Parameters:
strTitle- The Title
-
getDescription
Returns the Description- Returns:
- The Description
-
setDescription
Sets the Description- Parameters:
strDescription- The Description
-
getContent
Returns the Content- Returns:
- The Content
-
setContent
Sets the Content- Parameters:
strContent- The Content
-
getComment
Returns the Comment- Returns:
- The Comment
-
setComment
Sets the Comment- Parameters:
strComment- The Comment
-
getAuthor
Returns the Author- Returns:
- The Author
-
setAuthor
Sets the Author- Parameters:
strAuthor- The Author
-
getDateCreation
Returns the DateCreation- Returns:
- The DateCreation
-
setDateCreation
Sets the DateCreation- Parameters:
dateCreation- The DateCreation
-
getIsCurrent
public boolean getIsCurrent()Returns the IsCurrent- Returns:
- The IsCurrent
-
setIsCurrent
public void setIsCurrent(boolean bIsCurrent) Sets the IsCurrent- Parameters:
bIsCurrent- The IsCurrent
-