Package | Description |
---|---|
org.xwiki.bridge |
Modifier and Type | Method and Description |
---|---|
DocumentModelBridge |
DocumentAccessBridge.getDocument(DocumentReference documentReference)
Deprecated.
deprecated since 10.2RC1, use
DocumentAccessBridge.getTranslatedDocumentInstance(DocumentReference) instead |
DocumentModelBridge |
DocumentAccessBridge.getDocument(String documentReference)
Deprecated.
|
default DocumentModelBridge |
DocumentAccessBridge.getDocumentInstance(DocumentReference documentReference)
Get the document object associated with the passed document.
|
default DocumentModelBridge |
DocumentAccessBridge.getDocumentInstance(EntityReference reference)
Get the document object associated with the passed reference.
|
DocumentModelBridge |
DocumentModelBridge.getOriginalDocument()
Retrieves a copy of the document before it was changed.
|
default DocumentModelBridge |
DocumentAccessBridge.getTranslatedDocumentInstance(DocumentModelBridge documentReference)
Get the document object associated with the passed document and context locale.
|
default DocumentModelBridge |
DocumentAccessBridge.getTranslatedDocumentInstance(DocumentReference documentReference)
Get the document object associated with the passed document name and context locale.
|
default DocumentModelBridge |
DocumentAccessBridge.getTranslatedDocumentInstance(EntityReference entityReference)
Get the document object associated with the passed entity reference and context locale.
|
Modifier and Type | Method and Description |
---|---|
default DocumentModelBridge |
DocumentAccessBridge.getTranslatedDocumentInstance(DocumentModelBridge documentReference)
Get the document object associated with the passed document and context locale.
|
default void |
DocumentAccessBridge.pushDocumentInContext(Map<String,Object> backupObjects,
DocumentModelBridge document)
Sets the passed document as the current document in the XWiki Context and saves current values related to the
current document into a backup object.
|
Copyright © 2004–2021 XWiki. All rights reserved.