Package | Description |
---|---|
org.xwiki.model.reference | |
org.xwiki.model.script |
Modifier and Type | Method and Description |
---|---|
PageReference |
PageObjectReference.getPageReference() |
PageReference |
PageAttachmentReference.getPageReference() |
PageReference |
PageReference.replaceParent(EntityReference newParent) |
PageReference |
PageReference.replaceParent(EntityReference oldParent,
EntityReference newParent) |
PageReference |
PageReferenceResolver.resolve(T pageReferenceRepresentation,
Object... parameters) |
Constructor and Description |
---|
LocalPageReference(PageReference pageReference) |
PageAttachmentReference(String fileName,
PageReference parent)
Create a new attachment reference based on the attachment name and the parent page reference.
|
PageClassPropertyReference(String propertyName,
PageReference classReference)
Builds a property reference for the passed property in the passed object.
|
PageObjectReference(String objectName,
PageReference pageReference) |
PageReference(String pageName,
PageReference parent)
Create a page reference based on a page name and a parent page reference.
|
Modifier and Type | Method and Description |
---|---|
PageReference |
ModelScriptService.createPageReference(String wiki,
List<String> pages,
Locale locale)
Create a Page Reference from a passed wiki, list of page names, which can be empty strings or
null in
which case they are resolved using the resolver. |
PageReference |
ModelScriptService.createPageReference(String wiki,
List<String> pages,
Locale locale,
String hint)
Create a Page Reference from a passed wiki, list of pages names, which can be empty strings or null in which case
they are resolved against the Resolver having the hint passed as parameter.
|
PageReference |
ModelScriptService.createPageReference(String wiki,
String... pages)
Create a Page Reference from a passed wiki and pages names, which can be empty strings or
null in which
case they are resolved using the resolver. |
PageReference |
ModelScriptService.resolvePage(String stringRepresentation,
Object... parameters) |
PageReference |
ModelScriptService.resolvePage(String stringRepresentation,
String hint,
Object... parameters) |
Modifier and Type | Method and Description |
---|---|
PageAttachmentReference |
ModelScriptService.createPageAttachmentReference(PageReference pageReference,
String fileName)
Creates a
PageAttachmentReference from a file name and a reference to the page holding that file. |
Copyright © 2004–2021 XWiki. All rights reserved.