public abstract class WikiContainer<T extends Wiki> extends Object
| Constructor and Description |
|---|
WikiContainer() |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
addWiki(String wikiOwner) |
T |
contains(String wikiOwner)
Checks if current WikiContainer contains the wiki with specified wiki owner
|
abstract T |
createWiki() |
Collection<T> |
getAllWikis() |
T |
getWiki(String wikiOwner,
boolean hasAdminPermission) |
protected abstract T |
getWikiObject(String wikiOwner,
boolean createIfNonExist)
Gets the wiki in current WikiContainer by specified wiki owner
|
abstract Collection<T> |
getWikis() |
WikiService |
getwService() |
void |
initDefaultPermisisonForWiki(Wiki wiki) |
void |
setwService(WikiService wService) |
protected String |
validateWikiOwner(String wikiOwner) |
public abstract Collection<T> getWikis()
public abstract T createWiki()
public WikiService getwService()
public void setwService(WikiService wService)
public Collection<T> getAllWikis()
public T contains(String wikiOwner)
wikiOwner - the wiki ownerprotected abstract T getWikiObject(String wikiOwner, boolean createIfNonExist)
wikiOwner - the wiki ownercreateIfNonExist - if true, create the wiki when it does not existpublic void initDefaultPermisisonForWiki(Wiki wiki)
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.