| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SkinModelLocator
A locator the can be provided by SkinList implementations. The locator is optionally implemented by a skin list.
Code example:
final SkinList list = ...; final Locator loc = list.getLocator(); if (loc instanceof SkinModelLocator) { final SkinModelLocator locator = (SkinModelLocator) loc; final Skin defaultSkin = locator.getDefaultForTheme(aTheme); }
Method Summary | |
---|---|
ListModel | com.ibm.portal.admin.Theme)">getAllInTheme(Theme aTheme)
Returns all skins that belong to the specified theme. |
ListModel | getAllInThemes(java.util.Iterator aThemes)
Returns all skins that belong to the specified themes. |
ListModel | com.ibm.portal.admin.SkinType)">getAllOfType(SkinType aType)
Deprecated. this method is deprecated without replacement Returns all skins that are of a certain skin type. |
Skin | com.ibm.portal.admin.Theme)">getDefaultForTheme(Theme aTheme)
Returns the default skin for the given theme. |
Methods inherited from interface com.ibm.portal.Locator |
---|
findByID, findByUniqueName |
Method Detail |
---|
ListModel getAllOfType(SkinType aType) throws ModelException, DataException
ListModel getAllInTheme(Theme aTheme) throws ModelException, DataException
ListModel getAllInThemes(java.util.Iterator aThemes) throws ModelException, DataException
Skin getDefaultForTheme(Theme aTheme) throws ModelException, DataException
null
if there is no default skin
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |