org.apache.abdera.protocol.server.provider.managed
Class ManagedCollectionAdapter
java.lang.Object
org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter
org.apache.abdera.protocol.server.provider.managed.ManagedCollectionAdapter
- All Implemented Interfaces:
- CollectionAdapter, CollectionInfo, MediaCollectionAdapter, Transactional
- Direct Known Subclasses:
- BasicAdapter, CouchDbAdapter, FilesystemAdapter
public abstract class ManagedCollectionAdapter
- extends AbstractCollectionAdapter
- implements CollectionAdapter
Methods inherited from class org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter |
asCollectionElement, buildCreateEntryResponse, buildGetEntryResponse, buildGetFeedResponse, buildHeadEntryResponse, buildPostMediaEntryResponse, compensate, createErrorResponse, createFeedBase, deleteMedia, end, extensionRequest, getAccepts, getCategories, getCategoriesInfo, getEntryFromRequest, getHref, getHref, getMedia, getResourceName, headEntry, headMedia, optionsEntry, optionsMedia, postMedia, putMedia, setHref, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
config
protected final FeedConfiguration config
abdera
protected final Abdera abdera
ManagedCollectionAdapter
protected ManagedCollectionAdapter(Abdera abdera,
FeedConfiguration config)
getAbdera
public Abdera getAbdera()
getConfiguration
public FeedConfiguration getConfiguration()
getAuthor
public String getAuthor(RequestContext request)
throws ResponseContextException
- Specified by:
getAuthor
in class AbstractCollectionAdapter
- Throws:
ResponseContextException
getId
public String getId(RequestContext request)
- Specified by:
getId
in class AbstractCollectionAdapter
getTitle
public String getTitle(RequestContext request)
- Description copied from interface:
CollectionInfo
- Get the value of the app:collection element's atom:title element. This assumes that the title will be
type="text". This must not be null;
- Specified by:
getTitle
in interface CollectionInfo
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.