Class DocContent
- java.lang.Object
-
- fr.paris.lutece.plugins.blog.business.DocContent
-
- All Implemented Interfaces:
Serializable
public class DocContent extends Object implements Serializable
- Author:
- eahuma
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBinaryValue()Gets the valueList<Blog>getBlogs()Gets the blogsContentTypegetContentType()Gets the ContentTypeintgetId()Returns the IdDocContentintgetPriority()Gets the priorityStringgetTextValue()Gets the valueStringgetValueContentType()Gets the content type valuevoidsetBinaryValue(byte[] bytes)Sets the valuevoidsetBlogs(List<Blog> blogs)Sets the blogsvoidsetContentType(ContentType type)Sets the ContentTypevoidsetId(int nIdDocumentContent)Sets the _nIdDocContentvoidsetPriority(int nPriority)Sets the priorityvoidsetTextValue(String strTextValue)Sets the valuevoidsetValueContentType(String strValueContentType)Sets the content type value
-
-
-
Method Detail
-
getId
public int getId()
Returns the IdDocContent- Returns:
- The _nIdDocContent
-
setId
public void setId(int nIdDocumentContent)
Sets the _nIdDocContent- Parameters:
nIdDocumentContent- The _nIdDocContent
-
setTextValue
public void setTextValue(String strTextValue)
Sets the value- Parameters:
strTextValue- The value
-
getTextValue
public String getTextValue()
Gets the value- Returns:
- The value
-
setBinaryValue
public void setBinaryValue(byte[] bytes)
Sets the value- Parameters:
bytes- The value
-
getBinaryValue
public byte[] getBinaryValue()
Gets the value- Returns:
- The value
-
setValueContentType
public void setValueContentType(String strValueContentType)
Sets the content type value- Parameters:
strValueContentType- The content type value
-
getValueContentType
public String getValueContentType()
Gets the content type value- Returns:
- The content type value
-
setContentType
public void setContentType(ContentType type)
Sets the ContentType- Parameters:
type- The ContentType
-
getContentType
public ContentType getContentType()
Gets the ContentType- Returns:
- The ContentType
-
getPriority
public int getPriority()
Gets the priority- Returns:
- the priority
-
setPriority
public void setPriority(int nPriority)
Sets the priority- Parameters:
nPriority- the priority to set
-
-