public abstract class BasicAdapter extends ManagedCollectionAdapter
| Modifier and Type | Field and Description |
|---|---|
static java.util.logging.Logger |
logger |
| Modifier and Type | Method and Description |
|---|---|
abstract Entry |
createEntry(Entry entry) |
abstract boolean |
deleteEntry(java.lang.Object entryId) |
ResponseContext |
deleteEntry(RequestContext request)
Delete an entry from the collection
|
ResponseContext |
extensionRequest(RequestContext request)
Any request that is not covered by the postEntry, deleteEntry, etc
methods will be passed on to the extensionRequest method.
|
ResponseContext |
getCategories(RequestContext request)
Get an Atompub Categories document
|
abstract Entry |
getEntry(java.lang.Object entryId) |
ResponseContext |
getEntry(RequestContext request)
Get an entry from the collection
|
abstract Feed |
getFeed() |
ResponseContext |
getFeed(RequestContext request)
Get the collections Atom feed document
|
java.lang.String |
getProperty(java.lang.String key) |
ResponseContext |
postEntry(RequestContext request)
Post a new entry to the collection
|
ResponseContext |
putEntry(RequestContext request)
Update an existing entry
|
abstract Entry |
updateEntry(java.lang.Object entryId,
Entry entry) |
getAbdera, getAuthor, getConfiguration, getId, getTitleasCollectionElement, compensate, deleteMedia, end, getAccepts, getCategoriesInfo, getHref, getHref, getMedia, headEntry, headMedia, optionsEntry, optionsMedia, postMedia, putMedia, setHref, startequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitheadEntry, optionsEntrypublic java.lang.String getProperty(java.lang.String key)
throws java.lang.Exception
java.lang.Exceptionpublic ResponseContext postEntry(RequestContext request)
CollectionAdapterpublic ResponseContext deleteEntry(RequestContext request)
CollectionAdapterpublic ResponseContext putEntry(RequestContext request)
CollectionAdapterpublic ResponseContext getEntry(RequestContext request)
CollectionAdapterpublic ResponseContext getFeed(RequestContext request)
CollectionAdapterpublic ResponseContext extensionRequest(RequestContext request)
CollectionAdapterextensionRequest in interface CollectionAdapterextensionRequest in class AbstractCollectionAdapterpublic ResponseContext getCategories(RequestContext request)
CollectionAdaptergetCategories in interface CollectionAdaptergetCategories in class AbstractCollectionAdapterpublic abstract Feed getFeed() throws java.lang.Exception
java.lang.Exceptionpublic abstract Entry getEntry(java.lang.Object entryId) throws java.lang.Exception
java.lang.Exceptionpublic abstract Entry createEntry(Entry entry) throws java.lang.Exception
java.lang.Exceptionpublic abstract Entry updateEntry(java.lang.Object entryId, Entry entry) throws java.lang.Exception
java.lang.Exceptionpublic abstract boolean deleteEntry(java.lang.Object entryId)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved