|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pluto.driver.services.portal.PortletWindowConfig
public class PortletWindowConfig
Configuration of a portlet window on the portal page.
Constructor Summary | |
---|---|
PortletWindowConfig()
No-arg constructor. |
Method Summary | |
---|---|
static String |
createPortletId(String contextPath,
String portletName,
String metaInfo)
Creates the portlet ID from context path and portlet name. |
static PortletWindowConfig |
fromId(String portletWindowId)
|
String |
getContextPath()
|
String |
getId()
|
String |
getMetaInfo()
|
String |
getPortletName()
|
static String |
parseContextPath(String portletId)
Parses out the portlet context path from the portlet ID. |
static String |
parseMetaInfo(String portletId)
|
static String |
parsePortletName(String portletId)
Parses out the portlet context path from the portlet ID. |
void |
setContextPath(String contextPath)
|
void |
setMetaInfo(String metaInfo)
|
void |
setPortletName(String portletName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortletWindowConfig()
Method Detail |
---|
public String getId()
public String getContextPath()
public void setContextPath(String contextPath)
public String getPortletName()
public void setPortletName(String portletName)
public String getMetaInfo()
public void setMetaInfo(String metaInfo)
public static String createPortletId(String contextPath, String portletName, String metaInfo) throws NullPointerException, IllegalArgumentException
contextPath
- the portlet context path.portletName
- the portlet name.
IllegalArgumentException
- if the portletName has a dot
NullPointerException
- if the portlet Name or context path is null.public static String parseContextPath(String portletId)
portletId
- the portlet ID to parse.
public static String parsePortletName(String portletId)
portletId
- the portlet ID to parse.
public static String parseMetaInfo(String portletId)
public static PortletWindowConfig fromId(String portletWindowId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |