Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.theme.styling.service
Interface ThemeStylingService

All Known Implementing Classes:
ThemeStylingServiceImpl

public interface ThemeStylingService

Service handling the mapping between a theme page and its resources (styling and flavors)

Registers corresponding contributions to the ThemeService so that styling of the page is handled as if styling was provided by the theme definition. Also handles related flavors as theme collections.

Since:
5.4.3

Nested Class Summary
static class ThemeStylingService.PRESET_CATEGORY
           
 
Field Summary
static String FLAVOR_MARKER
           
static String PAGE_STYLE_CLASS_NAME_PREFIX
           
static String PAGE_STYLE_NAME_SUFFIX
           
 
Method Summary
 String getDefaultFlavor(String themePage)
          Returns the default flavor for a given theme page
 void themeRegistered(String themeName)
          Hook to notify the service that a theme has been registered
 

Field Detail

FLAVOR_MARKER

static final String FLAVOR_MARKER
See Also:
Constant Field Values

PAGE_STYLE_CLASS_NAME_PREFIX

static final String PAGE_STYLE_CLASS_NAME_PREFIX
See Also:
Constant Field Values

PAGE_STYLE_NAME_SUFFIX

static final String PAGE_STYLE_NAME_SUFFIX
See Also:
Constant Field Values
Method Detail

getDefaultFlavor

String getDefaultFlavor(String themePage)
Returns the default flavor for a given theme page


themeRegistered

void themeRegistered(String themeName)
Hook to notify the service that a theme has been registered

Parameters:
themeName -

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.