lumis.portal.theme
Class ThemeUsageConfig

Package class diagram package ThemeUsageConfig
java.lang.Object
  extended by lumis.portal.theme.ThemeUsageConfig

public class ThemeUsageConfig
extends Object

Theme appliance configuration. This class represents a theme appliance of a given element. Does not consider re inherited themes.

Since:
7.0.0

Constructor Summary
ThemeUsageConfig(boolean inherited, List<String> appliedThemeIds)
          Creates a new instance with the given parameters.
 
Method Summary
 List<String> getAppliedThemeIds()
          Returns the (locally) applied themes identifiers.
 List<String> getAppliedThemeIdsForThemeResolving()
          Returns the (locally) applied themes identifiers for theme resolving.
 boolean isInherited()
          Returns whether this configuration is inheriting the applied themes or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeUsageConfig

public ThemeUsageConfig(boolean inherited,
                        List<String> appliedThemeIds)
Creates a new instance with the given parameters.

Parameters:
inherited - indicates whether this configuration is inherited or not.
appliedThemeIds - the (locally) applied themes.
Throws:
IllegalArgumentException - if inherited is true and appliedThemeIds is not empty.
Since:
7.0.0
Method Detail

getAppliedThemeIds

public List<String> getAppliedThemeIds()
Returns the (locally) applied themes identifiers.

Returns:
the (locally) applied themes identifiers.
Since:
7.0.0

getAppliedThemeIdsForThemeResolving

public List<String> getAppliedThemeIdsForThemeResolving()
Returns the (locally) applied themes identifiers for theme resolving. This method returns the same list returned by getAppliedThemeIds() but in a reversed order.

Returns:
the (locally) applied themes identifiers for theme resolving.
Since:
7.0.0

isInherited

public boolean isInherited()
Returns whether this configuration is inheriting the applied themes or not.

Returns:
whether this configuration is inheriting the applied themes or not.
Since:
7.0.0


Lumisportal  7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.