com.liferay.portlet.documentlibrary.atom
Class FolderAtomCollectionAdapter
java.lang.Object
com.liferay.portal.kernel.atom.BaseAtomCollectionAdapter<Folder>
com.liferay.portlet.documentlibrary.atom.FolderAtomCollectionAdapter
- All Implemented Interfaces:
- AtomCollectionAdapter<Folder>
public class FolderAtomCollectionAdapter
- extends BaseAtomCollectionAdapter<Folder>
Method Summary |
protected void |
doDeleteEntry(String resourceName,
AtomRequestContext atomRequestContext)
|
protected Folder |
doGetEntry(String resourceName,
AtomRequestContext atomRequestContext)
|
protected Iterable<Folder> |
doGetFeedEntries(AtomRequestContext atomRequestContext)
|
protected Folder |
doPostEntry(String title,
String summary,
String content,
Date date,
AtomRequestContext atomRequestContext)
|
protected void |
doPutEntry(Folder folder,
String title,
String summary,
String content,
Date date,
AtomRequestContext atomRequestContext)
|
String |
getCollectionName()
|
List<String> |
getEntryAuthors(Folder folder)
|
AtomEntryContent |
getEntryContent(Folder folder,
AtomRequestContext atomRequestContext)
|
String |
getEntryId(Folder folder)
|
String |
getEntrySummary(Folder folder)
|
String |
getEntryTitle(Folder folder)
|
Date |
getEntryUpdated(Folder folder)
|
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 |
FolderAtomCollectionAdapter
public FolderAtomCollectionAdapter()
getCollectionName
public String getCollectionName()
getEntryAuthors
public List<String> getEntryAuthors(Folder folder)
getEntryContent
public AtomEntryContent getEntryContent(Folder folder,
AtomRequestContext atomRequestContext)
getEntryId
public String getEntryId(Folder folder)
getEntrySummary
public String getEntrySummary(Folder folder)
getEntryTitle
public String getEntryTitle(Folder folder)
getEntryUpdated
public Date getEntryUpdated(Folder folder)
getFeedTitle
public String getFeedTitle(AtomRequestContext atomRequestContext)
doDeleteEntry
protected void doDeleteEntry(String resourceName,
AtomRequestContext atomRequestContext)
throws Exception
- Overrides:
doDeleteEntry
in class BaseAtomCollectionAdapter<Folder>
- Throws:
Exception
doGetEntry
protected Folder doGetEntry(String resourceName,
AtomRequestContext atomRequestContext)
throws Exception
- Specified by:
doGetEntry
in class BaseAtomCollectionAdapter<Folder>
- Throws:
Exception
doGetFeedEntries
protected Iterable<Folder> doGetFeedEntries(AtomRequestContext atomRequestContext)
throws Exception
- Specified by:
doGetFeedEntries
in class BaseAtomCollectionAdapter<Folder>
- Throws:
Exception
doPostEntry
protected Folder doPostEntry(String title,
String summary,
String content,
Date date,
AtomRequestContext atomRequestContext)
throws Exception
- Overrides:
doPostEntry
in class BaseAtomCollectionAdapter<Folder>
- Throws:
Exception
doPutEntry
protected void doPutEntry(Folder folder,
String title,
String summary,
String content,
Date date,
AtomRequestContext atomRequestContext)
throws Exception
- Overrides:
doPutEntry
in class BaseAtomCollectionAdapter<Folder>
- Throws:
Exception