com.liferay.portlet.journal.atom
Class JournalArticleAtomCollectionProvider
java.lang.Object
com.liferay.portal.kernel.atom.BaseAtomCollectionAdapter<JournalArticle>
com.liferay.portlet.journal.atom.JournalArticleAtomCollectionProvider
- All Implemented Interfaces:
- AtomCollectionAdapter<JournalArticle>
public class JournalArticleAtomCollectionProvider
- extends BaseAtomCollectionAdapter<JournalArticle>
Method Summary |
protected void |
doDeleteEntry(String resourceName,
AtomRequestContext atomRequestContext)
|
protected JournalArticle |
doGetEntry(String resourceName,
AtomRequestContext atomRequestContext)
|
protected Iterable<JournalArticle> |
doGetFeedEntries(AtomRequestContext atomRequestContext)
|
protected JournalArticle |
doPostEntry(String title,
String summary,
String content,
Date date,
AtomRequestContext atomRequestContext)
|
protected void |
doPutEntry(JournalArticle journalArticle,
String title,
String summary,
String content,
Date date,
AtomRequestContext atomRequestContext)
|
String |
getCollectionName()
|
List<String> |
getEntryAuthors(JournalArticle journalArticle)
|
AtomEntryContent |
getEntryContent(JournalArticle journalArticle,
AtomRequestContext atomRequestContext)
|
String |
getEntryId(JournalArticle journalArticle)
|
String |
getEntrySummary(JournalArticle entry)
|
String |
getEntryTitle(JournalArticle journalArticle)
|
Date |
getEntryUpdated(JournalArticle journalArticle)
|
String |
getFeedTitle(AtomRequestContext atomRequestContext)
|
Methods inherited from class com.liferay.portal.kernel.atom.BaseAtomCollectionAdapter |
deleteEntry, doPostMedia, doPutMedia, getEntry, getFeedEntries, getMediaContentType, getMediaName, getMediaStream, postEntry, postMedia, putEntry, putMedia |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalArticleAtomCollectionProvider
public JournalArticleAtomCollectionProvider()
getCollectionName
public String getCollectionName()
getEntryAuthors
public List<String> getEntryAuthors(JournalArticle journalArticle)
getEntryContent
public AtomEntryContent getEntryContent(JournalArticle journalArticle,
AtomRequestContext atomRequestContext)
getEntryId
public String getEntryId(JournalArticle journalArticle)
getEntrySummary
public String getEntrySummary(JournalArticle entry)
getEntryTitle
public String getEntryTitle(JournalArticle journalArticle)
getEntryUpdated
public Date getEntryUpdated(JournalArticle journalArticle)
getFeedTitle
public String getFeedTitle(AtomRequestContext atomRequestContext)
doDeleteEntry
protected void doDeleteEntry(String resourceName,
AtomRequestContext atomRequestContext)
throws Exception
- Overrides:
doDeleteEntry
in class BaseAtomCollectionAdapter<JournalArticle>
- Throws:
Exception
doGetEntry
protected JournalArticle doGetEntry(String resourceName,
AtomRequestContext atomRequestContext)
throws Exception
- Specified by:
doGetEntry
in class BaseAtomCollectionAdapter<JournalArticle>
- Throws:
Exception
doGetFeedEntries
protected Iterable<JournalArticle> doGetFeedEntries(AtomRequestContext atomRequestContext)
throws Exception
- Specified by:
doGetFeedEntries
in class BaseAtomCollectionAdapter<JournalArticle>
- Throws:
Exception
doPostEntry
protected JournalArticle doPostEntry(String title,
String summary,
String content,
Date date,
AtomRequestContext atomRequestContext)
throws Exception
- Overrides:
doPostEntry
in class BaseAtomCollectionAdapter<JournalArticle>
- Throws:
Exception
doPutEntry
protected void doPutEntry(JournalArticle journalArticle,
String title,
String summary,
String content,
Date date,
AtomRequestContext atomRequestContext)
throws Exception
- Overrides:
doPutEntry
in class BaseAtomCollectionAdapter<JournalArticle>
- Throws:
Exception