Class EntryDto
- java.lang.Object
-
- fr.paris.lutece.plugins.termofservice.business.EntryDto
-
public class EntryDto extends java.lang.ObjectEntryDto
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetId()java.lang.StringgetText()java.lang.StringgetTitle()intgetVersion()booleanisExistsUserAcceptedEntry()booleanisPublished()voidsetExistsUserAcceptedEntry(boolean bExistsUserAcceptedEntry)voidsetId(int nId)voidsetPublished(boolean bPublished)voidsetText(java.lang.String strText)voidsetTitle(java.lang.String strTitle)voidsetVersion(int nVersion)
-
-
-
Constructor Detail
-
EntryDto
public EntryDto()
Constructor
-
EntryDto
public EntryDto(Entry entry, boolean existsUserAcceptedEntry)
Constructor- Parameters:
entry-existsUserAcceptedEntry-
-
-
Method Detail
-
getId
public int getId()
- Returns:
- the nId
-
setId
public void setId(int nId)
- Parameters:
nId- the nId to set
-
getTitle
public java.lang.String getTitle()
- Returns:
- the strTitle
-
setTitle
public void setTitle(java.lang.String strTitle)
- Parameters:
strTitle- the strTitle to set
-
getText
public java.lang.String getText()
- Returns:
- the strText
-
setText
public void setText(java.lang.String strText)
- Parameters:
strText- the strText to set
-
getVersion
public int getVersion()
- Returns:
- the nVersion
-
setVersion
public void setVersion(int nVersion)
- Parameters:
nVersion- the nVersion to set
-
isPublished
public boolean isPublished()
- Returns:
- the bPublished
-
setPublished
public void setPublished(boolean bPublished)
- Parameters:
bPublished- the bPublished to set
-
isExistsUserAcceptedEntry
public boolean isExistsUserAcceptedEntry()
- Returns:
- the bExistsUserAcceptedEntry
-
setExistsUserAcceptedEntry
public void setExistsUserAcceptedEntry(boolean bExistsUserAcceptedEntry)
- Parameters:
bExistsUserAcceptedEntry- the bExistsUserAcceptedEntry to set
-
-