public abstract class AbstractPresentationLoader extends Object implements PresentationLoader
Modifier and Type | Field and Description |
---|---|
protected org.apache.log4j.Logger |
mLogger
Deprecated.
the logger
|
Constructor and Description |
---|
AbstractPresentationLoader()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
doStartService()
Deprecated.
|
PresentationPool |
getActivePool(int pSectionId)
Deprecated.
|
PresentationArticle |
getArticle(Article article)
Deprecated.
Will retrieve the presentation article based on the api-article provided
|
PresentationArticle |
getArticle(Article article,
int publicationId)
Deprecated.
|
PresentationArticle |
getArticle(int articleId)
Deprecated.
|
PresentationArticle |
getArticle(int pArticleId,
boolean pStale)
Deprecated.
|
PresentationArticle |
getArticle(int articleId,
int publicationId)
Deprecated.
Gets the PresentationArticle based on the article id and publication id
provided.
|
PresentationArticle |
getArticle(int articleId,
int publicationId,
boolean stale)
Deprecated.
Gets the PresentationArticle based on the article id and publication id
provided.
|
PresentationArticle |
getArticle(int articleId,
Publication publication)
Deprecated.
Gets the PresentationArticle based on the article id and the publication
provided.
|
Article |
getArticle(PresentationArticle article)
Deprecated.
Will retrieve the api article base on the presentation article provided
|
List |
getLatestArticles(LatestArticlesQuery query)
Deprecated.
|
PresentationList |
getList(int pListID,
int pPublicationID)
Deprecated.
|
protected abstract ObjectLoader |
getObjectLoader()
Deprecated.
|
PresentationPool |
getPool(int pSectionId)
Deprecated.
|
PresentationPool |
getPool(int pSectionId,
boolean pAllowStale)
Deprecated.
|
PresentationPool |
getPool(int pPoolId,
int pPublicationId)
Deprecated.
|
PresentationPool |
getPool(int pSectionId,
int pPoolId,
int pPublicationId)
Deprecated.
|
PresentationPool |
getPool(Pool pool)
Deprecated.
|
PresentationPool |
getPool(Section section)
Deprecated.
|
PresentationSection |
getPresentationSection(int pSectionId)
Deprecated.
|
PresentationTag |
getTag(URI pTagIdentifier)
Deprecated.
Gets a PresentationTag for a tag identifier.
|
List<PresentationTag> |
getTagsForArticle(Article pArticle)
Deprecated.
Gets list of PresentationTags an article is tagged with.
|
PresentationUser |
getUser(int pUserId)
Deprecated.
|
boolean |
isArticleLive(int pArticleId,
int pPublicationId)
Deprecated.
Indicates wheter a call to getArticle with the same parameters would return
an article that is live.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getArticlePresentationManager, getListManagerFacade, getOccurrenceHelper, getPresentationListManager, getPresentationPoolManager, getPresentationSectionManager, getTaggingRegistry, getURIResolver, getUserPresentationManager
public final PresentationArticle getArticle(int articleId)
getArticle
in interface PresentationLoader
public final PresentationArticle getArticle(int pArticleId, boolean pStale)
getArticle
in interface PresentationLoader
public final PresentationArticle getArticle(int articleId, int publicationId)
PresentationLoader
getArticle
in interface PresentationLoader
articleId
- id of the presentation article to fetchpublicationId
- the publication id of the article to fetchpublic final PresentationArticle getArticle(int articleId, int publicationId, boolean stale)
PresentationLoader
getArticle
in interface PresentationLoader
articleId
- id of the presentation article to fetchpublicationId
- the publication id of the article to fetchpublic final boolean isArticleLive(int pArticleId, int pPublicationId)
PresentationLoader
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
isArticleLiveisArticleLive
in interface PresentationLoader
pArticleId
- id of the presentation article to fetchtrue
if getArticle(...).isLive() would return truepublic final PresentationArticle getArticle(int articleId, Publication publication)
PresentationLoader
getArticle
in interface PresentationLoader
articleId
- the article id of the presentation article to fetchpublication
- the publication to fetch the presentation article frompublic final PresentationArticle getArticle(Article article)
PresentationLoader
getArticle
in interface PresentationLoader
article
- the api article we will use to get the presentation articlepublic final PresentationArticle getArticle(Article article, int publicationId)
getArticle
in interface PresentationLoader
public final Article getArticle(PresentationArticle article)
PresentationLoader
getArticle
in interface PresentationLoader
article
- the presentation article we will use to get the api articlepublic final PresentationPool getPool(Pool pool)
getPool
in interface PresentationLoader
public final PresentationPool getPool(int pSectionId)
getPool
in interface PresentationLoader
public final PresentationPool getPool(int pSectionId, boolean pAllowStale)
getPool
in interface PresentationLoader
public final PresentationPool getPool(int pPoolId, int pPublicationId)
getPool
in interface PresentationLoader
public final PresentationPool getPool(int pSectionId, int pPoolId, int pPublicationId)
getPool
in interface PresentationLoader
public final PresentationPool getPool(Section section)
getPool
in interface PresentationLoader
public final PresentationPool getActivePool(int pSectionId)
getActivePool
in interface PresentationLoader
public final PresentationSection getPresentationSection(int pSectionId)
getPresentationSection
in interface PresentationLoader
public final PresentationList getList(int pListID, int pPublicationID)
getList
in interface PresentationLoader
public final List getLatestArticles(LatestArticlesQuery query)
getLatestArticles
in interface PresentationLoader
public final PresentationUser getUser(int pUserId)
getUser
in interface PresentationLoader
public final PresentationTag getTag(URI pTagIdentifier)
PresentationLoader
TagURI
.getTag
in interface PresentationLoader
pTagIdentifier
- the tag identifier, can not be null.TagURI
,
GenericTag.getIdentifier()
public final List<PresentationTag> getTagsForArticle(Article pArticle)
PresentationLoader
getTagsForArticle
in interface PresentationLoader
pArticle
- the article, can not be null.protected abstract ObjectLoader getObjectLoader()
© 1998- 2021 Escenic AS