|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.index.StaticPageIndex
public class StaticPageIndex
Maintains an index of all static pages
Constructor Summary | |
---|---|
StaticPageIndex(Blog blog)
|
Method Summary | |
---|---|
void |
clear()
Clears the index. |
boolean |
contains(java.lang.String name)
Determines whether a page with the specified permalink exists. |
int |
getNumberOfStaticPages()
Gets the number of static pages. |
java.lang.String |
getStaticPage(java.lang.String name)
Gets the page ID for the specified named page. |
void |
index(java.util.List<StaticPage> staticPages)
Indexes one or more blog entries. |
void |
index(StaticPage staticPage)
Indexes a single page. |
void |
unindex(StaticPage staticPage)
Unindexes a single page. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaticPageIndex(Blog blog)
Method Detail |
---|
public void clear()
public void index(java.util.List<StaticPage> staticPages)
staticPages
- a List of Page instancespublic void index(StaticPage staticPage)
staticPage
- a Page instancepublic void unindex(StaticPage staticPage)
staticPage
- a Page instancepublic java.lang.String getStaticPage(java.lang.String name)
name
- a String
public boolean contains(java.lang.String name)
name
- the name as a String
public int getNumberOfStaticPages()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |