Package | Description |
---|---|
org.xwiki.model.reference | |
org.xwiki.model.script |
Modifier and Type | Method and Description |
---|---|
DocumentReference |
AttachmentReference.getDocumentReference() |
DocumentReference |
ObjectReference.getDocumentReference() |
DocumentReference |
DocumentReference.replaceParent(EntityReference newParent) |
DocumentReference |
DocumentReference.replaceParent(EntityReference oldParent,
EntityReference newParent) |
DocumentReference |
DocumentReferenceResolver.resolve(T documentReferenceRepresentation,
Object... parameters) |
DocumentReference |
DocumentReference.setWikiReference(WikiReference wikiReference)
Create a new DocumentReference with passed wiki reference.
|
DocumentReference |
DocumentReference.withoutLocale() |
Constructor and Description |
---|
AttachmentReference(String fileName,
DocumentReference parent)
Create a new attachment reference based on the attachment name and the parent document reference.
|
BlockReference(String blockName,
DocumentReference documentReference) |
ClassPropertyReference(String propertyName,
DocumentReference classReference)
Builds a property reference for the passed property in the passed object.
|
LocalDocumentReference(DocumentReference documentReference) |
ObjectReference(String objectName,
DocumentReference documentReference) |
Modifier and Type | Method and Description |
---|---|
DocumentReference |
ModelScriptService.createDocumentReference(DocumentReference reference,
Locale locale)
Create a new reference with the passed
Locale . |
DocumentReference |
ModelScriptService.createDocumentReference(String wiki,
List<String> spaces,
String page)
Create a Document Reference from a passed wiki, list of spaces and page names, which can be empty strings or
null in which case they are resolved using the resolver. |
DocumentReference |
ModelScriptService.createDocumentReference(String wiki,
List<String> spaces,
String page,
String hint)
Create a Document Reference from a passed wiki, list of spaces and page names, which can be empty strings or null
in which case they are resolved against the Resolver having the hint passed as parameter.
|
DocumentReference |
ModelScriptService.createDocumentReference(String pageName,
SpaceReference parent)
Creates a new
DocumentReference from a given page name and the reference of the parent space. |
DocumentReference |
ModelScriptService.createDocumentReference(String wiki,
String space,
String page)
Create a Document Reference from a passed wiki, space and page names, which can be empty strings or
null
in which case they are resolved using the resolver. |
DocumentReference |
ModelScriptService.createDocumentReference(String wiki,
String space,
String page,
String hint)
Create a Document Reference from a passed wiki, space and page names, which can be empty strings or null in which
case they are resolved against the Resolver having the hint passed as parameter.
|
DocumentReference |
ModelScriptService.resolveDocument(String stringRepresentation,
Object... parameters) |
DocumentReference |
ModelScriptService.resolveDocument(String stringRepresentation,
String hint,
Object... parameters) |
Modifier and Type | Method and Description |
---|---|
AttachmentReference |
ModelScriptService.createAttachmentReference(DocumentReference documentReference,
String fileName)
Creates an
AttachmentReference from a file name and a reference to the document holding that file. |
DocumentReference |
ModelScriptService.createDocumentReference(DocumentReference reference,
Locale locale)
Create a new reference with the passed
Locale . |
Copyright © 2004–2021 XWiki. All rights reserved.