Package | Description |
---|---|
org.xwiki.model.reference | |
org.xwiki.model.script |
Modifier and Type | Method and Description |
---|---|
WikiReference |
DocumentReference.getWikiReference() |
WikiReference |
PageReference.getWikiReference() |
WikiReference |
SpaceReference.getWikiReference() |
Modifier and Type | Method and Description |
---|---|
DocumentReference |
DocumentReference.setWikiReference(WikiReference wikiReference)
Create a new DocumentReference with passed wiki reference.
|
Constructor and Description |
---|
DocumentReference(LocalDocumentReference localDocumentReference,
WikiReference wikiReference)
Create a new Document reference from local document reference and wiki reference.
|
PageReference(LocalPageReference localPageReference,
WikiReference wikiReference)
Create a new page reference from local page reference and wiki reference.
|
PageReference(String pageName,
WikiReference parent)
Create a page reference based on a page name and a parent wiki reference.
|
SpaceReference(String spaceName,
WikiReference parent)
Create a space reference based on a space name and a parent wiki reference.
|
Modifier and Type | Method and Description |
---|---|
WikiReference |
ModelScriptService.createWikiReference(String wikiName)
Creates a
WikiReference from a string representing the wiki name. |
Modifier and Type | Method and Description |
---|---|
SpaceReference |
ModelScriptService.createSpaceReference(List<String> spaces,
WikiReference parent)
Creates a
SpaceReference from a list of string representing the space name and the name of its parents. |
SpaceReference |
ModelScriptService.createSpaceReference(String spaceName,
WikiReference parent)
Creates a
SpaceReference from a string representing the space name. |
Copyright © 2004–2021 XWiki. All rights reserved.