|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SkinListProvider
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);
...
}
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 |
---|
SkinList getSkinList(javax.portlet.PortletRequest aRequest) throws ModelException
aRequest
- the current request
ModelException
SkinList<Skin> getAdminSkinList(javax.portlet.PortletRequest aRequest) throws ModelException
aRequest
- the current request
ModelException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |