| org.apache.roller.webservices.atomprotocol.AtomHandler
All known Subclasses: org.apache.roller.webservices.atomprotocol.RollerAtomHandler,
AtomHandler | public interface AtomHandler (Code) | | Interface to be supported by an Atom server, expected lifetime: one request.
AtomServlet calls this generic interface instead of Roller specific APIs.
Based on: draft-ietf-atompub-protocol-08.txt + PaceMediaEntries5
Designed to be Roller independent.
|
deleteEntry | public void deleteEntry(String[] pathInfo) throws AtomException(Code) | | Delete entry specified by pathInfo.
Parameters: pathInfo - Path info portion of URL |
getAuthenticatedUsername | public String getAuthenticatedUsername()(Code) | | Get username of authenticated user
|
getCollection | public Feed getCollection(String[] pathInfo) throws AtomException(Code) | | Return collection
Parameters: pathInfo - Used to determine which collection and range |
getEntry | public Entry getEntry(String[] pathInfo) throws AtomException(Code) | | Get entry specified by pathInfo.
Parameters: pathInfo - Path info portion of URL |
isCollectionURI | public boolean isCollectionURI(String[] pathInfo)(Code) | | Return true if specified pathinfo represents URI of a collection.
|
isEntryURI | public boolean isEntryURI(String[] pathInfo)(Code) | | Return true if specified pathinfo represents URI of an Atom entry.
|
isIntrospectionURI | public boolean isIntrospectionURI(String[] pathInfo)(Code) | | Return true if specified pathinfo represents URI of introspection doc.
|
isMediaEditURI | public boolean isMediaEditURI(String[] pathInfo)(Code) | | Return true if specified pathinfo represents media-edit URI.
|
postEntry | public Entry postEntry(String[] pathInfo, Entry entry) throws AtomException(Code) | | Create a new entry specified by pathInfo and posted entry.
Parameters: pathInfo - Path info portion of URL |
postMedia | public Entry postMedia(String[] pathInfo, String title, String slug, String contentType, InputStream is) throws AtomException(Code) | | Create a new media-link entry.
Parameters: pathInfo - Path info portion of URL Parameters: contentType - MIME type of uploaded content Parameters: data - Binary data representing uploaded content |
putEntry | public Entry putEntry(String[] pathInfo, Entry entry) throws AtomException(Code) | | Update entry specified by pathInfo and posted entry.
Parameters: pathInfo - Path info portion of URL |
|
|