|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.domain.Tag
net.sourceforge.pebble.index.IndexedTag
public class IndexedTag
Represents a tag.
Field Summary |
---|
Fields inherited from class net.sourceforge.pebble.domain.Tag |
---|
rank |
Constructor Summary | |
---|---|
IndexedTag(java.lang.String name,
Blog blog)
Creates a new tag with the specified properties. |
Method Summary | |
---|---|
void |
addBlogEntry(java.lang.String blogEntryId)
Adds a blog entry to this tag. |
java.util.List<java.lang.String> |
getBlogEntries()
Gets the blog entries associated with this tag. |
int |
getNumberOfBlogEntries()
Gets the number of blog entries associated with this tag. |
int |
getRank()
Gets the rank for this tag. |
void |
removeBlogEntry(java.lang.String blogEntryId)
Removes a blog entry to this tag. |
Methods inherited from class net.sourceforge.pebble.domain.Tag |
---|
compareTo, encode, equals, getName, getPermalink, hashCode, parse, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IndexedTag(java.lang.String name, Blog blog)
name
- the nameblog
- a Blog instanceMethod Detail |
---|
public java.util.List<java.lang.String> getBlogEntries()
public void addBlogEntry(java.lang.String blogEntryId)
blogEntryId
- a blog entry IDpublic void removeBlogEntry(java.lang.String blogEntryId)
blogEntryId
- a blog entry IDpublic int getNumberOfBlogEntries()
public int getRank()
getRank
in class Tag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |