| java.lang.Object com.ecyrd.jspwiki.providers.VerySimpleProvider
VerySimpleProvider | public class VerySimpleProvider implements WikiPageProvider(Code) | | This is a simple provider that is used by some of the tests. It has some
specific behaviours, like it always contains a single page.
|
Field Summary | |
final public static String | AUTHOR The name of the page list. | final public static String | PAGENAME This provider has only a single page, when you ask
a list of all pages. | public String | m_latestReq The last request is stored here. | public int | m_latestVers The version number of the last request is stored here. |
AUTHOR | final public static String AUTHOR(Code) | | The name of the page list.
|
PAGENAME | final public static String PAGENAME(Code) | | This provider has only a single page, when you ask
a list of all pages.
|
m_latestReq | public String m_latestReq(Code) | | The last request is stored here.
|
m_latestVers | public int m_latestVers(Code) | | The version number of the last request is stored here.
|
deleteVersion | public void deleteVersion(String page, int version)(Code) | | |
getAllChangedSince | public Collection getAllChangedSince(Date date)(Code) | | Returns the same as getAllPages().
|
getPageCount | public int getPageCount()(Code) | | Always returns 1.
|
getPageInfo | public WikiPage getPageInfo(String page, int version)(Code) | | Returns always a valid WikiPage.
|
getPageText | public String getPageText(String page, int version)(Code) | | Stores the page and version into public fields of this class,
then returns an empty string.
|
getVersionHistory | public List getVersionHistory(String page)(Code) | | Always returns an empty list.
|
pageExists | public boolean pageExists(String page)(Code) | | Always returns true.
|
|
|