org.exoplatform.wiki.mow.core.api.wiki
Class WikiImpl

java.lang.Object
  extended by org.exoplatform.wiki.mow.core.api.wiki.WikiImpl
All Implemented Interfaces:
Wiki
Direct Known Subclasses:
GroupWiki, PortalWiki, UserWiki

public abstract class WikiImpl
extends Object
implements Wiki

Version:
$Revision$

Constructor Summary
WikiImpl()
           
 
Method Summary
protected abstract  LinkRegistry createLinkRegistry()
           
protected abstract  Preferences createPreferences()
           
protected abstract  Trash createTrash()
           
protected abstract  WikiHome createWikiHome()
           
abstract  PageImpl createWikiPage()
           
abstract  boolean getDefaultPermissionsInited()
           
protected abstract  WikiHome getHome()
           
 LinkRegistry getLinkRegistry()
           
protected abstract  LinkRegistry getLinkRegistryByChromattic()
           
abstract  String getName()
          Wiki name
abstract  String getOwner()
          Name of the owner of this wiki.
 PageImpl getPageByID(String id)
          Get a Page by id
 PageImpl getPageByURI(String uri)
          Get a page by its URO
abstract  String getPath()
           
 Preferences getPreferences()
           
protected abstract  Preferences getPreferencesByChromattic()
           
 Trash getTrash()
           
protected abstract  Trash getTrashByChromattic()
           
abstract  String getType()
          Type of this wiki.
 WikiHome getWikiHome()
          Get the home page of the wiki
abstract  List<String> getWikiPermissions()
           
 WikiService getWikiService()
           
abstract  WikiType getWikiType()
           
 void initTemplate()
           
abstract  void setDefaultPermissionsInited(boolean isInited)
           
protected abstract  void setHome(WikiHome homePage)
           
protected abstract  void setLinkRegistryByChromattic(LinkRegistry linkRegistry)
           
abstract  void setOwner(String wikiOwner)
           
protected abstract  void setPreferencesByChromattic(Preferences preferences)
           
protected abstract  void setTrashByChromattic(Trash trash)
           
abstract  void setWikiPermissions(List<String> permissions)
           
 void setWikiService(WikiService wService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiImpl

public WikiImpl()
Method Detail

createWikiPage

public abstract PageImpl createWikiPage()

getWikiType

public abstract WikiType getWikiType()

getWikiService

public WikiService getWikiService()

setWikiService

public void setWikiService(WikiService wService)

initTemplate

public void initTemplate()

getWikiHome

public WikiHome getWikiHome()
Description copied from interface: Wiki
Get the home page of the wiki

Specified by:
getWikiHome in interface Wiki
Returns:

getLinkRegistry

public LinkRegistry getLinkRegistry()

getTrash

public Trash getTrash()

getPreferences

public Preferences getPreferences()
Specified by:
getPreferences in interface Wiki

getName

public abstract String getName()
Description copied from interface: Wiki
Wiki name

Specified by:
getName in interface Wiki
Returns:

getOwner

public abstract String getOwner()
Description copied from interface: Wiki
Name of the owner of this wiki. May be a portal name, a group name or a user name depending on the type of the wiki.

Specified by:
getOwner in interface Wiki
Returns:

setOwner

public abstract void setOwner(String wikiOwner)

getPath

public abstract String getPath()

getWikiPermissions

public abstract List<String> getWikiPermissions()
Specified by:
getWikiPermissions in interface Wiki
Returns:

setWikiPermissions

public abstract void setWikiPermissions(List<String> permissions)
Specified by:
setWikiPermissions in interface Wiki

getDefaultPermissionsInited

public abstract boolean getDefaultPermissionsInited()
Specified by:
getDefaultPermissionsInited in interface Wiki

setDefaultPermissionsInited

public abstract void setDefaultPermissionsInited(boolean isInited)
Specified by:
setDefaultPermissionsInited in interface Wiki

getPageByID

public PageImpl getPageByID(String id)
Description copied from interface: Wiki
Get a Page by id

Specified by:
getPageByID in interface Wiki
Returns:

getPageByURI

public PageImpl getPageByURI(String uri)
Description copied from interface: Wiki
Get a page by its URO

Specified by:
getPageByURI in interface Wiki
Returns:

getType

public abstract String getType()
Description copied from interface: Wiki
Type of this wiki. May be a portal type, a group type or a user type.

Specified by:
getType in interface Wiki
Returns:
type of wiki

getHome

protected abstract WikiHome getHome()

setHome

protected abstract void setHome(WikiHome homePage)

createWikiHome

protected abstract WikiHome createWikiHome()

getLinkRegistryByChromattic

protected abstract LinkRegistry getLinkRegistryByChromattic()

setLinkRegistryByChromattic

protected abstract void setLinkRegistryByChromattic(LinkRegistry linkRegistry)

createLinkRegistry

protected abstract LinkRegistry createLinkRegistry()

getTrashByChromattic

protected abstract Trash getTrashByChromattic()

setTrashByChromattic

protected abstract void setTrashByChromattic(Trash trash)

createTrash

protected abstract Trash createTrash()

getPreferencesByChromattic

protected abstract Preferences getPreferencesByChromattic()

setPreferencesByChromattic

protected abstract void setPreferencesByChromattic(Preferences preferences)

createPreferences

protected abstract Preferences createPreferences()


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.