|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines a configuration for Portlets. A PortletConfig provides information about the running environment of a given Portlet.
Method Summary | |
CapabilityMap |
getCapabilityMap()
|
PortletSet.Constraints |
getConstraints()
Retrieves the constraints associated with this portlet |
java.util.Map |
getLayout()
Returns the portlet current PortletSet |
java.lang.String |
getLayout(java.lang.String name,
java.lang.String defaultValue)
Returns a parameter (or defaultValue) that was given to a Portlet. |
MetaData |
getMetainfo()
Returns this Portlet's Metainfo or null it none exists. |
java.lang.String |
getPageId()
|
java.lang.String |
getPortletId()
|
PortletSet |
getPortletSet()
Returns the portlet current PortletSet |
PortletSkin |
getPortletSkin()
Retrieves the Skin object that should be used for this portlet. |
int |
getPosition()
Returns the portlet current PortletSet |
SecurityReference |
getSecurityRef()
Getter for property securityRef. |
java.util.Map |
getSkin()
Returns the current skin mapping. |
java.lang.String |
getSkin(java.lang.String name,
java.lang.String defaultValue)
Returns a parameter (or defaultValue) that was given to a Portlet. |
java.lang.String |
getURL()
Portlets can have external configuration information other than just parameters. |
void |
init(java.lang.String url,
java.util.Map init_params)
Init this PortletConfig providing the basic info. |
boolean |
isCachedOnURL()
Determines whether to use the URL as part of the unique id to the portlet cache. |
void |
setCachedOnURL(boolean cached)
Determines whether to use the URL as part of the unique id to the portlet cache. |
void |
setCapabilityMap(CapabilityMap cm)
|
void |
setConstraints(PortletSet.Constraints constraints)
Sets the layout constraints in the current portlet set |
void |
setLayout(java.util.Map constraints)
Set the context (PortletSet) for this portlet |
void |
setMetainfo(MetaData metainfo)
Set the metainfo for the Portlet |
void |
setPageId(java.lang.String pageId)
|
void |
setPortletId(java.lang.String portletId)
|
void |
setPortletSet(PortletSet set)
Set the context (PortletSet) for this portlet |
void |
setPortletSkin(PortletSkin skin)
Sets the PortletSkin to use for this Portlet |
void |
setPosition(int position)
Set the context (PortletSet) for this portlet |
void |
setSecurityRef(SecurityReference securityRef)
Setter for property securityRef. |
void |
setSkin(java.util.Map skin)
Deprecated. use setPortletSkin instead |
void |
setSkin(java.lang.String name,
java.lang.String value)
Sets a skin parameter value in the local config |
void |
setURL(java.lang.String url)
Used to define a Portlet's URL. |
Methods inherited from interface org.apache.jetspeed.util.Config |
addInitParameters, getInitParameter, getInitParameter, getInitParameterNames, getInitParameters, getName, setInitParameter, setInitParameters, setName |
Method Detail |
public void init(java.lang.String url, java.util.Map init_params)
public PortletSet getPortletSet()
public void setPortletSet(PortletSet set)
public java.util.Map getLayout()
public void setLayout(java.util.Map constraints)
public java.util.Map getSkin()
public void setSkin(java.util.Map skin)
public int getPosition()
public void setPosition(int position)
public MetaData getMetainfo()
public void setMetainfo(MetaData metainfo)
public java.lang.String getURL()
public void setURL(java.lang.String url)
public boolean isCachedOnURL()
public void setCachedOnURL(boolean cached)
public java.lang.String getLayout(java.lang.String name, java.lang.String defaultValue)
public java.lang.String getSkin(java.lang.String name, java.lang.String defaultValue)
public void setSkin(java.lang.String name, java.lang.String value)
public PortletSkin getPortletSkin()
public void setPortletSkin(PortletSkin skin)
skin
- the new skin to usepublic PortletSet.Constraints getConstraints()
public void setConstraints(PortletSet.Constraints constraints)
constraints
- the constrints object associated with this portlet
in the current setpublic CapabilityMap getCapabilityMap()
public void setCapabilityMap(CapabilityMap cm)
public void setPortletId(java.lang.String portletId)
public java.lang.String getPortletId()
public void setPageId(java.lang.String pageId)
public java.lang.String getPageId()
public SecurityReference getSecurityRef()
public void setSecurityRef(SecurityReference securityRef)
securityRef
- New value of property securityRef.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |