com.liferay.portlet.blogs.atom
Class BlogsEntryAtomCollectionAdapter

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

public class BlogsEntryAtomCollectionAdapter
extends com.liferay.portal.kernel.atom.BaseAtomCollectionAdapter<com.liferay.portlet.blogs.model.BlogsEntry>

Author:
Igor Spasic

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(java.lang.String resourceName, com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)
           
protected  com.liferay.portlet.blogs.model.BlogsEntry doGetEntry(java.lang.String resourceName, com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)
           
protected  java.lang.Iterable<com.liferay.portlet.blogs.model.BlogsEntry> doGetFeedEntries(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)
           
protected  com.liferay.portlet.blogs.model.BlogsEntry doPostEntry(java.lang.String title, java.lang.String summary, java.lang.String content, java.util.Date date, com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)
           
protected  void doPutEntry(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, java.lang.String title, java.lang.String summary, java.lang.String content, java.util.Date date, com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)
           
 java.lang.String getCollectionName()
           
 java.util.List<java.lang.String> getEntryAuthors(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
           
 com.liferay.portal.kernel.atom.AtomEntryContent getEntryContent(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)
           
 java.lang.String getEntryId(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
           
 java.lang.String getEntrySummary(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
           
 java.lang.String getEntryTitle(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
           
 java.util.Date getEntryUpdated(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
           
 java.lang.String getFeedTitle(com.liferay.portal.kernel.atom.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 java.lang.String getCollectionName()

getEntryAuthors

public java.util.List<java.lang.String> getEntryAuthors(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)

getEntryContent

public com.liferay.portal.kernel.atom.AtomEntryContent getEntryContent(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry,
                                                                       com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)

getEntryId

public java.lang.String getEntryId(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)

getEntrySummary

public java.lang.String getEntrySummary(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)

getEntryTitle

public java.lang.String getEntryTitle(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)

getEntryUpdated

public java.util.Date getEntryUpdated(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)

getFeedTitle

public java.lang.String getFeedTitle(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)

doDeleteEntry

protected void doDeleteEntry(java.lang.String resourceName,
                             com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)
                      throws java.lang.Exception
Overrides:
doDeleteEntry in class com.liferay.portal.kernel.atom.BaseAtomCollectionAdapter<com.liferay.portlet.blogs.model.BlogsEntry>
Throws:
java.lang.Exception

doGetEntry

protected com.liferay.portlet.blogs.model.BlogsEntry doGetEntry(java.lang.String resourceName,
                                                                com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)
                                                         throws java.lang.Exception
Specified by:
doGetEntry in class com.liferay.portal.kernel.atom.BaseAtomCollectionAdapter<com.liferay.portlet.blogs.model.BlogsEntry>
Throws:
java.lang.Exception

doGetFeedEntries

protected java.lang.Iterable<com.liferay.portlet.blogs.model.BlogsEntry> doGetFeedEntries(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)
                                                                                   throws java.lang.Exception
Specified by:
doGetFeedEntries in class com.liferay.portal.kernel.atom.BaseAtomCollectionAdapter<com.liferay.portlet.blogs.model.BlogsEntry>
Throws:
java.lang.Exception

doPostEntry

protected com.liferay.portlet.blogs.model.BlogsEntry doPostEntry(java.lang.String title,
                                                                 java.lang.String summary,
                                                                 java.lang.String content,
                                                                 java.util.Date date,
                                                                 com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)
                                                          throws java.lang.Exception
Overrides:
doPostEntry in class com.liferay.portal.kernel.atom.BaseAtomCollectionAdapter<com.liferay.portlet.blogs.model.BlogsEntry>
Throws:
java.lang.Exception

doPutEntry

protected void doPutEntry(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry,
                          java.lang.String title,
                          java.lang.String summary,
                          java.lang.String content,
                          java.util.Date date,
                          com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)
                   throws java.lang.Exception
Overrides:
doPutEntry in class com.liferay.portal.kernel.atom.BaseAtomCollectionAdapter<com.liferay.portlet.blogs.model.BlogsEntry>
Throws:
java.lang.Exception