Portlet API (V1.0)
A B C D E F G H I J L M N P R S T U V W

A

ActionRequest - interface javax.portlet.ActionRequest.
The ActionRequest represents the request sent to the portlet to handle an action.
ActionResponse - interface javax.portlet.ActionResponse.
The ActionResponse interface represents the portlet response to an action request.
addProperty(String, String) - Method in interface javax.portlet.PortletResponse
Adds a String property to an existing key to be returned to the portal.
APPLICATION_SCOPE - Static variable in interface javax.portlet.PortletSession
This constant defines an application wide scope for the session attribute.

B

BASIC_AUTH - Static variable in interface javax.portlet.PortletRequest
String identifier for Basic authentication.

C

CLIENT_CERT_AUTH - Static variable in interface javax.portlet.PortletRequest
String identifier for Certification based authentication.
createActionURL() - Method in interface javax.portlet.RenderResponse
Creates a portlet URL targeting the portlet.
createRenderURL() - Method in interface javax.portlet.RenderResponse
Creates a portlet URL targeting the portlet.

D

decodeAttributeName(String) - Static method in class javax.portlet.PortletSessionUtil
Returns the attribute name of an attribute in the PORTLET_SCOPE.
decodeScope(String) - Static method in class javax.portlet.PortletSessionUtil
Returns the portlet attribute scope from an encoded portlet attribute.
destroy() - Method in interface javax.portlet.Portlet
Called by the portlet container to indicate to a portlet that the portlet is being taken out of service.
destroy() - Method in class javax.portlet.GenericPortlet
Called by the portlet container to indicate to a portlet that the portlet is being taken out of service.
DIGEST_AUTH - Static variable in interface javax.portlet.PortletRequest
String identifier for Digest based authentication.
doDispatch(RenderRequest, RenderResponse) - Method in class javax.portlet.GenericPortlet
The default implementation of this method routes the render request to a set of helper methods depending on the current portlet mode the portlet is currently in.
doEdit(RenderRequest, RenderResponse) - Method in class javax.portlet.GenericPortlet
Helper method to serve up the edit mode.
doHelp(RenderRequest, RenderResponse) - Method in class javax.portlet.GenericPortlet
Helper method to serve up the help mode.
doView(RenderRequest, RenderResponse) - Method in class javax.portlet.GenericPortlet
Helper method to serve up the mandatory view mode.

E

EDIT - Static variable in class javax.portlet.PortletMode
Within the EDIT portlet mode, a portlet should provide content and logic that lets a user customize the behavior of the portlet.
encodeURL(String) - Method in interface javax.portlet.PortletResponse
Returns the encoded URL of the resource, like servlets, JSPs, images and other static files, at the given path.
equals(Object) - Method in class javax.portlet.WindowState
Compares the specified object with this window state for equality.
equals(Object) - Method in class javax.portlet.PortletMode
Compares the specified object with this portlet mode for equality.
EXPIRATION_CACHE - Static variable in interface javax.portlet.RenderResponse
Property to set the expiration time in seconds for this response using the setProperty method.

F

flushBuffer() - Method in interface javax.portlet.RenderResponse
Forces any content in the buffer to be written to the client.
FORM_AUTH - Static variable in interface javax.portlet.PortletRequest
String identifier for Form based authentication.

G

GenericPortlet - class javax.portlet.GenericPortlet.
The GenericPortlet class provides a default implementation for the Portlet interface.
GenericPortlet() - Constructor for class javax.portlet.GenericPortlet
Does nothing.
getAttribute(String) - Method in interface javax.portlet.PortletRequest
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
getAttribute(String) - Method in interface javax.portlet.PortletSession
Returns the object bound with the specified name in this session under the PORTLET_SCOPE, or null if no object is bound under the name in that scope.
getAttribute(String) - Method in interface javax.portlet.PortletContext
Returns the portlet container attribute with the given name, or null if there is no attribute by that name.
getAttribute(String, int) - Method in interface javax.portlet.PortletSession
Returns the object bound with the specified name in this session, or null if no object is bound under the name in the given scope.
getAttributeNames() - Method in interface javax.portlet.PortletRequest
Returns an Enumeration containing the names of the attributes available to this request.
getAttributeNames() - Method in interface javax.portlet.PortletSession
Returns an Enumeration of String objects containing the names of all the objects bound to this session under the PORTLET_SCOPE, or an empty Enumeration if no attributes are available.
getAttributeNames() - Method in interface javax.portlet.PortletContext
Returns an Enumeration containing the attribute names available within this portlet context, or an emtpy Enumeration if no attributes are available.
getAttributeNames(int) - Method in interface javax.portlet.PortletSession
Returns an Enumeration of String objects containing the names of all the objects bound to this session in the given scope, or an empty Enumeration if no attributes are available in the given scope.
getAuthType() - Method in interface javax.portlet.PortletRequest
Returns the name of the authentication scheme used for the connection between client and portal, for example, BASIC_AUTH, CLIENT_CERT_AUTH, a custom one or null if there was no authentication.
getBufferSize() - Method in interface javax.portlet.RenderResponse
Returns the actual buffer size used for the response.
getCause() - Method in class javax.portlet.PortletException
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
getCharacterEncoding() - Method in interface javax.portlet.RenderResponse
Returns the name of the charset used for the MIME body sent in this response.
getCharacterEncoding() - Method in interface javax.portlet.ActionRequest
Returns the name of the character encoding used in the body of this request.
getContentLength() - Method in interface javax.portlet.ActionRequest
Returns the length, in bytes, of the request body which is made available by the input stream, or -1 if the length is not known.
getContentType() - Method in interface javax.portlet.RenderResponse
Returns the MIME type that can be used to contribute markup to the render response.
getContentType() - Method in interface javax.portlet.ActionRequest
Returns the MIME type of the body of the request, or null if the type is not known.
getContextPath() - Method in interface javax.portlet.PortletRequest
Returns the context path which is the path prefix associated with the deployed portlet application.
getCreationTime() - Method in interface javax.portlet.PortletSession
Returns the time when this session was created, measured in milliseconds since midnight January 1, 1970 GMT.
getFailedKeys() - Method in class javax.portlet.ValidatorException
Returns the keys that failed the validation.
getId() - Method in interface javax.portlet.PortletSession
Returns a string containing the unique identifier assigned to this session.
getInitParameter(String) - Method in class javax.portlet.GenericPortlet
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
getInitParameter(String) - Method in interface javax.portlet.PortletConfig
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
getInitParameter(String) - Method in interface javax.portlet.PortletContext
Returns a String containing the value of the named context-wide initialization parameter, or null if the parameter does not exist.
getInitParameterNames() - Method in class javax.portlet.GenericPortlet
Returns the names of the portlet initialization parameters as an Enumeration of String objects, or an empty Enumeration if the portlet has no initialization parameters.
getInitParameterNames() - Method in interface javax.portlet.PortletConfig
Returns the names of the portlet initialization parameters as an Enumeration of String objects, or an empty Enumeration if the portlet has no initialization parameters.
getInitParameterNames() - Method in interface javax.portlet.PortletContext
Returns the names of the context initialization parameters as an Enumeration of String objects, or an empty Enumeration if the context has no initialization parameters.
getLastAccessedTime() - Method in interface javax.portlet.PortletSession
Returns the last time the client sent a request associated with this session, as the number of milliseconds since midnight January 1, 1970 GMT.
getLocale() - Method in interface javax.portlet.PortletRequest
Returns the preferred Locale in which the portal will accept content.
getLocale() - Method in interface javax.portlet.RenderResponse
Returns the locale assigned to the response.
getLocales() - Method in interface javax.portlet.PortletRequest
Returns an Enumeration of Locale objects indicating, in decreasing order starting with the preferred locale in which the portal will accept content for this request.
getMajorVersion() - Method in interface javax.portlet.PortletContext
Returns the major version of the Portlet API that this portlet container supports.
getMap() - Method in interface javax.portlet.PortletPreferences
Returns a Map of the preferences.
getMaxInactiveInterval() - Method in interface javax.portlet.PortletSession
Returns the maximum time interval, in seconds, for which the portlet container keeps this session open between client accesses.
getMimeType(String) - Method in interface javax.portlet.PortletContext
Returns the MIME type of the specified file, or null if the MIME type is not known.
getMinorVersion() - Method in interface javax.portlet.PortletContext
Returns the minor version of the Portlet API that this portlet container supports.
getMode() - Method in class javax.portlet.PortletModeException
Returns the unsupported portlet mode causing this exception.
getNamedDispatcher(String) - Method in interface javax.portlet.PortletContext
Returns a PortletRequestDispatcher object that acts as a wrapper for the named servlet.
getNames() - Method in interface javax.portlet.PortletPreferences
Returns all of the keys that have an associated value, or an empty Enumeration if no keys are available.
getNamespace() - Method in interface javax.portlet.RenderResponse
The value returned by this method should be prefixed or appended to elements, such as JavaScript variables or function names, to ensure they are unique in the context of the portal page.
getParameter(String) - Method in interface javax.portlet.PortletRequest
Returns the value of a request parameter as a String, or null if the parameter does not exist.
getParameterMap() - Method in interface javax.portlet.PortletRequest
Returns a Map of the parameters of this request.
getParameterNames() - Method in interface javax.portlet.PortletRequest
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
getParameterValues(String) - Method in interface javax.portlet.PortletRequest
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.
getPortalContext() - Method in interface javax.portlet.PortletRequest
Returns the context of the calling portal.
getPortalInfo() - Method in interface javax.portlet.PortalContext
Returns information about the portal like vendor, version, etc.
getPortletConfig() - Method in class javax.portlet.GenericPortlet
Returns the PortletConfig object of this portlet.
getPortletContext() - Method in interface javax.portlet.PortletSession
Returns the portlet application context associated with this session.
getPortletContext() - Method in class javax.portlet.GenericPortlet
Returns the PortletContext of the portlet application the portlet is in.
getPortletContext() - Method in interface javax.portlet.PortletConfig
Returns the PortletContext of the portlet application the portlet is in.
getPortletContextName() - Method in interface javax.portlet.PortletContext
Returns the name of this portlet application correponding to this PortletContext as specified in the web.xml deployment descriptor for this web application by the display-name element.
getPortletInputStream() - Method in interface javax.portlet.ActionRequest
Retrieves the body of the HTTP request from client to portal as binary data using an InputStream.
getPortletMode() - Method in interface javax.portlet.PortletRequest
Returns the current portlet mode of the portlet.
getPortletName() - Method in class javax.portlet.GenericPortlet
Returns the name of this portlet.
getPortletName() - Method in interface javax.portlet.PortletConfig
Returns the name of the portlet.
getPortletOutputStream() - Method in interface javax.portlet.RenderResponse
Returns a OutputStream suitable for writing binary data in the response.
getPortletSession() - Method in interface javax.portlet.PortletRequest
Returns the current portlet session or, if there is no current session, creates one and returns the new session.
getPortletSession(boolean) - Method in interface javax.portlet.PortletRequest
Returns the current portlet session or, if there is no current session and the given flag is true, creates one and returns the new session.
getPreferences() - Method in interface javax.portlet.PortletRequest
Returns the preferences object associated with the portlet.
getProperties(String) - Method in interface javax.portlet.PortletRequest
Returns all the values of the specified request property as a Enumeration of String objects.
getProperty(String) - Method in interface javax.portlet.PortletRequest
Returns the value of the specified request property as a String.
getProperty(String) - Method in interface javax.portlet.PortalContext
Returns the portal property with the given name, or a null if there is no property by that name.
getPropertyNames() - Method in interface javax.portlet.PortletRequest
Returns a Enumeration of all the property names this request contains.
getPropertyNames() - Method in interface javax.portlet.PortalContext
Returns all portal property names, or an empty Enumeration if there are no property names.
getReader() - Method in interface javax.portlet.ActionRequest
Retrieves the body of the HTTP request from the client to the portal as character data using a BufferedReader.
getRealPath(String) - Method in interface javax.portlet.PortletContext
Returns a String containing the real path for a given virtual path.
getRemoteUser() - Method in interface javax.portlet.PortletRequest
Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated.
getRequestDispatcher(String) - Method in interface javax.portlet.PortletContext
Returns a PortletRequestDispatcher object that acts as a wrapper for the resource located at the given path.
getRequestedSessionId() - Method in interface javax.portlet.PortletRequest
Returns the session ID indicated in the client request.
getResource(String) - Method in interface javax.portlet.PortletContext
Returns a URL to the resource that is mapped to a specified path.
getResourceAsStream(String) - Method in interface javax.portlet.PortletContext
Returns the resource located at the given path as an InputStream object.
getResourceBundle(Locale) - Method in class javax.portlet.GenericPortlet
Gets the resource bundle for the given locale based on the resource bundle defined in the deployment descriptor with resource-bundle tag or the inlined resources defined in the deployment descriptor.
getResourceBundle(Locale) - Method in interface javax.portlet.PortletConfig
Gets the resource bundle for the given locale based on the resource bundle defined in the deployment descriptor with resource-bundle tag or the inlined resources defined in the deployment descriptor.
getResourcePaths(String) - Method in interface javax.portlet.PortletContext
Returns a directory-like listing of all the paths to resources within the web application longest sub-path of which matches the supplied path argument.
getResponseContentType() - Method in interface javax.portlet.PortletRequest
Returns the portal preferred content type for the response.
getResponseContentTypes() - Method in interface javax.portlet.PortletRequest
Gets a list of content types which the portal accepts for the response.
getScheme() - Method in interface javax.portlet.PortletRequest
Returns the name of the scheme used to make this request.
getServerInfo() - Method in interface javax.portlet.PortletContext
Returns the name and version of the portlet container in which the portlet is running.
getServerName() - Method in interface javax.portlet.PortletRequest
Returns the host name of the server that received the request.
getServerPort() - Method in interface javax.portlet.PortletRequest
Returns the port number on which this request was received.
getState() - Method in class javax.portlet.WindowStateException
Returns the portlet state causing this exception.
getSupportedPortletModes() - Method in interface javax.portlet.PortalContext
Returns all supported portlet modes by the portal as an enumertation of PorltetMode objects.
getSupportedWindowStates() - Method in interface javax.portlet.PortalContext
Returns all supported window states by the portal as an enumertation of WindowState objects.
getTitle(RenderRequest) - Method in class javax.portlet.GenericPortlet
Used by the render method to get the title.
getUnavailableSeconds() - Method in class javax.portlet.UnavailableException
Returns the time in seconds for which the portlet can be expected to be unavailable.
getUserPrincipal() - Method in interface javax.portlet.PortletRequest
Returns a java.security.Principal object containing the name of the current authenticated user.
getValue(String, String) - Method in interface javax.portlet.PortletPreferences
Returns the first String value associated with the specified key of this preference.
getValues(String, String[]) - Method in interface javax.portlet.PortletPreferences
Returns the String array value associated with the specified key in this preference.
getWindowState() - Method in interface javax.portlet.PortletRequest
Returns the current window state of the portlet.
getWriter() - Method in interface javax.portlet.RenderResponse
Returns a PrintWriter object that can send character text to the portal.

H

hashCode() - Method in class javax.portlet.WindowState
Returns the hash code value for this window state.
hashCode() - Method in class javax.portlet.PortletMode
Returns the hash code value for this portlet mode.
HELP - Static variable in class javax.portlet.PortletMode
When in HELP portlet mode, a portlet should provide help information about the portlet.

I

include(RenderRequest, RenderResponse) - Method in interface javax.portlet.PortletRequestDispatcher
Includes the content of a resource (servlet, JSP page, HTML file) in the response.
init() - Method in class javax.portlet.GenericPortlet
A convenience method which can be overridden so that there's no need to call super.init(config).
init(PortletConfig) - Method in interface javax.portlet.Portlet
Called by the portlet container to indicate to a portlet that the portlet is being placed into service.
init(PortletConfig) - Method in class javax.portlet.GenericPortlet
Called by the portlet container to indicate to a portlet that the portlet is being placed into service.
invalidate() - Method in interface javax.portlet.PortletSession
Invalidates this session (all scopes) and unbinds any objects bound to it.
isCommitted() - Method in interface javax.portlet.RenderResponse
Returns a boolean indicating if the response has been committed.
isNew() - Method in interface javax.portlet.PortletSession
Returns true if the client does not yet know about the session or if the client chooses not to join the session.
isPermanent() - Method in class javax.portlet.UnavailableException
Returns a boolean indicating whether the portlet is permanently unavailable.
isPortletModeAllowed(PortletMode) - Method in interface javax.portlet.PortletRequest
Returns true, if the given portlet mode is a valid one to set for this portlet in the context of the current request.
isReadOnly(String) - Method in interface javax.portlet.PortletPreferences
Returns true, if the value of this key cannot be modified by the user.
isRequestedSessionIdValid() - Method in interface javax.portlet.PortletRequest
Checks whether the requested session ID is still valid.
isSecure() - Method in interface javax.portlet.PortletRequest
Returns a boolean indicating whether this request was made using a secure channel between client and the portal, such as HTTPS.
isUserInRole(String) - Method in interface javax.portlet.PortletRequest
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
isWindowStateAllowed(WindowState) - Method in interface javax.portlet.PortletRequest
Returns true, if the given window state is valid to be set for this portlet in the context of the current request.

J

javax.portlet - package javax.portlet
The javax.portlet package defines the API for portlets.

L

log(String) - Method in interface javax.portlet.PortletContext
Writes the specified message to a portlet log file, usually an event log.
log(String, Throwable) - Method in interface javax.portlet.PortletContext
Writes an explanatory message and a stack trace for a given Throwable exception to the portlet log file.

M

MAXIMIZED - Static variable in class javax.portlet.WindowState
The MAXIMIZED window state is an indication that a portlet may be the only portlet being rendered in the portal page, or that the portlet has more space compared to other portlets in the portal page.
MINIMIZED - Static variable in class javax.portlet.WindowState
When a portlet is in MINIMIZED window state, the portlet should only render minimal output or no output at all.

N

NORMAL - Static variable in class javax.portlet.WindowState
The NORMAL window state indicates that a portlet may be sharing the page with other portlets.

P

PortalContext - interface javax.portlet.PortalContext.
The PortalContext interface gives the portlet the ability to retrieve information about the portal calling this portlet.
Portlet - interface javax.portlet.Portlet.
The Portlet interface is used by the portlet container to invoke the portlets.
PORTLET_SCOPE - Static variable in interface javax.portlet.PortletSession
This constant defines the scope of the session attribute to be private to the portlet and its included resources.
PortletConfig - interface javax.portlet.PortletConfig.
The PortletConfig interface provides the portlet with its configuration.
PortletContext - interface javax.portlet.PortletContext.
The PortletContext interface defines a portlet view of the portlet container.
PortletException - exception javax.portlet.PortletException.
The PortletException class defines a general exception that a portlet can throw when it is unable to perform its operation successfully.
PortletException() - Constructor for class javax.portlet.PortletException
Constructs a new portlet exception.
PortletException(String) - Constructor for class javax.portlet.PortletException
Constructs a new portlet exception with the given text.
PortletException(String, Throwable) - Constructor for class javax.portlet.PortletException
Constructs a new portlet exception when the portlet needs to do the following: throw an exception include the "root cause" exception include a description message
PortletException(Throwable) - Constructor for class javax.portlet.PortletException
Constructs a new portlet exception when the portlet needs to throw an exception.
PortletMode - class javax.portlet.PortletMode.
The PortletMode class represents the possible modes that a portlet can assume.
PortletMode(String) - Constructor for class javax.portlet.PortletMode
Creates a new portlet mode with the given name.
PortletModeException - exception javax.portlet.PortletModeException.
The PortletModeException is thrown when a portlet tries to use or set a portlet mode that is not supported by the current runtime environment or the portlet.
PortletModeException(String, PortletMode) - Constructor for class javax.portlet.PortletModeException
Constructs a new portlet mode exception with the given text and the portlet mode that caused this exception.
PortletModeException(String, Throwable, PortletMode) - Constructor for class javax.portlet.PortletModeException
Constructs a new portlet mode exception when the portlet needs to do the following: throw an exception include a message about the "root cause" that interfered with its normal operation include a description message include the portlet mode that caused this exception
PortletModeException(Throwable, PortletMode) - Constructor for class javax.portlet.PortletModeException
Constructs a new portlet mode exception when the portlet needs to throw an exception.
PortletPreferences - interface javax.portlet.PortletPreferences.
The PortletPreferences interface allows the portlet to store configuration data.
PortletRequest - interface javax.portlet.PortletRequest.
The PortletRequest defines the base interface to provide client request information to a portlet.
PortletRequestDispatcher - interface javax.portlet.PortletRequestDispatcher.
The PortletRequestDispatcher interface defines an object that receives requests from the client and sends them to the specified resources (such as a servlet, HTML file, or JSP file) on the server.
PortletResponse - interface javax.portlet.PortletResponse.
The PortletResponse defines the base interface to assist a portlet in creating and sending a response to the client.
PortletSecurityException - exception javax.portlet.PortletSecurityException.
A portlet should throw a PortletSecurityException when a call fails because of security reasons.
Additionally it can be thrown by the portal/portlet-container.
PortletSecurityException(String) - Constructor for class javax.portlet.PortletSecurityException
Constructs a new security exception with the given text.
PortletSecurityException(String, Throwable) - Constructor for class javax.portlet.PortletSecurityException
Constructs a new portlet security exception when the portlet needs to do the following: throw an exception include a message about the "root cause" that interfered with its normal operation include a description message
PortletSecurityException(Throwable) - Constructor for class javax.portlet.PortletSecurityException
Constructs a new portlet security exception when the portlet needs to throw an exception.
PortletSession - interface javax.portlet.PortletSession.
The PortletSession interface provides a way to identify a user across more than one request and to store transient information about that user.
PortletSessionUtil - class javax.portlet.PortletSessionUtil.
The PortletSessionUtil class helps identify and decode attributes in the PORTLET_SCOPE scope of the PortletSession when accessed through the HttpSession an from within calls to methods of the HttpSessionBindingListener interface.
PortletSessionUtil() - Constructor for class javax.portlet.PortletSessionUtil
 
PortletURL - interface javax.portlet.PortletURL.
The PortletURL interface represents a URL that reference the portlet itself.
PreferencesValidator - interface javax.portlet.PreferencesValidator.
The PreferencesValidator allows to validate the set of preferences of the associated portlet just before they are stored in the persistent store.
printStackTrace() - Method in class javax.portlet.PortletException
Prints the stack trace of this exception to the standard error stream.
printStackTrace(PrintStream) - Method in class javax.portlet.PortletException
Prints the stack trace of this exception to the specified print stream.
printStackTrace(PrintWriter) - Method in class javax.portlet.PortletException
Prints the stack trace of this exception to the specified print writer.
processAction(ActionRequest, ActionResponse) - Method in interface javax.portlet.Portlet
Called by the portlet container to allow the portlet to process an action request.
processAction(ActionRequest, ActionResponse) - Method in class javax.portlet.GenericPortlet
Called by the portlet container to allow the portlet to process an action request.

R

ReadOnlyException - exception javax.portlet.ReadOnlyException.
The ReadOnlyException is thrown when a portlet tries to change the value for a read-only preference attribute.
ReadOnlyException(String) - Constructor for class javax.portlet.ReadOnlyException
Constructs a new read-only exception with the given text.
ReadOnlyException(String, Throwable) - Constructor for class javax.portlet.ReadOnlyException
Constructs a new read-only exception when the portlet needs to do the following: throw an exception include a message about the "root cause" that interfered with its normal operation include a description message
ReadOnlyException(Throwable) - Constructor for class javax.portlet.ReadOnlyException
Constructs a new read-only exception when the portlet needs to throw an exception.
removeAttribute(String) - Method in interface javax.portlet.PortletRequest
Removes an attribute from this request.
removeAttribute(String) - Method in interface javax.portlet.PortletSession
Removes the object bound with the specified name under the PORTLET_SCOPE from this session.
removeAttribute(String) - Method in interface javax.portlet.PortletContext
Removes the attribute with the given name from the portlet context.
removeAttribute(String, int) - Method in interface javax.portlet.PortletSession
Removes the object bound with the specified name and the given scope from this session.
render(RenderRequest, RenderResponse) - Method in interface javax.portlet.Portlet
Called by the portlet container to allow the portlet to generate the content of the response based on its current state.
render(RenderRequest, RenderResponse) - Method in class javax.portlet.GenericPortlet
The default implementation of this method sets the title using the getTitle method and invokes the doDispatch method.
RenderRequest - interface javax.portlet.RenderRequest.
The RenderRequest represents the request sent to the portlet to handle a render.
RenderResponse - interface javax.portlet.RenderResponse.
The RenderResponse defines an object to assist a portlet in sending a response to the portal.
reset() - Method in interface javax.portlet.RenderResponse
Clears any data that exists in the buffer as well as the properties set.
reset(String) - Method in interface javax.portlet.PortletPreferences
Resets or removes the value associated with the specified key.
resetBuffer() - Method in interface javax.portlet.RenderResponse
Clears the content of the underlying buffer in the response without clearing properties set.

S

sendRedirect(String) - Method in interface javax.portlet.ActionResponse
Instructs the portlet container to send a redirect response to the client using the specified redirect location URL.
setAttribute(String, Object) - Method in interface javax.portlet.PortletRequest
Stores an attribute in this request.
setAttribute(String, Object) - Method in interface javax.portlet.PortletSession
Binds an object to this session under the PORTLET_SCOPE, using the name specified.
setAttribute(String, Object) - Method in interface javax.portlet.PortletContext
Binds an object to a given attribute name in this portlet context.
setAttribute(String, Object, int) - Method in interface javax.portlet.PortletSession
Binds an object to this session in the given scope, using the name specified.
setBufferSize(int) - Method in interface javax.portlet.RenderResponse
Sets the preferred buffer size for the body of the response.
setCharacterEncoding(String) - Method in interface javax.portlet.ActionRequest
Overrides the name of the character encoding used in the body of this request.
setContentType(String) - Method in interface javax.portlet.RenderResponse
Sets the MIME type for the render response.
setMaxInactiveInterval(int) - Method in interface javax.portlet.PortletSession
Specifies the time, in seconds, between client requests, before the portlet container invalidates this session.
setParameter(String, String) - Method in interface javax.portlet.PortletURL
Sets the given String parameter to this URL.
setParameter(String, String[]) - Method in interface javax.portlet.PortletURL
Sets the given String array parameter to this URL.
setParameters(Map) - Method in interface javax.portlet.PortletURL
Sets a parameter map for this URL.
setPortletMode(PortletMode) - Method in interface javax.portlet.ActionResponse
Sets the portlet mode of a portlet to the given portlet mode.
setPortletMode(PortletMode) - Method in interface javax.portlet.PortletURL
Indicates the portlet mode the portlet must be in, if this portlet URL triggers a request.
setProperty(String, String) - Method in interface javax.portlet.PortletResponse
Sets a String property to be returned to the portal.
setRenderParameter(String, String) - Method in interface javax.portlet.ActionResponse
Sets a String parameter for the render request.
setRenderParameter(String, String[]) - Method in interface javax.portlet.ActionResponse
Sets a String array parameter for the render request.
setRenderParameters(Map) - Method in interface javax.portlet.ActionResponse
Sets a parameter map for the render request.
setSecure(boolean) - Method in interface javax.portlet.PortletURL
Indicated the security setting for this URL.
setTitle(String) - Method in interface javax.portlet.RenderResponse
This method sets the title of the portlet.
setValue(String, String) - Method in interface javax.portlet.PortletPreferences
Associates the specified String value with the specified key in this preference.
setValues(String, String[]) - Method in interface javax.portlet.PortletPreferences
Associates the specified String array value with the specified key in this preference.
setWindowState(WindowState) - Method in interface javax.portlet.ActionResponse
Sets the window state of a portlet to the given window state.
setWindowState(WindowState) - Method in interface javax.portlet.PortletURL
Indicates the window state the portlet should be in, if this portlet URL triggers a request.
store() - Method in interface javax.portlet.PortletPreferences
Commits all changes made to the preferences via the set methods in the persistent store.

T

toString() - Method in interface javax.portlet.PortletURL
Returns the portlet URL string representation to be embedded in the markup.
Note that the returned String may not be a valid URL, as it may be rewritten by the portal/portlet-container before returning the markup to the client.
toString() - Method in class javax.portlet.WindowState
Returns a String representation of this window state.
toString() - Method in class javax.portlet.PortletMode
Returns a String representation of this portlet mode.

U

UnavailableException - exception javax.portlet.UnavailableException.
The portlet should throw the UnavailableException when the portlet is either temporarily or permanently unavailable to handle requests.
UnavailableException(String) - Constructor for class javax.portlet.UnavailableException
Constructs a new exception with a descriptive message indicating that the portlet is permanently unavailable.
UnavailableException(String, int) - Constructor for class javax.portlet.UnavailableException
Constructs a new exception with a descriptive message indicating that the portlet is temporarily unavailable and giving an estimate of how long it will be unavailable.
USER_INFO - Static variable in interface javax.portlet.PortletRequest
Used to retrieve user information attributes with the getAttribute call.

V

validate(PortletPreferences) - Method in interface javax.portlet.PreferencesValidator
If the preferences values are successfully validated the call to this method must finish gracefully.
ValidatorException - exception javax.portlet.ValidatorException.
The ValidatorException is thrown by the validate method of a PreferencesValidator when the validation of a preference failed.
ValidatorException(String, Collection) - Constructor for class javax.portlet.ValidatorException
Constructs a new validator exception with the given text.
ValidatorException(String, Throwable, Collection) - Constructor for class javax.portlet.ValidatorException
Constructs a new portlet validator exception.
ValidatorException(Throwable, Collection) - Constructor for class javax.portlet.ValidatorException
Constructs a new portlet validator exception when the portlet needs to throw an exception.
VIEW - Static variable in class javax.portlet.PortletMode
The expected functionality for a portlet in VIEW portlet mode is to generate markup reflecting the current state of the portlet.

W

WindowState - class javax.portlet.WindowState.
The WindowState class represents the possible window states that a portlet window can assume.
WindowState(String) - Constructor for class javax.portlet.WindowState
Creates a new window state with the given name.
WindowStateException - exception javax.portlet.WindowStateException.
The WindowStateException is thrown when a portlet tries to use a window state that is not supported by the current runtime environment or the portlet.
WindowStateException(String, Throwable, WindowState) - Constructor for class javax.portlet.WindowStateException
Constructs a new portlet state exception when the portlet needs to do the following: throw an exception include a message about the "root cause" that interfered with its normal operation include a description message
WindowStateException(String, WindowState) - Constructor for class javax.portlet.WindowStateException
Constructs a new portlet state exception with the given text.
WindowStateException(Throwable, WindowState) - Constructor for class javax.portlet.WindowStateException
Constructs a new portlet state exception when the portlet needs to throw an exception.

A B C D E F G H I J L M N P R S T U V W
Portlet API (V1.0)

Copyright © 2003 IBM Corporation and Sun Microsystems, Inc. All rights reserved