Uses of Class
org.xwiki.model.reference.DocumentReference
-
Packages that use DocumentReference Package Description org.xwiki.model.reference org.xwiki.model.script -
-
Uses of DocumentReference in org.xwiki.model.reference
Subclasses of DocumentReference in org.xwiki.model.reference Modifier and Type Class Description class
DocumentVersionReference
A reference to a document version.Methods in org.xwiki.model.reference that return DocumentReference Modifier and Type Method Description DocumentReference
AttachmentReference. getDocumentReference()
DocumentReference
ObjectReference. getDocumentReference()
DocumentReference
DocumentVersionReference. removeVersion()
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()
Constructors in org.xwiki.model.reference with parameters of type DocumentReference Constructor 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.DocumentVersionReference(DocumentReference documentReference)
Cast aDocumentReference
to aDocumentVersionReference
.DocumentVersionReference(DocumentReference documentReference, Serializable version)
Creates a new reference to the specified document version.LocalDocumentReference(DocumentReference documentReference)
ObjectReference(String objectName, DocumentReference documentReference)
-
Uses of DocumentReference in org.xwiki.model.script
Methods in org.xwiki.model.script that return DocumentReference Modifier and Type Method Description 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 ornull
in which case they are resolved using the "current" 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. 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 ornull
in which case they are resolved using the "current" 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 newDocumentReference
from a given page name and the reference of the parent space.DocumentReference
ModelScriptService. createDocumentReference(DocumentReference reference, Locale locale)
Create a new reference with the passedLocale
.DocumentReference
ModelScriptService. resolveDocument(String stringRepresentation, Object... parameters)
DocumentReference
ModelScriptService. resolveDocument(String stringRepresentation, String hint, Object... parameters)
Methods in org.xwiki.model.script with parameters of type DocumentReference Modifier and Type Method Description AttachmentReference
ModelScriptService. createAttachmentReference(DocumentReference documentReference, String fileName)
Creates anAttachmentReference
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 passedLocale
.
-