Class DocContent
- java.lang.Object
-
- fr.paris.lutece.plugins.blog.business.DocContent
-
- All Implemented Interfaces:
java.io.Serializable
public class DocContent extends java.lang.Object implements java.io.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 valuejava.util.List<Blog>getBlogs()Gets the blogsContentTypegetContentType()Gets the ContentTypeintgetId()Returns the IdDocContentintgetPriority()Gets the priorityjava.lang.StringgetTextValue()Gets the valuejava.lang.StringgetValueContentType()Gets the content type valuevoidsetBinaryValue(byte[] bytes)Sets the valuevoidsetBlogs(java.util.List<Blog> blogs)Sets the blogsvoidsetContentType(ContentType type)Sets the ContentTypevoidsetId(int nIdDocumentContent)Sets the _nIdDocContentvoidsetPriority(int nPriority)Sets the priorityvoidsetTextValue(java.lang.String strTextValue)Sets the valuevoidsetValueContentType(java.lang.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(java.lang.String strTextValue)
Sets the value- Parameters:
strTextValue- The value
-
getTextValue
public java.lang.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(java.lang.String strValueContentType)
Sets the content type value- Parameters:
strValueContentType- The content type value
-
getValueContentType
public java.lang.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
-
getBlogs
public java.util.List<Blog> getBlogs()
Gets the blogs- Returns:
- the blogs
-
setBlogs
public void setBlogs(java.util.List<Blog> blogs)
Sets the blogs- Parameters:
blogs- the blogs
-
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
-
-