org.olat.modules.wiki
Interface WikiContainer

All Known Implementing Classes:
Wiki

public interface WikiContainer

Description:
Conjuction between a wiki implementation and the wikiMarkupComponent. The component asks the wikiImpl wheather a page already exists or not to render the link appropriate.

Author:
guido
See Also:
for implementation details of the htmlToWiki component. or, for implementaition details of the whole wiki GUI and controller logic

Initial Date: Jun 21, 2006


Field Summary
static java.lang.String MEDIA_FOLDER_NAME
           
 
Method Summary
 java.lang.String generatePageId(java.lang.String pageName)
           
 boolean pageExists(java.lang.String string)
          pass the page name string to the wikiImpl so a lookup can be done
 

Field Detail

MEDIA_FOLDER_NAME

static final java.lang.String MEDIA_FOLDER_NAME
See Also:
Constant Field Values
Method Detail

pageExists

boolean pageExists(java.lang.String string)
pass the page name string to the wikiImpl so a lookup can be done

Parameters:
string -
Returns:
true if page exists

generatePageId

java.lang.String generatePageId(java.lang.String pageName)
Parameters:
pageName -
Returns:
an encoded base64 name which is save to use as unique filename.