@Deprecated public interface AtomHandler
To create your own Atom protocol implementation you must implement this interface and create a
concrete sub-class of com.rometools.rome.propono.atom.server.AtomHandlerFactory
which is
capable of instantiating it.
Modifier and Type | Method and Description |
---|---|
void |
deleteEntry(AtomRequest req)
Deprecated.
Delete entry specified by request.
|
AtomService |
getAtomService(AtomRequest req)
Deprecated.
Return
com.rometools.rome.propono.atom.common.AtomService object that contains the
com.rometools.rome.propono.atom.common.Workspace objects available to the currently
authenticated user and within those the
com.rometools.rome.propono.atom.common.Collection avalaible. |
String |
getAuthenticatedUsername()
Deprecated.
Get username of authenticated user.
|
Categories |
getCategories(AtomRequest req)
Deprecated.
Get categories, a list of Categories objects
|
Feed |
getCollection(AtomRequest req)
Deprecated.
Return collection or portion of collection specified by request.
|
Entry |
getEntry(AtomRequest req)
Deprecated.
Get entry specified by request.
|
AtomMediaResource |
getMediaResource(AtomRequest req)
Deprecated.
Get media resource specified by request.
|
boolean |
isAtomServiceURI(AtomRequest req)
Deprecated.
Return true if specified request represents URI of a Service Document.
|
boolean |
isCategoriesURI(AtomRequest req)
Deprecated.
Return true if specified request represents URI of a Categories Document.
|
boolean |
isCollectionURI(AtomRequest req)
Deprecated.
Return true if specified request represents URI of a collection.
|
boolean |
isEntryURI(AtomRequest req)
Deprecated.
Return true if specified request represents URI of an Atom entry.
|
boolean |
isMediaEditURI(AtomRequest req)
Deprecated.
Return true if specified patrequesthinfo represents media-edit URI.
|
Entry |
postEntry(AtomRequest req,
Entry entry)
Deprecated.
Store new entry in collection specified by request and return representation of entry as it
is stored on server.
|
Entry |
postMedia(AtomRequest req,
Entry entry)
Deprecated.
Store media data in collection specified by request, create an Atom media-link entry to store
metadata for the new media file and return that entry to the caller.
|
void |
putEntry(AtomRequest req,
Entry entry)
Deprecated.
Update entry specified by request and return new entry as represented on the server.
|
void |
putMedia(AtomRequest req)
Deprecated.
Update the media file part of a media-link entry.
|
String getAuthenticatedUsername()
AtomService getAtomService(AtomRequest req) throws AtomException
com.rometools.rome.propono.atom.common.AtomService
object that contains the
com.rometools.rome.propono.atom.common.Workspace
objects available to the currently
authenticated user and within those the
com.rometools.rome.propono.atom.common.Collection
avalaible.AtomException
Categories getCategories(AtomRequest req) throws AtomException
AtomException
Feed getCollection(AtomRequest req) throws AtomException
req
- Details of HTTP requestAtomException
Entry postEntry(AtomRequest req, Entry entry) throws AtomException
req
- Details of HTTP requestAtomException
Entry getEntry(AtomRequest req) throws AtomException
req
- Details of HTTP requestAtomException
AtomMediaResource getMediaResource(AtomRequest req) throws AtomException
req
- Details of HTTP requestAtomException
void putEntry(AtomRequest req, Entry entry) throws AtomException
req
- Details of HTTP requestAtomException
void deleteEntry(AtomRequest req) throws AtomException
req
- Details of HTTP requestAtomException
Entry postMedia(AtomRequest req, Entry entry) throws AtomException
req
- Details of HTTP requestentry
- New entry initialzied with only title and content typeAtomException
void putMedia(AtomRequest req) throws AtomException
req
- Details of HTTP requestAtomException
boolean isAtomServiceURI(AtomRequest req)
req
- Details of HTTP requestboolean isCategoriesURI(AtomRequest req)
req
- Details of HTTP requestboolean isCollectionURI(AtomRequest req)
req
- Details of HTTP requestboolean isEntryURI(AtomRequest req)
req
- Details of HTTP requestboolean isMediaEditURI(AtomRequest req)
req
- Details of HTTP requestCopyright © 2020. All rights reserved.