@Deprecated public class MetaWeblogBlog extends Object implements Blog
| Modifier and Type | Class and Description |
|---|---|
class |
MetaWeblogBlog.EntryIterator
Deprecated.
Iterates over MetaWeblog API entries.
|
class |
MetaWeblogBlog.MetaWeblogBlogCollection
Deprecated.
MetaWeblog API impplementation of Blog.Collection
|
Blog.Collection| Modifier and Type | Method and Description |
|---|---|
List<BlogEntry.Category> |
getCategories()
Deprecated.
Returns list of available BlogEntry.Category in primary entries collection.
|
Blog.Collection |
getCollection(String token)
Deprecated.
Get collection by token.
|
List<Blog.Collection> |
getCollections()
Deprecated.
Gets listing of entry and resource collections available in the blog, including the primary
collections.
|
Iterator<BlogEntry> |
getEntries()
Deprecated.
Get iterator over entries in primary entries collection (the first collection that accepts
entries).
|
BlogEntry |
getEntry(String id)
Deprecated.
Get a single BlogEntry (or BlogResource) by token.
|
String |
getName()
Deprecated.
Name of this blog.
|
com.rometools.propono.blogclient.metaweblog.NoOpIterator<BlogEntry> |
getResources()
Deprecated.
Get entries in primary resources collection (the first collection that accepts anything other
than entries).
|
String |
getToken()
Deprecated.
Token can be used to fetch this blog again from getBlog() method.
|
BlogEntry |
newEntry()
Deprecated.
Create but do not save it to server new BlogEntry in primary entries collection (the first
collection found that accepts entries).
|
BlogResource |
newResource(String name,
String contentType,
byte[] bytes)
Deprecated.
Create but do not save it to server new BlogResource in primary resources collection (the
first collection found that accepts resources).
|
String |
toString()
Deprecated.
String representation of blog, returns the name.
|
public String getName()
public String getToken()
public String toString()
public BlogEntry newEntry()
public BlogEntry getEntry(String id) throws BlogClientException
getEntry in interface Blogid - Token from blog entry's getToken() method.BlogClientExceptionpublic Iterator<BlogEntry> getEntries() throws BlogClientException
getEntries in interface BlogBlogClientException - On failure or if there is no primary entries collection.public BlogResource newResource(String name, String contentType, byte[] bytes) throws BlogClientException
newResource in interface Blogname - Name of resource to be saved.contentType - MIME content type of resource data.bytes - Bytes of resource data.BlogClientException - On error or if there is no primary respurces collection.public com.rometools.propono.blogclient.metaweblog.NoOpIterator<BlogEntry> getResources() throws BlogClientException
getResources in interface BlogBlogClientException - On failure or if there is no primary resources collection.public List<BlogEntry.Category> getCategories() throws BlogClientException
getCategories in interface BlogBlogClientException - On error or if there is no primary entries collection.public List<Blog.Collection> getCollections() throws BlogClientException
getCollections in interface BlogBlogClientException - On error fetching collections.public Blog.Collection getCollection(String token) throws BlogClientException
getCollection in interface Blogtoken - Token from a collection's getToken() method.BlogClientException - On error fetching collection.Copyright © 2023. All rights reserved.