|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Role @Unstable public interface WikiManager
Component to create and manage wikis.
| Method Summary | |
|---|---|
WikiDescriptor |
copy(String fromWikiId,
String newWikiId,
String newWikiAlias,
boolean copyHistory,
boolean copyRecycleBin,
boolean failOnExist)
Copy a wiki. |
WikiDescriptor |
create(String wikiId,
String wikiAlias,
boolean failOnExist)
Create a new wiki. |
void |
delete(String wikiId)
Delete a wiki. |
boolean |
idAvailable(String wikiId)
Check if the wikiId is valid and available (the name is not already taken for technical reasons). |
WikiDescriptor |
rename(String wikiId,
String newWikiId)
Rename a wiki. |
| Method Detail |
|---|
WikiDescriptor create(String wikiId,
String wikiAlias,
boolean failOnExist)
throws WikiManagerException
wikiId - Id of the new wikiwikiAlias - Default alias of the new wikifailOnExist - throw an exception if the wikiId already exists
WikiManagerException - if problems occur
WikiDescriptor copy(String fromWikiId,
String newWikiId,
String newWikiAlias,
boolean copyHistory,
boolean copyRecycleBin,
boolean failOnExist)
throws WikiManagerException
fromWikiId - If of the wiki to copynewWikiId - Id of the new wikinewWikiAlias - Default alias of the new wikicopyHistory - decide if you want to copy the pages' historycopyRecycleBin - decide if you want to copy the recycle bin contentfailOnExist - throw an exception if the wikiId already exists
WikiManagerException - if problems occur
WikiDescriptor rename(String wikiId,
String newWikiId)
throws WikiManagerException
wikiId - If of the wiki to renamenewWikiId - new Id of the wiki
WikiManagerException - if problems occur
void delete(String wikiId)
throws WikiManagerException
wikiId - Id of the wiki to delete.
WikiManagerException - if problems occur
boolean idAvailable(String wikiId)
throws WikiManagerException
wikiId - the Id to test
WikiManagerException - if problems occur
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||