public interface DocumentModelBridge
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Retrieves the textual content of the document.
|
DocumentReference |
getContentAuthorReference() |
default Date |
getCreationDate() |
DocumentReference |
getDocumentReference() |
String |
getFullName()
Deprecated.
use
getDocumentReference() instead |
DocumentModelBridge |
getOriginalDocument()
Retrieves a copy of the document before it was changed.
|
String |
getPageName()
Deprecated.
since 2.2M1 use
getDocumentReference() instead |
String |
getRealLanguage()
Retrieve the actual language of the document variant.
|
String |
getSpaceName()
Deprecated.
since 2.2M1 use
getDocumentReference() instead |
org.xwiki.rendering.syntax.Syntax |
getSyntax() |
String |
getSyntaxId()
Deprecated.
since 3.0M1 use
getSyntax() instead |
String |
getTitle() |
String |
getVersion() |
String |
getWikiName()
Deprecated.
since 2.2M1 use
getDocumentReference() instead |
org.xwiki.rendering.block.XDOM |
getXDOM() |
default Boolean |
isHidden() |
@Deprecated String getFullName()
getDocumentReference()
insteadSpace.Name
format, for example Main.WebHome.String
representation of the document's full name.DocumentReference getDocumentReference()
String getRealLanguage()
String getContent()
DocumentModelBridge getOriginalDocument()
@Deprecated String getSyntaxId()
getSyntax()
insteadorg.xwiki.rendering.syntax.Syntax getSyntax()
@Deprecated String getPageName()
getDocumentReference()
instead@Deprecated String getSpaceName()
getDocumentReference()
insteadspace11
of space
space1
will return space1.space11
.@Deprecated String getWikiName()
getDocumentReference()
insteadString
representation of the document's wiki name.String getTitle()
String getVersion()
org.xwiki.rendering.block.XDOM getXDOM()
DocumentReference getContentAuthorReference()
@Unstable default Date getCreationDate()
@Unstable default Boolean isHidden()
true
if the document is hidden.Copyright © 2004–2021 XWiki. All rights reserved.