C# Класс XWiki.Model.Wiki

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
spaces List

Открытые методы

Метод Описание
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.

Описание методов

AddSpaces() публичный Метод

Adds a collection of spaces to the wiki.
public AddSpaces ( IEnumerable _spaces ) : void
_spaces IEnumerable
Результат void

AddSpaces() публичный Метод

Adds a collection of spaces to the wiki.
public AddSpaces ( IEnumerable _spaces ) : void
_spaces IEnumerable
Результат void

ContainsSpace() публичный Метод

Specifies if the wiki contains a given space.
public ContainsSpace ( string spaceName ) : bool
spaceName string The name of the searched space.
Результат bool

GetAllDocuments() публичный Метод

Gets all document instances in the wiki.
public GetAllDocuments ( ) : List
Результат List

GetPageById() публичный Метод

Gets the XWiki Document for a given id.
public GetPageById ( String pageFullName ) : XWikiDocument
pageFullName String The full name of the page.
Результат XWikiDocument

GetUnpublishedWikiStructure() публичный Метод

Gets the unplublished spaces and documents from wiki structure instance.
public GetUnpublishedWikiStructure ( ) : Wiki
Результат Wiki

RemoveXWikiDocument() публичный Метод

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
Результат void

Wiki() публичный Метод

Default constructor. Instantiates the spaces list.
public Wiki ( ) : System
Результат System

this() публичный Метод

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.
Результат Space

Описание свойств

spaces публичное свойство

A list with all spaces in the wiki.
public List spaces
Результат List