com.liferay.portlet.blogs.atom
Class BlogsEntryAtomCollectionAdapter
java.lang.Object
com.liferay.portal.kernel.atom.BaseAtomCollectionAdapter<BlogsEntry>
com.liferay.portlet.blogs.atom.BlogsEntryAtomCollectionAdapter
- All Implemented Interfaces:
- AtomCollectionAdapter<BlogsEntry>
public class BlogsEntryAtomCollectionAdapter
- extends BaseAtomCollectionAdapter<BlogsEntry>
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 |
BlogsEntryAtomCollectionAdapter
public BlogsEntryAtomCollectionAdapter()
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