|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of read-only node the model exposesM
- the type of modifiable node the model exposespublic interface SkinListController<T extends Skin,M extends ModifiableSkin>
A controller interface for the Skin
interface.
For changing the default skin use ModifiableDecoration.setDefault()
ThemeListController
Method Summary | |
---|---|
boolean |
addSkinToTheme(Skin aSkin,
Theme aTheme)
Add a existing Skin to a existing theme |
boolean |
confirmAddSkinToTheme(Skin aSkin,
Theme aTheme)
Indicates if the specfic Skin may be added to the theme |
boolean |
confirmRemoveSkinFromTheme(Skin aSkin,
Theme aTheme)
Indicates if the specfic Skin may be remove from the theme. |
boolean |
confirmSetDefaultSkinforTheme(Skin aSkin,
Theme aTheme)
Indicates if the specfic Skin may be set as default in the theme. |
boolean |
removeSkinFromTheme(Skin aSkin,
Theme aTheme)
Remove a existing Skin from a existing theme. |
ObjectID |
setDefaultSkinforTheme(Skin aSkin,
Theme aTheme)
Set a Skin to default skin of a theme. |
Methods inherited from interface com.ibm.portal.admin.SkinList |
---|
getAllInTheme, getAllInThemes, getAllOfType, getDefault, getDefaultForTheme, getSkin, getTypes |
Methods inherited from interface com.ibm.portal.LocatorProvider |
---|
getLocator |
Methods inherited from interface com.ibm.portal.ListModel |
---|
iterator |
Methods inherited from interface com.ibm.portal.Invalidatable |
---|
invalidate, invalidate |
Methods inherited from interface com.ibm.portal.ListModelController |
---|
confirmDelete, confirmInsert, delete, insert |
Methods inherited from interface com.ibm.portal.ModelController |
---|
confirmCreate, confirmGetModifiableNode, create, getModifiableNode, resolve |
Methods inherited from interface com.ibm.portal.Committable |
---|
commit, dispose |
Method Detail |
---|
boolean addSkinToTheme(Skin aSkin, Theme aTheme) throws CannotModifyPropertyException
aSkin
- Skin which should be added.aTheme
- Theme to that adding the skin
true
if adding operation is sucessful
false
otherwise
CannotModifyPropertyException
boolean removeSkinFromTheme(Skin aSkin, Theme aTheme) throws CannotModifyPropertyException
aSkin
- Skin which should be removedaTheme
- Theme from which the skin should be removed
true
if removing operation is sucessful
false
otherwise
CannotModifyPropertyException
ObjectID setDefaultSkinforTheme(Skin aSkin, Theme aTheme) throws CannotModifyPropertyException
aSkin
- Skin which is should be set defaultaTheme
- Theme to which the skin should be set default
null
if a old default skin does not exists
CannotModifyPropertyException
boolean confirmAddSkinToTheme(Skin aSkin, Theme aTheme)
aSkin
- Skin for which to indicate if it may be added.aTheme
- Theme to that adding the skin
true
if the skin may be added.
false
otherwiseboolean confirmRemoveSkinFromTheme(Skin aSkin, Theme aTheme)
aSkin
- Skin for which to indicate if it may be removed.aTheme
- Theme from which the skin should be removed
true
if the skin may be removed.
false
otherwiseboolean confirmSetDefaultSkinforTheme(Skin aSkin, Theme aTheme)
aSkin
- Skin for which to indicate if it may be set to default.aTheme
- Theme to which the skin should be set default
true
if the skin may be set as default.
false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |