| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
org.apache.jetspeed.util.BaseConfig
org.apache.jetspeed.portal.BasePortletConfig
Defines a configuration for Portlets. A PortletConfig provides information about the running environment of a given Portlet.
| Constructor Summary | |
BasePortletConfig()
 | 
|
| Method Summary | |
 CapabilityMap | 
getCapabilityMap()
 | 
 PortletSet.Constraints | 
getConstraints()
Retrieves the constraints associated with this portlet  | 
 java.util.Map | 
getLayout()
Deprecated. use getConstraints instead  | 
 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)
Deprecated. use setConstraints instead  | 
 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 class org.apache.jetspeed.util.BaseConfig | 
addInitParameters, getInitParameter, getInitParameter, getInitParameterNames, getInitParameters, getName, setInitParameter, setInitParameters, setName | 
| Methods inherited from class java.util.Hashtable | 
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values | 
| Methods inherited from class java.lang.Object | 
finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface org.apache.jetspeed.util.Config | 
addInitParameters, getInitParameter, getInitParameter, getInitParameterNames, getInitParameters, getName, setInitParameter, setInitParameters, setName | 
| Constructor Detail | 
public BasePortletConfig()
| Method Detail | 
public void init(java.lang.String url,
                 java.util.Map init_params)
init in interface PortletConfigpublic PortletSet getPortletSet()
getPortletSet in interface PortletConfigpublic void setPortletSet(PortletSet set)
setPortletSet in interface PortletConfigpublic java.util.Map getLayout()
getLayout in interface PortletConfigpublic void setLayout(java.util.Map constraints)
setLayout in interface PortletConfigpublic java.util.Map getSkin()
getSkin in interface PortletConfigpublic void setSkin(java.util.Map skin)
setSkin in interface PortletConfigpublic int getPosition()
getPosition in interface PortletConfigpublic void setPosition(int position)
setPosition in interface PortletConfigpublic MetaData getMetainfo()
getMetainfo in interface PortletConfigpublic void setMetainfo(MetaData metainfo)
setMetainfo in interface PortletConfigpublic java.lang.String getURL()
getURL in interface PortletConfigpublic void setURL(java.lang.String url)
setURL in interface PortletConfigpublic boolean isCachedOnURL()
PortletConfig
isCachedOnURL in interface PortletConfigpublic void setCachedOnURL(boolean cached)
PortletConfig
setCachedOnURL in interface PortletConfig
public java.lang.String getLayout(java.lang.String name,
                                  java.lang.String defaultValue)
getLayout in interface PortletConfig
public java.lang.String getSkin(java.lang.String name,
                                java.lang.String defaultValue)
getSkin in interface PortletConfig
public void setSkin(java.lang.String name,
                    java.lang.String value)
setSkin in interface PortletConfigpublic PortletSkin getPortletSkin()
getPortletSkin in interface PortletConfigpublic void setPortletSkin(PortletSkin skin)
setPortletSkin in interface PortletConfigskin - the new skin to usepublic PortletSet.Constraints getConstraints()
getConstraints in interface PortletConfigpublic void setConstraints(PortletSet.Constraints constraints)
setConstraints in interface PortletConfigconstraints - the constrints object associated with this portlet
 in the current setpublic CapabilityMap getCapabilityMap()
getCapabilityMap in interface PortletConfigpublic void setCapabilityMap(CapabilityMap cm)
setCapabilityMap in interface PortletConfigpublic void setPageId(java.lang.String pageId)
setPageId in interface PortletConfigpublic java.lang.String getPageId()
getPageId in interface PortletConfigpublic void setPortletId(java.lang.String portletId)
setPortletId in interface PortletConfigpublic java.lang.String getPortletId()
getPortletId in interface PortletConfigpublic SecurityReference getSecurityRef()
getSecurityRef in interface PortletConfigpublic void setSecurityRef(SecurityReference securityRef)
setSecurityRef in interface PortletConfigsecurityRef - New value of property securityRef.
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||