|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.index.TagIndex
public class TagIndex
Represents the tag index for a blog.
Constructor Summary | |
---|---|
TagIndex(Blog blog)
|
Method Summary | |
---|---|
void |
clear()
Clears the index. |
java.util.List<java.lang.String> |
getRecentBlogEntries(Tag tag)
Gets the blog entries for a given tag. |
java.util.List<Tag> |
getTags()
Gets the list of tags associated with this blog. |
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 TagIndex(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<Tag> getTags()
public java.util.List<java.lang.String> getRecentBlogEntries(Tag tag)
tag
- a tag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |