PREV CLASS
NEXT CLASS
|
|
SUMMARY: NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
com.ibm.portal.admin
Interface SkinListController<T extends Skin,M extends ModifiableSkin>
- Type Parameters:
- T - the type of read-only node the model exposes
- M - the type of modifiable node the model exposes
- All Superinterfaces:
- Committable, Controller, Disposable, Invalidatable, InvalidatableListModel<T>, ListModel<T>, ListModelController<T,M>, LocatorProvider<T>, ModelController<T,M>, SearchableListModel<T>, SkinList<T>
-
public interface SkinListController<T extends Skin,M extends ModifiableSkin>
- extends SkinList<T>, ListModelController<T,M>, Committable
A controller interface for the Skin interface.
For changing the default skin use ModifiableDecoration.setDefault()
- Since:
- 7.0
- See Also:
- ThemeListController
addSkinToTheme
boolean addSkinToTheme(Skin aSkin,
Theme aTheme)
throws CannotModifyPropertyException
- Add a existing Skin to a existing theme
- Parameters:
- aSkin - Skin which should be added.
- aTheme - Theme to that adding the skin
- Returns:
- true if adding operation is sucessful
false otherwise
- Throws:
- CannotModifyPropertyException
removeSkinFromTheme
boolean removeSkinFromTheme(Skin aSkin,
Theme aTheme)
throws CannotModifyPropertyException
- Remove a existing Skin from a existing theme.
- Parameters:
- aSkin - Skin which should be removed
- aTheme - Theme from which the skin should be removed
- Returns:
- true if removing operation is sucessful
false otherwise
- Throws:
- CannotModifyPropertyException
setDefaultSkinforTheme
ObjectID setDefaultSkinforTheme(Skin aSkin,
Theme aTheme)
throws CannotModifyPropertyException
- Set a Skin to default skin of a theme.
- Parameters:
- aSkin - Skin which is should be set default
- aTheme - Theme to which the skin should be set default
- Returns:
- ObjectID of the old default Skin;
null if a old default skin does not exists
- Throws:
- CannotModifyPropertyException
confirmAddSkinToTheme
boolean confirmAddSkinToTheme(Skin aSkin,
Theme aTheme)
- Indicates if the specfic Skin may be added to the theme
- Parameters:
- aSkin - Skin for which to indicate if it may be added.
- aTheme - Theme to that adding the skin
- Returns:
- true if the skin may be added.
false otherwise
confirmRemoveSkinFromTheme
boolean confirmRemoveSkinFromTheme(Skin aSkin,
Theme aTheme)
- Indicates if the specfic Skin may be remove from the theme.
- Parameters:
- aSkin - Skin for which to indicate if it may be removed.
- aTheme - Theme from which the skin should be removed
- Returns:
- true if the skin may be removed.
false otherwise
confirmSetDefaultSkinforTheme
boolean confirmSetDefaultSkinforTheme(Skin aSkin,
Theme aTheme)
- Indicates if the specfic Skin may be set as default in the theme.
- Parameters:
- aSkin - Skin for which to indicate if it may be set to default.
- aTheme - Theme to which the skin should be set default
- Returns:
- true if the skin may be set as default.
false otherwise
PREV CLASS
NEXT CLASS
|
|
SUMMARY: NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |