Package com.liferay.portlet.internal
Class PortletContextImpl
java.lang.Object
com.liferay.portlet.internal.PortletContextImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.portlet.LiferayPortletContext,javax.portlet.PortletContext
public class PortletContextImpl
extends Object
implements com.liferay.portal.kernel.portlet.LiferayPortletContext
- Author:
- Brian Wing Shun Chan, Brett Randall, Neil Griffin
-
Constructor Summary
ConstructorsConstructorDescriptionPortletContextImpl(com.liferay.portal.kernel.model.Portlet portlet, javax.servlet.ServletContext servletContext) -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String name) intintgetInitParameter(String name) intgetMimeType(String file) intjavax.portlet.PortletRequestDispatchergetNamedDispatcher(String name) com.liferay.portal.kernel.model.PortletgetRealPath(String path) javax.portlet.PortletRequestDispatchergetRequestDispatcher(String path) getResource(String path) getResourceAsStream(String path) getResourcePaths(String path) javax.servlet.ServletContextbooleanvoidvoidvoidremoveAttribute(String name) voidsetAttribute(String name, Object object)
-
Constructor Details
-
PortletContextImpl
public PortletContextImpl(com.liferay.portal.kernel.model.Portlet portlet, javax.servlet.ServletContext servletContext)
-
-
Method Details
-
getAttribute
- Specified by:
getAttributein interfacejavax.portlet.PortletContext
-
getAttributeNames
- Specified by:
getAttributeNamesin interfacejavax.portlet.PortletContext
-
getClassLoader
- Specified by:
getClassLoaderin interfacejavax.portlet.PortletContext
-
getContainerRuntimeOptions
- Specified by:
getContainerRuntimeOptionsin interfacejavax.portlet.PortletContext
-
getContextPath
- Specified by:
getContextPathin interfacejavax.portlet.PortletContext
-
getEffectiveMajorVersion
public int getEffectiveMajorVersion()- Specified by:
getEffectiveMajorVersionin interfacejavax.portlet.PortletContext
-
getEffectiveMinorVersion
public int getEffectiveMinorVersion()- Specified by:
getEffectiveMinorVersionin interfacejavax.portlet.PortletContext
-
getInitParameter
- Specified by:
getInitParameterin interfacejavax.portlet.PortletContext
-
getInitParameterNames
- Specified by:
getInitParameterNamesin interfacejavax.portlet.PortletContext
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfacejavax.portlet.PortletContext
-
getMimeType
- Specified by:
getMimeTypein interfacejavax.portlet.PortletContext
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin interfacejavax.portlet.PortletContext
-
getNamedDispatcher
- Specified by:
getNamedDispatcherin interfacejavax.portlet.PortletContext
-
getPortlet
public com.liferay.portal.kernel.model.Portlet getPortlet()- Specified by:
getPortletin interfacecom.liferay.portal.kernel.portlet.LiferayPortletContext
-
getPortletContextName
- Specified by:
getPortletContextNamein interfacejavax.portlet.PortletContext
-
getRealPath
- Specified by:
getRealPathin interfacejavax.portlet.PortletContext
-
getRequestDispatcher
- Specified by:
getRequestDispatcherin interfacejavax.portlet.PortletContext
-
getResource
- Specified by:
getResourcein interfacejavax.portlet.PortletContext- Throws:
MalformedURLException
-
getResourceAsStream
- Specified by:
getResourceAsStreamin interfacejavax.portlet.PortletContext
-
getResourcePaths
- Specified by:
getResourcePathsin interfacejavax.portlet.PortletContext
-
getServerInfo
- Specified by:
getServerInfoin interfacejavax.portlet.PortletContext
-
getServletContext
public javax.servlet.ServletContext getServletContext()- Specified by:
getServletContextin interfacecom.liferay.portal.kernel.portlet.LiferayPortletContext
-
isWARFile
public boolean isWARFile() -
log
- Specified by:
login interfacejavax.portlet.PortletContext
-
log
- Specified by:
login interfacejavax.portlet.PortletContext
-
removeAttribute
- Specified by:
removeAttributein interfacejavax.portlet.PortletContext
-
setAttribute
- Specified by:
setAttributein interfacejavax.portlet.PortletContext
-