Package org.xwiki.model
Interface ModelContext
-
@Role public interface ModelContext
Allows accessing Model Objects for current objects (current document, current wiki, current space, etc) placed in the Execution Context.- Since:
- 2.2M1
- Version:
- $Id: 050ed16bbe0423f938efd3b710461e1a9f5a57ed $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityReference
getCurrentEntityReference()
void
setCurrentEntityReference(EntityReference entityReference)
-
-
-
Method Detail
-
getCurrentEntityReference
EntityReference getCurrentEntityReference()
- Returns:
- the reference to the current entity located in the Execution Context or null if there's none
-
setCurrentEntityReference
void setCurrentEntityReference(EntityReference entityReference)
- Parameters:
entityReference
- the reference to the current entity located in the Execution Context- Since:
- 2.4M2
-
-