Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.atom
Class FolderAtomCollectionAdapter

java.lang.Object
  extended by com.liferay.portal.kernel.atom.BaseAtomCollectionAdapter<Folder>
      extended by com.liferay.portlet.documentlibrary.atom.FolderAtomCollectionAdapter
All Implemented Interfaces:
AtomCollectionAdapter<Folder>

public class FolderAtomCollectionAdapter
extends BaseAtomCollectionAdapter<Folder>


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
FolderAtomCollectionAdapter()
           
 
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
 

Constructor Detail

FolderAtomCollectionAdapter

public FolderAtomCollectionAdapter()
Method Detail

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

Liferay 6.1.2-ce-ga3