Class NewsEntity
java.lang.Object
org.silverpeas.components.quickinfo.web.NewsEntity
- All Implemented Interfaces:
Serializable,org.silverpeas.core.web.rs.WebEntity
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NewsEntitygetDate()getId()intgetTitle()getURI()voidsetComponentId(String componentId) voidsetContent(String content) voidvoidsetDescription(String description) voidvoidsetNumberOfAttachments(int numberOfAttachments) voidsetPermalink(String url) voidsetPublicationId(String publicationId) voidsetThumbnailURL(String thumbnailURL) void
-
Constructor Details
-
NewsEntity
protected NewsEntity()
-
-
Method Details
-
fromNews
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getDate
-
setDate
-
getPermalink
-
setPermalink
-
getURI
- Specified by:
getURIin interfaceorg.silverpeas.core.web.rs.WebEntity
-
withURI
-
setId
-
getId
-
setPublicationId
-
getPublicationId
-
setComponentId
-
getComponentId
-
getPublishedFor
-
getPublishedForNbDays
public int getPublishedForNbDays() -
getPublishTime
-
getContent
-
setContent
-
setThumbnailURL
-
getThumbnailURL
-
setNumberOfAttachments
public void setNumberOfAttachments(int numberOfAttachments) -
getNumberOfAttachments
-