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 $
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
Copyright © 2004-2013 XWiki. All Rights Reserved.