Class BasicAdapter
- java.lang.Object
-
- org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter
-
- org.apache.abdera.protocol.server.provider.managed.ManagedCollectionAdapter
-
- org.apache.abdera.protocol.server.provider.basic.BasicAdapter
-
- All Implemented Interfaces:
CollectionAdapter,CollectionInfo,MediaCollectionAdapter,Transactional
@Deprecated public abstract class BasicAdapter extends ManagedCollectionAdapter
Deprecated.Legacy AEM 6.x API.The BasicAdapter provides a simplistic interface for working with Atompub collections with a restricted set of options/features. The idea of the basic adapter is to make it easy to provide a minimally capable Atompub server
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract org.apache.abdera.model.EntrycreateEntry(org.apache.abdera.model.Entry entry)Deprecated.abstract booleandeleteEntry(Object entryId)Deprecated.ResponseContextdeleteEntry(RequestContext request)Deprecated.Delete an entry from the collectionResponseContextextensionRequest(RequestContext request)Deprecated.Any request that is not covered by the postEntry, deleteEntry, etc methods will be passed on to the extensionRequest method.ResponseContextgetCategories(RequestContext request)Deprecated.Get an Atompub Categories documentabstract org.apache.abdera.model.EntrygetEntry(Object entryId)Deprecated.ResponseContextgetEntry(RequestContext request)Deprecated.Get an entry from the collectionabstract org.apache.abdera.model.FeedgetFeed()Deprecated.ResponseContextgetFeed(RequestContext request)Deprecated.Get the collections Atom feed documentStringgetProperty(String key)Deprecated.ResponseContextpostEntry(RequestContext request)Deprecated.Post a new entry to the collectionResponseContextputEntry(RequestContext request)Deprecated.Update an existing entryabstract org.apache.abdera.model.EntryupdateEntry(Object entryId, org.apache.abdera.model.Entry entry)Deprecated.-
Methods inherited from class org.apache.abdera.protocol.server.provider.managed.ManagedCollectionAdapter
getAbdera, getAuthor, getConfiguration, getId, getTitle
-
Methods inherited from class org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter
asCollectionElement, compensate, deleteMedia, end, getAccepts, getCategoriesInfo, getHref, getHref, getMedia, headEntry, headMedia, optionsEntry, optionsMedia, postMedia, putMedia, setHref, start
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.abdera.protocol.server.CollectionAdapter
headEntry, optionsEntry
-
-
-
-
Field Detail
-
logger
public static Logger logger
Deprecated.
-
-
Method Detail
-
postEntry
public ResponseContext postEntry(RequestContext request)
Deprecated.Description copied from interface:CollectionAdapterPost a new entry to the collection
-
deleteEntry
public ResponseContext deleteEntry(RequestContext request)
Deprecated.Description copied from interface:CollectionAdapterDelete an entry from the collection
-
putEntry
public ResponseContext putEntry(RequestContext request)
Deprecated.Description copied from interface:CollectionAdapterUpdate an existing entry
-
getEntry
public ResponseContext getEntry(RequestContext request)
Deprecated.Description copied from interface:CollectionAdapterGet an entry from the collection
-
getFeed
public ResponseContext getFeed(RequestContext request)
Deprecated.Description copied from interface:CollectionAdapterGet the collections Atom feed document
-
extensionRequest
public ResponseContext extensionRequest(RequestContext request)
Deprecated.Description copied from interface:CollectionAdapterAny request that is not covered by the postEntry, deleteEntry, etc methods will be passed on to the extensionRequest method. This provides an Adapter with the ability to support Atompub protocol extensions.- Specified by:
extensionRequestin interfaceCollectionAdapter- Overrides:
extensionRequestin classAbstractCollectionAdapter
-
getCategories
public ResponseContext getCategories(RequestContext request)
Deprecated.Description copied from interface:CollectionAdapterGet an Atompub Categories document- Specified by:
getCategoriesin interfaceCollectionAdapter- Overrides:
getCategoriesin classAbstractCollectionAdapter
-
getFeed
public abstract org.apache.abdera.model.Feed getFeed() throws ExceptionDeprecated.- Throws:
Exception
-
getEntry
public abstract org.apache.abdera.model.Entry getEntry(Object entryId) throws Exception
Deprecated.- Throws:
Exception
-
createEntry
public abstract org.apache.abdera.model.Entry createEntry(org.apache.abdera.model.Entry entry) throws ExceptionDeprecated.- Throws:
Exception
-
updateEntry
public abstract org.apache.abdera.model.Entry updateEntry(Object entryId, org.apache.abdera.model.Entry entry) throws Exception
Deprecated.- Throws:
Exception
-
-