|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.blojsom.plugin.fetcher.FetcherHelperPlugin.FetcherHelper
Fetcher helper is the actual class with methods for retrieving blog entries.
Constructor Summary | |
FetcherHelperPlugin.FetcherHelper(BlojsomFetcher fetcher,
BlogUser blog)
Create a new instance of the fetcher helper. |
Method Summary | |
BlogEntry[] |
fetchEntriesForCategory(java.lang.String categoryName,
int entriesLimit)
Fetch entries for a given category allowing for a limit on number of entries returned. |
BlogEntry[] |
fetchEntriesForFlavor(java.lang.String flavor,
int entriesLimit)
Fetch entries for a given flavor allowing for a limit on number of entries returned. |
BlogEntry |
fetchPermalink(java.lang.String categoryName,
java.lang.String permalink)
Fetch a specific entry. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FetcherHelperPlugin.FetcherHelper(BlojsomFetcher fetcher, BlogUser blog)
fetcher
- BlojsomFetcher
used to retrieve entriesblog
- BlogUser
informationMethod Detail |
public BlogEntry[] fetchEntriesForCategory(java.lang.String categoryName, int entriesLimit)
categoryName
- Category nameentriesLimit
- Limit on number of entries to return. Use -1 for all entries from category.
public BlogEntry[] fetchEntriesForFlavor(java.lang.String flavor, int entriesLimit)
flavor
- Flavor nameentriesLimit
- Limit on number of entries to return. Use -1 for all entries from category.
public BlogEntry fetchPermalink(java.lang.String categoryName, java.lang.String permalink)
categoryName
- Category namepermalink
- Permalink name of entry.
null
if no entry is found matching the criteria
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |