com.ibm.portal.content
Interface ThemeSetter

All Superinterfaces:
Modifiable, ThemeProvider
All Known Subinterfaces:
ModifiableContentLabel, ModifiableContentPage, ModifiableStaticContentPage

public interface ThemeSetter
extends ThemeProvider, Modifiable

An interface representing a modifiable resource on which a theme can be set.

Since:
6.1.0

Method Summary
 boolean confirmSetTheme(Theme aTheme)
          Indicates if the specified theme may be set.
 Theme setTheme(Theme aTheme)
          Sets the theme.
 
Methods inherited from interface com.ibm.portal.content.ThemeProvider
getTheme
 

Method Detail

setTheme

Theme setTheme(Theme aTheme)
               throws CannotModifyPropertyException
Sets the theme.

Parameters:
aTheme - theme to set specify null for inheritance
Returns:
the former Theme; if none existed, null is returned
Throws:
CannotModifyPropertyException - in case the theme cannot be set

confirmSetTheme

boolean confirmSetTheme(Theme aTheme)
Indicates if the specified theme may be set.

Parameters:
aTheme - theme for which to indicate it may be set
Returns:
true in case the specified theme may be set, false otherwise