Class Blog

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

    public class Blog
    extends fr.paris.lutece.util.ReferenceItem
    implements 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 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 String getContentLabel()
        Returns the ContentLabel
        Returns:
        The ContentLabel
      • setContentLabel

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

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

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

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

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

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

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

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

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

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

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

        public void setAttachedPortletId​(int nAttachedPortletId)
      • getAttachedPortletId

        public int getAttachedPortletId()
      • getEditComment

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

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

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

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

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

        public void setDocContent​(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 String getUrl()
        Returns the Url
        Returns:
        The Url
      • setUrl

        public void setUrl​(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 List<Tag> getTag()
        Returns the tag list
        Returns:
        The tag list
      • setTag

        public void setTag​(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 List<BlogPublication> getBlogPublication()
        Returns the blogc list
        Returns:
        The BlogPublication list
      • setBlogPublication

        public void setBlogPublication​(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 String getExtendableResourceDescription()
        Specified by:
        getExtendableResourceDescription in interface fr.paris.lutece.portal.service.resource.IExtendableResource
      • getExtendableResourceImageUrl

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

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

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

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

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

        public 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