Liferay 6.1.2-ce-ga3

com.liferay.portlet.journal.atom
Class JournalArticleAtomCollectionProvider

java.lang.Object
  extended by com.liferay.portal.kernel.atom.BaseAtomCollectionAdapter<JournalArticle>
      extended by com.liferay.portlet.journal.atom.JournalArticleAtomCollectionProvider
All Implemented Interfaces:
AtomCollectionAdapter<JournalArticle>

public class JournalArticleAtomCollectionProvider
extends BaseAtomCollectionAdapter<JournalArticle>


Field Summary
 
Fields inherited from interface com.liferay.portal.kernel.atom.AtomCollectionAdapter
SC_BAD_CONTENT, SC_BAD_REQUEST, SC_CONFLICT, SC_CREATED, SC_FORBIDDEN, SC_INTERNAL_SERVER_ERROR, SC_NOT_FOUND, SC_NOT_MODIFIED, SC_OK, SC_UNAUTHORIZED
 
Constructor Summary
JournalArticleAtomCollectionProvider()
           
 
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
 

Constructor Detail

JournalArticleAtomCollectionProvider

public JournalArticleAtomCollectionProvider()
Method Detail

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

Liferay 6.1.2-ce-ga3