|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Role @Unstable public interface WikiDescriptorManager
Component to list and get wiki descriptors.
| Method Summary | |
|---|---|
boolean |
exists(String wikiId)
Check if a wiki corresponding to an Id exists. |
Collection<WikiDescriptor> |
getAll()
Get the list of all wikis (except the main one). |
WikiDescriptor |
getByAlias(String wikiAlias)
Get a wiki from one of its alias. |
WikiDescriptor |
getById(String wikiId)
Get a wiki from its Id. |
String |
getCurrentWikiId()
|
WikiDescriptor |
getMainWikiDescriptor()
|
String |
getMainWikiId()
|
void |
saveDescriptor(WikiDescriptor descriptor)
Save the given descriptor and all its property groups. |
| Method Detail |
|---|
Collection<WikiDescriptor> getAll()
throws WikiManagerException
WikiManagerException - if problems occur
WikiDescriptor getByAlias(String wikiAlias)
throws WikiManagerException
wikiAlias - Alias of the wiki to retrieve
WikiManagerException - if problems occur
WikiDescriptor getById(String wikiId)
throws WikiManagerException
wikiId - Id of the wiki to retrieve.
WikiManagerException - if problems occur
WikiDescriptor getMainWikiDescriptor()
throws WikiManagerException
WikiManagerException - if problems occurString getMainWikiId()
String getCurrentWikiId()
boolean exists(String wikiId)
throws WikiManagerException
wikiId - The id of the wiki to test.
WikiManagerException - if problems occur
void saveDescriptor(WikiDescriptor descriptor)
throws WikiManagerException
descriptor - descriptor to save
WikiManagerException - if problem occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||