|
||||||||||
| 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 | |
|---|---|
java.lang.String |
getContent()
Retrieves the textual content of the document. |
DocumentName |
getDocumentName()
Deprecated. replaced by getDocumentReference() since 2.2M1 |
DocumentReference |
getDocumentReference()
|
java.lang.String |
getFullName()
Deprecated. use getDocumentReference() instead |
DocumentModelBridge |
getOriginalDocument()
Retrieves a copy of the document before it was changed. |
java.lang.String |
getPageName()
Deprecated. since 2.2M1 use getDocumentReference() instead |
java.lang.String |
getRealLanguage()
Retrieve the actual language of the document variant. |
java.lang.String |
getSpaceName()
Deprecated. since 2.2M1 use getDocumentReference() instead |
org.xwiki.rendering.syntax.Syntax |
getSyntax()
|
java.lang.String |
getSyntaxId()
Deprecated. since 3.0M1 use getSyntax() instead |
java.lang.String |
getTitle()
|
java.lang.String |
getVersion()
|
java.lang.String |
getWikiName()
Deprecated. since 2.2M1 use getDocumentReference() instead |
org.xwiki.rendering.block.XDOM |
getXDOM()
|
| Method Detail |
|---|
@Deprecated java.lang.String getFullName()
getDocumentReference() instead
Space.Name format, for example Main.WebHome.
String representation of the document's full name.DocumentReference getDocumentReference()
@Deprecated DocumentName getDocumentName()
getDocumentReference() since 2.2M1
java.lang.String getRealLanguage()
java.lang.String getContent()
DocumentModelBridge getOriginalDocument()
@Deprecated java.lang.String getSyntaxId()
getSyntax() instead
org.xwiki.rendering.syntax.Syntax getSyntax()
@Deprecated java.lang.String getPageName()
getDocumentReference() instead
@Deprecated java.lang.String getSpaceName()
getDocumentReference() instead
@Deprecated java.lang.String getWikiName()
getDocumentReference() instead
String representation of the document's wiki name.java.lang.String getTitle()
java.lang.String getVersion()
org.xwiki.rendering.block.XDOM getXDOM()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||