Modifier and Type | Field and Description |
---|---|
static long |
CATEGORY_GENERAL
General news article
|
static long |
CATEGORY_IMPORTANT
Important news article
|
static int |
STATUS_DELETED
Status of an article that has been deleted
|
static int |
STATUS_DISCARDED
Status of an article that has been discarded
|
static int |
STATUS_PUBLISHED
Status of an article that has been published
|
static int |
STATUS_REJECTED
Status of an article that is rejected
|
static int |
STATUS_SAVED
Status of an article that has been saved by its owner
|
static int |
STATUS_SUBMITTED
Status of an article that has been submitted to an editor
|
static int |
STATUS_SUBMITTED_SAVED
Status of an article that is submited and saved by an editor
|
protected Long |
versionNumber |
Constructor and Description |
---|
Article() |
Modifier and Type | Method and Description |
---|---|
long |
getCategory()
Gets the Category for this article
|
String |
getEditorId()
Gets the ID of the editor.
|
String |
getHeading()
Gets the heading for the article.
|
Long |
getId()
Gets the ID for the article
|
Media |
getImage() |
String |
getJournalist() |
String |
getJournalistId() |
String |
getLinkUrl()
Get the attached link to the article
|
ArticleRejection |
getRejection() |
int |
getStatus() |
String |
getSynopsis()
Gets the synopsis text for the article.
|
String |
getText()
Gets the main article text.
|
Date |
getTimestamp() |
String |
getToolInstance()
Gets the name of the tool instance
|
Topic |
getTopic()
Gets the Topic for this Article.
|
Long |
getVersionNumber()
Sets the version number of the Article
|
Media |
getVideo() |
void |
setCategory(long category)
Sets the category for this article.
|
void |
setEditorId(String editorId)
Sets the ID of the editor
|
void |
setHeading(String heading)
Sets the heading of the article.
|
void |
setId(Long id)
Set the ID for the article
|
void |
setImage(Media image) |
void |
setJournalist(String journalist) |
void |
setJournalistId(String journalistId) |
void |
setLinkUrl(String linkUrl)
Sets the attached link to the article
|
void |
setRejection(ArticleRejection rejection) |
void |
setStatus(int status) |
void |
setSynopsis(String synopsis)
Set the synopsis text for the article.
|
void |
setText(String text)
Sets the main text for this article
|
void |
setTimestamp(Date timestamp)
Set the timestamp the article was last modified
|
void |
setToolInstance(String tool)
Sets the tool instance name.
|
void |
setTopic(Topic topic)
Sets the topic for this article.
|
void |
setVersionNumber(Long versionNumber)
Gets the version number of the Article
|
void |
setVideo(Media video) |
String |
toString() |
public static final int STATUS_SAVED
public static final int STATUS_SUBMITTED
public static final int STATUS_SUBMITTED_SAVED
public static final int STATUS_REJECTED
public static final int STATUS_PUBLISHED
public static final int STATUS_DISCARDED
public static final int STATUS_DELETED
public static final long CATEGORY_GENERAL
public static final long CATEGORY_IMPORTANT
protected Long versionNumber
public Article()
public int getStatus()
public void setStatus(int status)
status
- the status to setpublic ArticleRejection getRejection()
public void setRejection(ArticleRejection rejection)
rejection
- the rejection to setpublic String getJournalistId()
public void setJournalistId(String journalistId)
journalistId
- the journalistId to setpublic String getJournalist()
public void setJournalist(String journalist)
journalist
- the journalist to setpublic Date getTimestamp()
public void setTimestamp(Date timestamp)
timestamp
- the timestamp to setpublic String getHeading()
public void setHeading(String heading)
heading
- the heading to setpublic String getSynopsis()
public void setSynopsis(String synopsis)
synopsis
- the synopsis to setpublic void setText(String text)
text
- the text to set.public void setTopic(Topic topic)
topic
- the topic to setpublic long getCategory()
public void setCategory(long category)
category
- the category to setpublic String getEditorId()
public void setEditorId(String editorId)
editorId
- the editorId to setpublic Long getVersionNumber()
public void setVersionNumber(Long versionNumber)
versionNumber
- The version number for this entity.public String getToolInstance()
public void setToolInstance(String tool)
tool
- Tool instance name.public String getLinkUrl()
public void setLinkUrl(String linkUrl)
linkUrl
- The link.Copyright © 2011–2015 The Kuali Foundation. All rights reserved.