C# Class XWiki.Model.Wiki

Afficher le fichier Open project: xwiki-contrib/xwiki-office Class Usage Examples

Méthodes publiques

Свойство Type Description
spaces List

Méthodes publiques

Méthode Description
AddSpaces ( IEnumerable _spaces ) : void

Adds a collection of spaces to the wiki.

AddSpaces ( IEnumerable _spaces ) : void

Adds a collection of spaces to the wiki.

ContainsSpace ( string spaceName ) : bool

Specifies if the wiki contains a given space.

GetAllDocuments ( ) : List

Gets all document instances in the wiki.

GetPageById ( String pageFullName ) : XWikiDocument

Gets the XWiki Document for a given id.

GetUnpublishedWikiStructure ( ) : Wiki

Gets the unplublished spaces and documents from wiki structure instance.

RemoveXWikiDocument ( XWikiDocument doc ) : void

Removes a XWikiDocument instance from the wiki structure. This has no effect on the server. It only affects the document list Word works with.

Wiki ( ) : System

Default constructor. Instantiates the spaces list.

this ( String spaceName ) : Space

Wiki indexer. Gets the instance of the specified space in the wiki.

Method Details

AddSpaces() public méthode

Adds a collection of spaces to the wiki.
public AddSpaces ( IEnumerable _spaces ) : void
_spaces IEnumerable
Résultat void

AddSpaces() public méthode

Adds a collection of spaces to the wiki.
public AddSpaces ( IEnumerable _spaces ) : void
_spaces IEnumerable
Résultat void

ContainsSpace() public méthode

Specifies if the wiki contains a given space.
public ContainsSpace ( string spaceName ) : bool
spaceName string The name of the searched space.
Résultat bool

GetAllDocuments() public méthode

Gets all document instances in the wiki.
public GetAllDocuments ( ) : List
Résultat List

GetPageById() public méthode

Gets the XWiki Document for a given id.
public GetPageById ( String pageFullName ) : XWikiDocument
pageFullName String The full name of the page.
Résultat XWikiDocument

GetUnpublishedWikiStructure() public méthode

Gets the unplublished spaces and documents from wiki structure instance.
public GetUnpublishedWikiStructure ( ) : Wiki
Résultat Wiki

RemoveXWikiDocument() public méthode

Removes a XWikiDocument instance from the wiki structure. This has no effect on the server. It only affects the document list Word works with.
public RemoveXWikiDocument ( XWikiDocument doc ) : void
doc XWikiDocument
Résultat void

Wiki() public méthode

Default constructor. Instantiates the spaces list.
public Wiki ( ) : System
Résultat System

this() public méthode

Wiki indexer. Gets the instance of the specified space in the wiki.
public this ( String spaceName ) : Space
spaceName String The name of the wiki space.
Résultat Space

Property Details

spaces public_oe property

A list with all spaces in the wiki.
public List spaces
Résultat List