Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.localconfiguration.theme.negociation
Class LocalPerspective

java.lang.Object
  extended by org.nuxeo.ecm.platform.localconfiguration.theme.negociation.LocalPerspective
All Implemented Interfaces:
Scheme

public class LocalPerspective
extends Object
implements Scheme

Negotiation scheme for obtaining the local perspective from the current document.

Author:
Jean-Marc Orliaguet

Constructor Summary
LocalPerspective()
           
 
Method Summary
 String getOutcome(Object context)
          Called by the theme negotiation module.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalPerspective

public LocalPerspective()
Method Detail

getOutcome

public String getOutcome(Object context)
Called by the theme negotiation module.

Specified by:
getOutcome in interface Scheme
Returns:
the local theme associated to the current space (workspace, section, ...) as a 'theme/page' string. Return null otherwise.

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.