com.ibm.portal.cor.service
Interface SkinListProvider


public interface SkinListProvider

An interface for a provider of skin lists. Context ctx = new InitialContext();
com.ibm.portal.cor.service.SkinListHome home = (com.ibm.portal.cor.service.SkinListHome) ctx.lookup(com.ibm.portal.cor.service.SkinListHome.JNDI_NAME);
if (home != null) {
SkinList list = home.getSkinListProvider().getSkinList();
...
}

Since:
6.1.0.1

Method Summary
 SkinList<Skin> getAdminSkinList(Context aCtx)
          Returns the portal skin list including the inactive skins.
<T extends java.lang.Object & Skin>
SkinList<T>
getSkinList(Context aCtx)
          Returns the skin list model applicable in the COR context request.
 

Method Detail

getSkinList

<T extends java.lang.Object & Skin> SkinList<T> getSkinList(Context aCtx)
                                                       throws ModelException
Returns the skin list model applicable in the COR context request.

Parameters:
aCtx - the COR context
Returns:
the skin list model valid in the current context
Throws:
ModelException - in case the model cannot be obtained

getAdminSkinList

SkinList<Skin> getAdminSkinList(Context aCtx)
                                throws ModelException
Returns the portal skin list including the inactive skins.

Parameters:
aCtx - the COR context
Returns:
the skin list valid in the current request
Throws:
ModelException
Since:
8.5 CF07