|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocumentModelBridge
Exposes methods for accessing Documents. This is temporary until we remodel the Model classes and the Document services. The implementation is actually the XWikiDocument class, so this is just a light interface that hides the old xwiki-core.
| Method Summary | |
|---|---|
String |
getContent()
Retrieves the textual content of the document. |
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()
|
| Method Detail |
|---|
@Deprecated String getFullName()
getDocumentReference() instead
Space.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() instead
org.xwiki.rendering.syntax.Syntax getSyntax()
@Deprecated String getPageName()
getDocumentReference() instead
@Deprecated String getSpaceName()
getDocumentReference() instead
@Deprecated String getWikiName()
getDocumentReference() instead
String representation of the document's wiki name.String getTitle()
String getVersion()
org.xwiki.rendering.block.XDOM getXDOM()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||