Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.theme.negotiation
Class LocalPerspective

java.lang.Object
  extended by org.nuxeo.ecm.webapp.theme.negotiation.LocalPerspective
All Implemented Interfaces:
Scheme

public class LocalPerspective
extends java.lang.Object
implements Scheme

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

Author:
Jean-Marc Orliaguet

Constructor Summary
LocalPerspective()
           
 
Method Summary
 java.lang.String getOutcome(java.lang.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 java.lang.String getOutcome(java.lang.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 © 2010 Nuxeo SAS. All Rights Reserved.