public class ArticleItemImpl extends AbstractMenuItem implements ArticleItem
Constructor and Description |
---|
ArticleItemImpl(int pArticleId,
int pPublicationId)
The constructor for creating a
ArticleItem object. |
ArticleItemImpl(int pArticleId,
int pPublicationId,
ArticlePresentationManager pArticleManager)
Deprecated.
use
ArticleItemImpl(int, int) instead |
Modifier and Type | Method and Description |
---|---|
int |
getArticleId()
The id of the
Article
represented in this MenuItem |
int |
getPublicationId()
The id of the publication this
Article is published
in. |
String |
getText()
returns the text of the menuitem
|
String |
getText(String pLang)
returns the language specific text of the menuitem
|
String |
getURL()
returns the url of the menuitem
|
int |
hashCode() |
protected boolean |
isEquals(AbstractMenuItem item) |
addChild, addChildAt, equals, getChildren, getContent, getImageURL, getLevel, getParent, getPosition, getType, indexOfChild, removeChild, setChildren, setContent, setImageURL, setLevel, setParent, setText, setText, setURL, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getChildren, getImageURL, getLevel, getParent, getType
public ArticleItemImpl(int pArticleId, int pPublicationId, ArticlePresentationManager pArticleManager)
ArticleItemImpl(int, int)
insteadArticleItem
object.public ArticleItemImpl(int pArticleId, int pPublicationId)
ArticleItem
object.public int getArticleId()
ArticleItem
Article
represented in this MenuItem
getArticleId
in interface ArticleItem
Article
public int getPublicationId()
ArticleItem
Article
is published
in.getPublicationId
in interface ArticleItem
neo.xredsys.api.Publication
public String getURL()
MenuItem
getURL
in interface MenuItem
getURL
in class AbstractMenuItem
public String getText()
MenuItem
getText
in interface MenuItem
getText
in class AbstractMenuItem
public String getText(String pLang)
MenuItem
getText
in interface MenuItem
getText
in class AbstractMenuItem
protected boolean isEquals(AbstractMenuItem item)
isEquals
in class AbstractMenuItem
© 1998- 2016 Escenic AS