@Role
public interface MandatoryDocumentInitializer
The role hint should be the local (or absolute if it's supposed to be used only for a specific wiki) reference of the document so that I can easily be found.
Modifier and Type | Method and Description |
---|---|
EntityReference |
getDocumentReference() |
boolean |
updateDocument(XWikiDocument document)
Update the provided document according to the need.
|
EntityReference getDocumentReference()
boolean updateDocument(XWikiDocument document)
document
- the existing document to updateCopyright © 2004–2014 XWiki. All rights reserved.