com.ibm.portal.portlet.service.model
Interface SkinListProvider

All Superinterfaces:
PortletService

public interface SkinListProvider
extends PortletService

An interface for a provider of skin lists.

PortletServiceHome psh;
javax.naming.Context ctx = new javax.naming.InitialContext();
boolean serviceAvailable = false;

try {
psh = (PortletServiceHome) ctx.lookup("portletservice/com.ibm.portal.portlet.service.model.SkinListProvider");
serviceAvailable = true;
} catch(javax.naming.NameNotFoundException ex) {
... error handling ...
}
...
if (serviceAvailable) {
SkinListProvider provider = (SkinListProvider) psh.getPortletService(SkinListProvider.class);
SkinList list = provider.getSkinList(aRequest, aResponse);
...
}

Since:
5.1.0.1

Method Summary
 SkinList<Skin> getAdminSkinList(javax.portlet.PortletRequest aRequest)
          Returns the portal skin list including the inactive skins.
 SkinList getSkinList(javax.portlet.PortletRequest aRequest)
          Returns the portal skin list.
 

Method Detail

getSkinList

SkinList getSkinList(javax.portlet.PortletRequest aRequest)
                     throws ModelException
Returns the portal skin list.

Parameters:
aRequest - the current request
Returns:
the skin list valid in the current request
Throws:
ModelException

getAdminSkinList

SkinList<Skin> getAdminSkinList(javax.portlet.PortletRequest aRequest)
                                throws ModelException
Returns the portal skin list including the inactive skins.

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