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
| Modifier and Type | Field and Description |
|---|---|
static String |
PERMISSION_CREATE |
static String |
PERMISSION_DELETE |
static String |
PERMISSION_MODIFY |
static String |
PERMISSION_PUBLISH |
static String |
PERMISSION_VIEW |
static String |
PROPERTY_RESOURCE_TYPE |
| Constructor and Description |
|---|
Blog() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBlogPublication(BlogPublication blogPubilcation)
Sets the BlogPubilcation list
|
void |
addConetnt(DocContent docContent)
Sets the docConetnt list
|
void |
addTag(Tag tag)
Sets the tag list
|
void |
deleteBlogPublication(BlogPublication blogPubilcation)
delet the BlogPubilcation
|
void |
deleteDocContent(String strFileName)
delet the docContent
|
void |
deleteTag(Tag tag)
delet the tag
|
int |
getAttachedPortletId() |
List<BlogPublication> |
getBlogPubilcation()
Returns the blogPubilcation list
|
String |
getContentLabel()
Returns the ContentLabel
|
Timestamp |
getCreationDate()
Returns the CreationDate
|
String |
getDescription()
Returns the Description
|
List<DocContent> |
getDocContent()
Returns the list of DocContent
|
String |
getEditComment()
Returns the EditComment
|
String |
getExtendableResourceDescription() |
String |
getExtendableResourceImageUrl() |
String |
getExtendableResourceName() |
String |
getExtendableResourceType() |
String |
getHtmlContent()
Returns the HtmlContent
|
int |
getId()
Returns the Id
|
String |
getIdExtendableResource() |
boolean |
getLocked()
Returns the Locked
|
String |
getName() |
String |
getResourceId() |
String |
getResourceTypeCode() |
boolean |
getShareable()
Returns the Shareable
|
List<Tag> |
getTag()
Returns the tag list
|
Timestamp |
getUpdateDate()
Returns the UpdateDate
|
String |
getUrl()
Returns the Url
|
String |
getUser()
Returns the User
|
String |
getUserCreator()
Returns the UserCreator
|
int |
getVersion()
Returns the Version
|
void |
setAttachedPortletId(int nAttachedPortletId) |
void |
setBlogPubilcation(List<BlogPublication> blogPublication)
Sets the BlogPublication list
|
void |
setContentLabel(String strContentLabel)
Sets the ContentLabel
|
void |
setCreationDate(Timestamp dateCreationDate)
Sets the CreationDate
|
void |
setDescription(String strDescription)
Sets the Description
|
void |
setDocContent(List<DocContent> docContent)
Sets the list DocContent
|
void |
setEditComment(String strEditComment)
Sets the EditComment
|
void |
setHtmlContent(String strHtmlContent)
Sets the HtmlContent
|
void |
setId(int nId)
Sets the Id
|
void |
setLocked(boolean locked)
Locked
|
void |
setShareable(boolean shareable)
shareable
|
void |
setTag(List<Tag> tag)
Sets the tag list
|
void |
setUpdateDate(Timestamp dateUpdateDate)
Sets the UpdateDate
|
void |
setUrl(String strUrl)
Sets the Url
|
void |
setUser(String strUser)
Sets the User
|
void |
setUserCreator(String strUserCreator)
Sets the UserCreator
|
void |
setVersion(int nVersion)
Sets the Version
|
public static final String PROPERTY_RESOURCE_TYPE
public static final String PERMISSION_VIEW
public static final String PERMISSION_CREATE
public static final String PERMISSION_MODIFY
public static final String PERMISSION_DELETE
public static final String PERMISSION_PUBLISH
public int getId()
public String getName()
getName in class fr.paris.lutece.util.ReferenceItempublic void setId(int nId)
nId - The Idpublic int getVersion()
public void setVersion(int nVersion)
nVersion - The Versionpublic String getContentLabel()
public void setContentLabel(String strContentLabel)
strContentLabel - The ContentLabelpublic Timestamp getCreationDate()
public void setCreationDate(Timestamp dateCreationDate)
dateCreationDate - The CreationDatepublic Timestamp getUpdateDate()
public void setUpdateDate(Timestamp dateUpdateDate)
dateUpdateDate - The UpdateDatepublic String getHtmlContent()
public void setHtmlContent(String strHtmlContent)
strHtmlContent - The HtmlContentpublic String getUser()
public void setUser(String strUser)
strUser - The Userpublic String getUserCreator()
public void setUserCreator(String strUserCreator)
strUserCreator - The UserCreatorpublic void setAttachedPortletId(int nAttachedPortletId)
public int getAttachedPortletId()
public String getEditComment()
public void setEditComment(String strEditComment)
strEditComment - The EditCommentpublic String getDescription()
public void setDescription(String strDescription)
strDescription - The Descriptionpublic List<DocContent> getDocContent()
public void setDocContent(List<DocContent> docContent)
DocContent - The DocContentpublic void addConetnt(DocContent docContent)
docContent - list The docContent listpublic void deleteDocContent(String strFileName)
docContent - The docContentpublic String getUrl()
public void setUrl(String strUrl)
strUrl - The Urlpublic boolean getShareable()
public void setShareable(boolean shareable)
public boolean getLocked()
public void setLocked(boolean locked)
public void addTag(Tag tag)
tag - list The tag listpublic void deleteTag(Tag tag)
tag - The tagpublic List<BlogPublication> getBlogPubilcation()
public void setBlogPubilcation(List<BlogPublication> blogPublication)
blogPublication - list The blogPublication listpublic void addBlogPublication(BlogPublication blogPubilcation)
BlogPubilcation - list The BlogPubilcation listpublic void deleteBlogPublication(BlogPublication blogPubilcation)
BlogPubilcation - The BlogPubilcationpublic String getExtendableResourceDescription()
getExtendableResourceDescription in interface fr.paris.lutece.portal.service.resource.IExtendableResourcepublic String getExtendableResourceImageUrl()
getExtendableResourceImageUrl in interface fr.paris.lutece.portal.service.resource.IExtendableResourcepublic String getExtendableResourceName()
getExtendableResourceName in interface fr.paris.lutece.portal.service.resource.IExtendableResourcepublic String getExtendableResourceType()
getExtendableResourceType in interface fr.paris.lutece.portal.service.resource.IExtendableResourcepublic String getIdExtendableResource()
getIdExtendableResource in interface fr.paris.lutece.portal.service.resource.IExtendableResourcepublic String getResourceId()
getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResourcepublic String getResourceTypeCode()
getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResourceCopyright © 2020 City of Paris. All rights reserved.