|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.pebble.index.CategoryIndex
public class CategoryIndex
Represents the category index for a blog.
| Constructor Summary | |
|---|---|
CategoryIndex(Blog blog)
|
|
| Method Summary | |
|---|---|
void |
clear()
Clears the index. |
java.util.List<java.lang.String> |
getRecentBlogEntries(Category category)
Gets the the list of blog entries for a given category. |
void |
index(BlogEntry blogEntry)
Indexes a single blog entry. |
void |
index(java.util.List<BlogEntry> blogEntries)
Indexes one or more blog entries. |
void |
unindex(BlogEntry blogEntry)
Unindexes a single blog entry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CategoryIndex(Blog blog)
| Method Detail |
|---|
public void clear()
public void index(java.util.List<BlogEntry> blogEntries)
blogEntries - a List of BlogEntry instancespublic void index(BlogEntry blogEntry)
blogEntry - a BlogEntry instancepublic void unindex(BlogEntry blogEntry)
blogEntry - a BlogEntry instancepublic java.util.List<java.lang.String> getRecentBlogEntries(Category category)
category - a category
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||