Class DocContent
java.lang.Object
fr.paris.lutece.plugins.blog.business.DocContent
- All Implemented Interfaces:
Serializable
- Author:
- eahuma
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Gets the valuegetBlogs()Gets the blogsGets the ContentTypeintgetId()Returns the IdDocContentintGets the priorityGets the valueGets the content type valuevoidsetBinaryValue(byte[] bytes) Sets the valuevoidSets 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
-
Constructor Details
-
DocContent
public DocContent()
-
-
Method Details
-
getId
public int getId()Returns the IdDocContent- Returns:
- The _nIdDocContent
-
setId
public void setId(int nIdDocumentContent) Sets the _nIdDocContent- Parameters:
nIdDocumentContent- The _nIdDocContent
-
setTextValue
Sets the value- Parameters:
strTextValue- The value
-
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
Sets the content type value- Parameters:
strValueContentType- The content type value
-
getValueContentType
Gets the content type value- Returns:
- The content type value
-
setContentType
Sets the ContentType- Parameters:
type- The ContentType
-
getContentType
Gets the ContentType- Returns:
- The ContentType
-
getBlogs
Gets the blogs- Returns:
- the blogs
-
setBlogs
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
-