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 classDocumentVersionReferenceA reference to a document version.Methods in org.xwiki.model.reference that return DocumentReference Modifier and Type Method Description DocumentReferenceAttachmentReference. getDocumentReference()DocumentReferenceObjectReference. getDocumentReference()DocumentReferenceDocumentVersionReference. removeVersion()DocumentReferenceDocumentReference. replaceParent(EntityReference newParent)DocumentReferenceDocumentReference. replaceParent(EntityReference oldParent, EntityReference newParent)DocumentReferenceDocumentReferenceResolver. resolve(T documentReferenceRepresentation, Object... parameters)DocumentReferenceDocumentReference. setWikiReference(WikiReference wikiReference)Create a new DocumentReference with passed wiki reference.DocumentReferenceDocumentReference. 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 aDocumentReferenceto 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 DocumentReferenceModelScriptService. createDocumentReference(String wiki, String space, String page)Create a Document Reference from a passed wiki, space and page names, which can be empty strings ornullin which case they are resolved using the "current" resolver.DocumentReferenceModelScriptService. 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.DocumentReferenceModelScriptService. 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 ornullin which case they are resolved using the "current" resolver.DocumentReferenceModelScriptService. 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.DocumentReferenceModelScriptService. createDocumentReference(String pageName, SpaceReference parent)Creates a newDocumentReferencefrom a given page name and the reference of the parent space.DocumentReferenceModelScriptService. createDocumentReference(DocumentReference reference, Locale locale)Create a new reference with the passedLocale.DocumentReferenceModelScriptService. resolveDocument(String stringRepresentation, Object... parameters)DocumentReferenceModelScriptService. resolveDocument(String stringRepresentation, String hint, Object... parameters)Methods in org.xwiki.model.script with parameters of type DocumentReference Modifier and Type Method Description AttachmentReferenceModelScriptService. createAttachmentReference(DocumentReference documentReference, String fileName)Creates anAttachmentReferencefrom a file name and a reference to the document holding that file.DocumentReferenceModelScriptService. createDocumentReference(DocumentReference reference, Locale locale)Create a new reference with the passedLocale.
-