Depending on the Wiki type (portal, group or user); its pages, attachments and default syntax are stored
under a node with either of node types: "wiki:portalwiki", "
wiki:groupwiki"
or "wiki:userwiki" respectively.
Such a node has four child nodes:WikiHome, Preferences,
LinkRegistry,
and Trash. These node types have the super
type "wiki:wiki" that has the following properties:
| Properties name | Required type | Multiple | Description |
|---|---|---|---|
| ref | Reference | false | The reference to one of three following nodes: portalwikis, groupwikis
or userwikis. |
| owner | String | false | The name of the wiki. |
| wikiPermissions | String | true | The property consists of the permission information of the wiki. The permission string has the format:
VIEWPAGE,EDITPAGE,ADMINPAGE,ADMINSPACE:USER:john;
VIEWPAGE:GROUP:/platform/users; and
VIEWPAGE,EDITPAGE,ADMINPAGE,ADMINSPACE:MEMBERSHIP:manager:/platform/administrators
.
|
| isDefaultPermissionsInited | Boolean | true | Checks whether the default permission is applied to all the wiki tree or not. Its default value is "false". |
The WikiHome node stores the root page of a Wiki. It has the "exo:wikihome" node type
that has the super
wiki:page
type inherited from "nt:folder". The super type has the following properties:
| Properties name | Required type | Multiple | Description |
|---|---|---|---|
| owner | String | false | The creator of the page. |
| author | String | false | The last person who modifies the page. |
| createdDate | Date | false | The date when the page is created. |
| updatedDate | Date | false | The last date when the page is updated. |
| syntax | String | false | The Wiki syntax is used to write the page. |
| title | String | false | The title of the page. |
| comment | String | false | The comment explains what is modified in the page. |
| url | String | false | The URL to the page. |
| isOverridePermission | Boolean | false | Checks whether the default permission is overridden on the page or not. Its default value is "false". |
| exo:relation | Reference | true | The property consists of the UUIDs of the related pages. |
The nodes of the "wiki:page" type have a child node named "content
" and other child nodes including
attachments of the "wiki:attachment" type inherited from "nt:file".
The
wiki:attachment
node type has the
following properties:
| Properties name | Required type | Multiple | Description |
|---|---|---|---|
| title | String | false | The name of the attachment. |
| fileType | String | false | The type of the attachment. |
| creator | String | false | The creator of the attachment. |
Three mixin node types: "wiki:removed", "wiki:renamed" and "
wiki:watched" may be added to the
"wiki:page" node type.
The "wiki:removed" mixin node type has the following properties:
| Properties name | Required type | Multiple | Description |
|---|---|---|---|
| removedBy | String | false | The person who deleted the page. |
| removedDate | Date | false | The date when the page is deleted. |
| parentPath | String | false | The path to the parent page of the deleted page. |
The "wiki:renamed" mixin node type has the following properties:
| Properties name | Required type | Multiple | Description |
|---|---|---|---|
| oldPageIds | String | true | The old Ids of the renamed page. |
The "wiki:watched" mixin node type has the following properties:
| Properties name | Required type | Multiple | Description |
|---|---|---|---|
| watcher | String | false | The Id of the person who is watching the page. |
The "Preferences" node stores the default syntax and page templates of the Wiki. It has
the node type
"wiki:preferences" and two child nodes "PreferencesSyntax" and
"TemplateContainer".
The "PreferencesSyntax" node has the node type "
wiki:preferencessyntax" that has the following
properties:
| Properties name | Required type | Multiple | Description |
|---|---|---|---|
| defaultSyntax | String | false | The default Wiki syntax of each wiki. |
| allowMutipleSyntaxes | Boolean | false | Specifies whether multiple syntaxes are enabled or not. |
The "TemplateContainer" node stores the page templates. Its child node has the
"wiki:template" node type
inherited from the
wiki:page
node type. The "wiki:template" node type has the following properties:
| Properties name | Required type | Multiple | Description |
|---|---|---|---|
| description | String | false | The description of the template. |
The "LinkRegistry" node stores the entries to keep track of renaming or moving pages. Each link entry has
the "wiki:linkentry" node type that has the following properties:
| Properties name | Required type | Multiple | Description |
|---|---|---|---|
| alias | String | false | The Id of a page that is moved or renamed. Its format is "wikitype@wikiowner@page name". |
| newlink | Path | false | A new path to the wiki page that has been moved or renamed. |
The "Trash" node stores deleted pages.
The "Template Container" node stores the templates to create Wiki pages.