Class Blog

  • All Implemented Interfaces:
    fr.paris.lutece.portal.service.rbac.RBACResource, fr.paris.lutece.portal.service.resource.IExtendableResource, java.io.Serializable

    public class Blog
    extends fr.paris.lutece.util.ReferenceItem
    implements java.io.Serializable, fr.paris.lutece.portal.service.resource.IExtendableResource, fr.paris.lutece.portal.service.rbac.RBACResource
    This is the business class for the object Blog
    See Also:
    Serialized Form
    • Constructor Detail

      • Blog

        public Blog()
    • Method Detail

      • getId

        public int getId()
        Returns the Id
        Returns:
        The Id
      • getName

        public java.lang.String getName()
        Overrides:
        getName in class fr.paris.lutece.util.ReferenceItem
      • setId

        public void setId​(int nId)
        Sets the Id
        Parameters:
        nId - The Id
      • getVersion

        public int getVersion()
        Returns the Version
        Returns:
        The Version
      • setVersion

        public void setVersion​(int nVersion)
        Sets the Version
        Parameters:
        nVersion - The Version
      • getContentLabel

        public java.lang.String getContentLabel()
        Returns the ContentLabel
        Returns:
        The ContentLabel
      • setContentLabel

        public void setContentLabel​(java.lang.String strContentLabel)
        Sets the ContentLabel
        Parameters:
        strContentLabel - The ContentLabel
      • getCreationDate

        public java.sql.Timestamp getCreationDate()
        Returns the CreationDate
        Returns:
        The CreationDate
      • setCreationDate

        public void setCreationDate​(java.sql.Timestamp dateCreationDate)
        Sets the CreationDate
        Parameters:
        dateCreationDate - The CreationDate
      • getUpdateDate

        public java.sql.Timestamp getUpdateDate()
        Returns the UpdateDate
        Returns:
        The UpdateDate
      • setUpdateDate

        public void setUpdateDate​(java.sql.Timestamp dateUpdateDate)
        Sets the UpdateDate
        Parameters:
        dateUpdateDate - The UpdateDate
      • getHtmlContent

        public java.lang.String getHtmlContent()
        Returns the HtmlContent
        Returns:
        The HtmlContent
      • setHtmlContent

        public void setHtmlContent​(java.lang.String strHtmlContent)
        Sets the HtmlContent
        Parameters:
        strHtmlContent - The HtmlContent
      • getUser

        public java.lang.String getUser()
        Returns the User
        Returns:
        The User
      • setUser

        public void setUser​(java.lang.String strUser)
        Sets the User
        Parameters:
        strUser - The User
      • getUserCreator

        public java.lang.String getUserCreator()
        Returns the UserCreator
        Returns:
        The UserCreator
      • setUserCreator

        public void setUserCreator​(java.lang.String strUserCreator)
        Sets the UserCreator
        Parameters:
        strUserCreator - The UserCreator
      • setAttachedPortletId

        public void setAttachedPortletId​(int nAttachedPortletId)
      • getAttachedPortletId

        public int getAttachedPortletId()
      • getEditComment

        public java.lang.String getEditComment()
        Returns the EditComment
        Returns:
        The EditComment
      • setEditComment

        public void setEditComment​(java.lang.String strEditComment)
        Sets the EditComment
        Parameters:
        strEditComment - The EditComment
      • getDescription

        public java.lang.String getDescription()
        Returns the Description
        Returns:
        The Description
      • setDescription

        public void setDescription​(java.lang.String strDescription)
        Sets the Description
        Parameters:
        strDescription - The Description
      • getDocContent

        public java.util.List<DocContent> getDocContent()
        Returns the list of DocContent
        Returns:
        The DocContent
      • setDocContent

        public void setDocContent​(java.util.List<DocContent> docContent)
        Sets the list DocContent
        Parameters:
        docContent - the list DocContent
      • addContent

        public void addContent​(DocContent docContent)
        Sets the docConetnt list
        Parameters:
        docContent - list The docContent list
      • deleteDocContent

        public void deleteDocContent​(int nIdDoc)
        delet the docContent
        Parameters:
        nIdDoc - The docContent Id
      • getUrl

        public java.lang.String getUrl()
        Returns the Url
        Returns:
        The Url
      • setUrl

        public void setUrl​(java.lang.String strUrl)
        Sets the Url
        Parameters:
        strUrl - The Url
      • getShareable

        public boolean getShareable()
        Returns the Shareable
        Returns:
        The Shareable
      • setShareable

        public void setShareable​(boolean bShareable)
        shareable
        Parameters:
        bShareable -
      • getLocked

        public boolean getLocked()
        Returns the Locked
        Returns:
        The Locked
      • setLocked

        public void setLocked​(boolean bLocked)
        Locked
        Parameters:
        bLocked -
      • getTag

        public java.util.List<Tag> getTag()
        Returns the tag list
        Returns:
        The tag list
      • setTag

        public void setTag​(java.util.List<Tag> tag)
        Sets the tag list
        Parameters:
        tag - list The tag list
      • addTag

        public void addTag​(Tag tag)
        Sets the tag list
        Parameters:
        tag - list The tag list
      • deleteTag

        public void deleteTag​(Tag tag)
        delet the tag
        Parameters:
        tag - The tag
      • getBlogPublication

        public java.util.List<BlogPublication> getBlogPublication()
        Returns the blogc list
        Returns:
        The BlogPublication list
      • setBlogPublication

        public void setBlogPublication​(java.util.List<BlogPublication> blogPublication)
        Sets the BlogPublication list
        Parameters:
        blogPublication - list The blogPublication list
      • addBlogPublication

        public void addBlogPublication​(BlogPublication blogPublication)
        Sets the BlogPublication list
        Parameters:
        blogPublication - list The BlogPublication list
      • deleteBlogPublication

        public void deleteBlogPublication​(BlogPublication blogPublication)
        delet the BlogPublication
        Parameters:
        blogPublication - The BlogPublication
      • getExtendableResourceDescription

        public java.lang.String getExtendableResourceDescription()
        Specified by:
        getExtendableResourceDescription in interface fr.paris.lutece.portal.service.resource.IExtendableResource
      • getExtendableResourceImageUrl

        public java.lang.String getExtendableResourceImageUrl()
        Specified by:
        getExtendableResourceImageUrl in interface fr.paris.lutece.portal.service.resource.IExtendableResource
      • getExtendableResourceName

        public java.lang.String getExtendableResourceName()
        Specified by:
        getExtendableResourceName in interface fr.paris.lutece.portal.service.resource.IExtendableResource
      • getExtendableResourceType

        public java.lang.String getExtendableResourceType()
        Specified by:
        getExtendableResourceType in interface fr.paris.lutece.portal.service.resource.IExtendableResource
      • getIdExtendableResource

        public java.lang.String getIdExtendableResource()
        Specified by:
        getIdExtendableResource in interface fr.paris.lutece.portal.service.resource.IExtendableResource
      • getResourceId

        public java.lang.String getResourceId()
        Specified by:
        getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResource
      • getResourceTypeCode

        public java.lang.String getResourceTypeCode()
        Specified by:
        getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResource
      • getUserInfos

        public fr.paris.lutece.portal.business.user.AdminUser getUserInfos()
        Return the user informations
        Returns:
        AdminUser
      • getUserCreatorInfos

        public fr.paris.lutece.portal.business.user.AdminUser getUserCreatorInfos()
        Return the user creator informations
        Returns:
        AdminUser
      • isArchived

        public boolean isArchived()
        Returns:
        the boolean value of the blog is archived
      • setArchived

        public void setArchived​(boolean bIsArchived)
        set the blog is archived
        Parameters:
        bIsArchived -