org.xwiki.model
Interface ModelContext


@ComponentRole
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$

Method Summary
 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


Copyright © 2004-2011 XWiki. All Rights Reserved.