Nuxeo Enterprise Platform 5.4

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

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

public class LocalTheme
extends java.lang.Object
implements Scheme

Negotiation scheme for obtaining the local theme from the current space.

Author:
Jean-Marc Orliaguet

Constructor Summary
LocalTheme()
           
 
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

LocalTheme

public LocalTheme()
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.