public interface PresentationLoader
A Java Servlet and other components running inside a web application can get access to the current PresentationLoader
by using pServletContext.getAttribute("com.escenic.presentation.PresentationLoader")
Modifier and Type | Method and Description |
---|---|
PresentationPool |
getActivePool(int pSectionId) |
PresentationArticle |
getArticle(Article article)
Will retrieve the presentation article based on the api-article provided
|
PresentationArticle |
getArticle(Article article,
int publicationId) |
PresentationArticle |
getArticle(int articleId) |
PresentationArticle |
getArticle(int pArticleId,
boolean pStale) |
PresentationArticle |
getArticle(int articleId,
int publicationId)
Gets the PresentationArticle based on the article id and publication id
provided.
|
PresentationArticle |
getArticle(int articleId,
int publicationId,
boolean stale)
Gets the PresentationArticle based on the article id and publication id
provided.
|
PresentationArticle |
getArticle(int articleId,
Publication publication)
Gets the PresentationArticle based on the article id and the publication
provided.
|
Article |
getArticle(PresentationArticle article)
Will retrieve the api article base on the presentation article provided
|
ArticlePresentationManager |
getArticlePresentationManager() |
List |
getLatestArticles(LatestArticlesQuery query) |
PresentationList |
getList(int pListID,
int pPublicationID) |
neo.xredsys.presentation.list.ListManagerFacade |
getListManagerFacade() |
com.escenic.schedule.OccurrenceHelper |
getOccurrenceHelper() |
PresentationPool |
getPool(int pSectionId) |
PresentationPool |
getPool(int pSectionId,
boolean pAllowStale) |
PresentationPool |
getPool(int pPoolId,
int pPublicationId) |
PresentationPool |
getPool(int pSectionId,
int pPoolId,
int pPublicationId)
Deprecated.
|
PresentationPool |
getPool(Pool pool) |
PresentationPool |
getPool(Section section) |
PresentationListManager |
getPresentationListManager() |
PresentationPoolManager |
getPresentationPoolManager() |
PresentationSection |
getPresentationSection(int pSectionId) |
PresentationSectionManager |
getPresentationSectionManager() |
PresentationTag |
getTag(URI pTagIdentifier)
Gets a PresentationTag for a tag identifier.
|
TaggingRegistry |
getTaggingRegistry() |
List<PresentationTag> |
getTagsForArticle(Article pArticle)
Gets list of PresentationTags an article is tagged with.
|
com.escenic.presentation.uriresolver.URIResolver |
getURIResolver() |
PresentationUser |
getUser(int pUserId) |
UserPresentationManager |
getUserPresentationManager() |
boolean |
isArticleLive(int pArticleId,
int pPublicationId)
Indicates wheter a call to getArticle with the same parameters would return
an article that is live.
|
PresentationArticle getArticle(int articleId)
PresentationArticle getArticle(int pArticleId, boolean pStale)
PresentationArticle getArticle(int articleId, int publicationId)
articleId
- id of the presentation article to fetchpublicationId
- the publication id of the article to fetchPresentationArticle getArticle(int articleId, int publicationId, boolean stale)
articleId
- id of the presentation article to fetchpublicationId
- the publication id of the article to fetchboolean isArticleLive(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 truePresentationArticle getArticle(int articleId, Publication publication)
articleId
- the article id of the presentation article to fetchpublication
- the publication to fetch the presentation article fromPresentationArticle getArticle(Article article)
article
- the api article we will use to get the presentation articlePresentationArticle getArticle(Article article, int publicationId)
Article getArticle(PresentationArticle article)
article
- the presentation article we will use to get the api articlePresentationPool getPool(Pool pool)
PresentationPool getPool(int pSectionId)
PresentationPool getPool(int pSectionId, boolean pAllowStale)
PresentationPool getPool(int pPoolId, int pPublicationId)
@Deprecated PresentationPool getPool(int pSectionId, int pPoolId, int pPublicationId)
PresentationPool getPool(Section section)
PresentationPool getActivePool(int pSectionId)
PresentationSection getPresentationSection(int pSectionId)
PresentationList getList(int pListID, int pPublicationID)
List getLatestArticles(LatestArticlesQuery query)
PresentationUser getUser(int pUserId)
PresentationTag getTag(URI pTagIdentifier)
TagURI
.pTagIdentifier
- the tag identifier, can not be null.IllegalArgumentException
- if the tag identifier is null.TagURI
,
GenericTag.getIdentifier()
List<PresentationTag> getTagsForArticle(Article pArticle)
pArticle
- the article, can not be null.IllegalArgumentException
- if the article is null.ArticlePresentationManager getArticlePresentationManager()
PresentationPoolManager getPresentationPoolManager()
PresentationSectionManager getPresentationSectionManager()
PresentationListManager getPresentationListManager()
UserPresentationManager getUserPresentationManager()
com.escenic.presentation.uriresolver.URIResolver getURIResolver()
neo.xredsys.presentation.list.ListManagerFacade getListManagerFacade()
TaggingRegistry getTaggingRegistry()
com.escenic.schedule.OccurrenceHelper getOccurrenceHelper()
© 1998- 2018 Stibo DX