|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.engine.core.PortalContextProviderImpl
public class PortalContextProviderImpl
Provide information about the calling portal.
Field Summary | |
---|---|
private String |
info
Portal information |
private Vector |
modes
supported portlet modes by this portal |
private org.apache.jetspeed.PortalContext |
portalContext
|
private String |
portalName
|
private String |
portalVersion
|
private Vector |
states
supported window states by this portal |
Constructor Summary | |
---|---|
PortalContextProviderImpl(org.apache.jetspeed.PortalContext portalContext)
|
Method Summary | |
---|---|
private Vector |
getDefaultModes()
|
private Vector |
getDefaultStates()
|
org.apache.jetspeed.PortalContext |
getPortalContext()
|
String |
getPortalInfo()
getPortalInfo |
String |
getProperty(String name)
getProperty |
Collection |
getPropertyNames()
getPropertyNames |
Collection |
getSupportedPortletModes()
getSupportedPortletModes |
Collection |
getSupportedWindowStates()
getSupportedWindowStates |
void |
reset(String portalInfo)
reset all values to default portlet modes and window states; delete all properties and set the given portlet information as portlet info string. |
void |
setProperty(String name,
String value)
|
void |
setSupportedPortletModes(Enumeration portletModes)
|
void |
setSupportedWindowStates(Enumeration windowStates)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final org.apache.jetspeed.PortalContext portalContext
private String info
private final String portalName
private final String portalVersion
private Vector modes
private Vector states
Constructor Detail |
---|
public PortalContextProviderImpl(org.apache.jetspeed.PortalContext portalContext)
Method Detail |
---|
public org.apache.jetspeed.PortalContext getPortalContext()
public String getPortalInfo()
getPortalInfo
getPortalInfo
in interface org.apache.pluto.services.information.PortalContextProvider
PortalContextProvider.getPortalInfo()
public String getProperty(String name)
getProperty
getProperty
in interface org.apache.pluto.services.information.PortalContextProvider
name
-
PortalContextProvider.getProperty(java.lang.String)
public Collection getPropertyNames()
getPropertyNames
getPropertyNames
in interface org.apache.pluto.services.information.PortalContextProvider
PortalContextProvider.getPropertyNames()
public Collection getSupportedPortletModes()
getSupportedPortletModes
getSupportedPortletModes
in interface org.apache.pluto.services.information.PortalContextProvider
PortalContextProvider.getSupportedPortletModes()
public Collection getSupportedWindowStates()
getSupportedWindowStates
getSupportedWindowStates
in interface org.apache.pluto.services.information.PortalContextProvider
PortalContextProvider.getSupportedWindowStates()
private Vector getDefaultModes()
private Vector getDefaultStates()
public void setProperty(String name, String value)
public void setSupportedPortletModes(Enumeration portletModes)
public void setSupportedWindowStates(Enumeration windowStates)
public void reset(String portalInfo)
- portalInfo
- portal information string that will be returned
by the getPortalInfo
call.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |