public interface ArticlePresentationManager
Modifier and Type | Method and Description |
---|---|
void |
drop(int articleId)
Deprecated.
|
void |
expireArticle(int articleId)
Deprecated.
|
PresentationArticle |
getArticle(int articleId,
int publicationId)
Get a PresentationArticle.
|
PresentationArticle |
getArticle(int articleId,
int publicationId,
boolean stale)
Get a PresentationArticle.
|
boolean |
isLive(int pArticleId,
int pPublicationId)
Indicates whether a call to getArticle with the same parameters would return
an article that is live.
|
PresentationArticle getArticle(int articleId, int publicationId)
articleId
- The articleId of the article.publicationId
- The publicationId of the publication displaying
the article. Used to check for specific publication
configurations.PresentationArticle getArticle(int articleId, int publicationId, boolean stale)
false
it will first check if this object is in the updating
queue.articleId
- The articleId of the article.publicationId
- The publicationId of the publication displaying
the article. Used to check for specific publication
configurations.stale
- says if you accept stale date or not
PresentationArticle.boolean isLive(int pArticleId, int pPublicationId)
true
does not guarantee that a call to getArticle() actually will return a
live article, since the article may have changed since the call to
isArticleLivepArticleId
- id of the presentation article to fetchpPublicationId
- true
if getArticle(...).isLive() would return true
,
false
otherwise.void drop(int articleId)
articleId
- id of the article to be dropped from the cachevoid expireArticle(int articleId)
articleId
- The id of the article to expire from cache.© 1998- 2018 Stibo DX