Liferay 6.2-ce-ga5

com.liferay.portlet.blogs.atom
Class BlogsEntryAtomCollectionAdapter

java.lang.Object
  extended by com.liferay.portal.kernel.atom.BaseAtomCollectionAdapter<BlogsEntry>
      extended by com.liferay.portlet.blogs.atom.BlogsEntryAtomCollectionAdapter
All Implemented Interfaces:
AtomCollectionAdapter<BlogsEntry>

public class BlogsEntryAtomCollectionAdapter
extends BaseAtomCollectionAdapter<BlogsEntry>


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
BlogsEntryAtomCollectionAdapter()
           
 
Method Summary
protected  void doDeleteEntry(String resourceName, AtomRequestContext atomRequestContext)
           
protected  BlogsEntry doGetEntry(String resourceName, AtomRequestContext atomRequestContext)
           
protected  Iterable<BlogsEntry> doGetFeedEntries(AtomRequestContext atomRequestContext)
           
protected  BlogsEntry doPostEntry(String title, String summary, String content, Date date, AtomRequestContext atomRequestContext)
           
protected  void doPutEntry(BlogsEntry blogsEntry, String title, String summary, String content, Date date, AtomRequestContext atomRequestContext)
           
 String getCollectionName()
           
 List<String> getEntryAuthors(BlogsEntry blogsEntry)
           
 AtomEntryContent getEntryContent(BlogsEntry blogsEntry, AtomRequestContext atomRequestContext)
           
 String getEntryId(BlogsEntry blogsEntry)
           
 String getEntrySummary(BlogsEntry blogsEntry)
           
 String getEntryTitle(BlogsEntry blogsEntry)
           
 Date getEntryUpdated(BlogsEntry blogsEntry)
           
 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

BlogsEntryAtomCollectionAdapter

public BlogsEntryAtomCollectionAdapter()
Method Detail

getCollectionName

public String getCollectionName()

getEntryAuthors

public List<String> getEntryAuthors(BlogsEntry blogsEntry)

getEntryContent

public AtomEntryContent getEntryContent(BlogsEntry blogsEntry,
                                        AtomRequestContext atomRequestContext)

getEntryId

public String getEntryId(BlogsEntry blogsEntry)

getEntrySummary

public String getEntrySummary(BlogsEntry blogsEntry)

getEntryTitle

public String getEntryTitle(BlogsEntry blogsEntry)

getEntryUpdated

public Date getEntryUpdated(BlogsEntry blogsEntry)

getFeedTitle

public String getFeedTitle(AtomRequestContext atomRequestContext)

doDeleteEntry

protected void doDeleteEntry(String resourceName,
                             AtomRequestContext atomRequestContext)
                      throws Exception
Overrides:
doDeleteEntry in class BaseAtomCollectionAdapter<BlogsEntry>
Throws:
Exception

doGetEntry

protected BlogsEntry doGetEntry(String resourceName,
                                AtomRequestContext atomRequestContext)
                         throws Exception
Specified by:
doGetEntry in class BaseAtomCollectionAdapter<BlogsEntry>
Throws:
Exception

doGetFeedEntries

protected Iterable<BlogsEntry> doGetFeedEntries(AtomRequestContext atomRequestContext)
                                         throws Exception
Specified by:
doGetFeedEntries in class BaseAtomCollectionAdapter<BlogsEntry>
Throws:
Exception

doPostEntry

protected BlogsEntry doPostEntry(String title,
                                 String summary,
                                 String content,
                                 Date date,
                                 AtomRequestContext atomRequestContext)
                          throws Exception
Overrides:
doPostEntry in class BaseAtomCollectionAdapter<BlogsEntry>
Throws:
Exception

doPutEntry

protected void doPutEntry(BlogsEntry blogsEntry,
                          String title,
                          String summary,
                          String content,
                          Date date,
                          AtomRequestContext atomRequestContext)
                   throws Exception
Overrides:
doPutEntry in class BaseAtomCollectionAdapter<BlogsEntry>
Throws:
Exception

Liferay 6.2-ce-ga5