Alphabetical Index

A B C D E F G H I 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 class javax.portlet.PortletResponse
Adds a String property to an existing key to be returned to the portal.
APPLICATION_SCOPE - static field in class javax.portlet.PortletSession
This constant defines an application wide scope for the session attribute.

B

BASIC_AUTH - static field in class javax.portlet.PortletRequest
String identifier for Basic authentication.

C

CLIENT_CERT_AUTH - static field in class javax.portlet.PortletRequest
String identifier for Certification based authentication.
createActionURL() - method in class javax.portlet.RenderResponse
Creates a portlet URL targeting the portlet.
createRenderURL() - method in class javax.portlet.RenderResponse
Creates a portlet URL targeting the portlet.

D

decodeAttributeName(java.lang.String) - static method in class javax.portlet.PortletSessionUtil
Returns the attribute name of an attribute in the PORTLET_SCOPE.
decodeScope(java.lang.String) - static method in class javax.portlet.PortletSessionUtil
Returns the portlet attribute scope from an encoded portlet attribute.
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.
destroy() - method in class javax.portlet.Portlet
Called by the portlet container to indicate to a portlet that the portlet is being taken out of service.
DIGEST_AUTH - static field in class javax.portlet.PortletRequest
String identifier for Digest based authentication.
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.
Helper method to serve up the edit mode.
Helper method to serve up the help mode.
Helper method to serve up the mandatory view mode.

E

EDIT - static field 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 class 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.PortletMode
Compares the specified object with this portlet mode for equality.
equals(Object) - method in class javax.portlet.WindowState
Compares the specified object with this window state for equality.
EXPIRATION_CACHE - static field in class javax.portlet.RenderResponse
Property to set the expiration time in seconds for this response using the setProperty method.

F

flushBuffer() - method in class javax.portlet.RenderResponse
Forces any content in the buffer to be written to the client.
FORM_AUTH - static field in class 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(java.lang.String) - method in class javax.portlet.PortletContext
Returns the portlet container attribute with the given name, or null if there is no attribute by that name.
getAttribute(java.lang.String) - method in class 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(java.lang.String,int) - method in class 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.
getAttribute(String) - method in class javax.portlet.PortletRequest
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
getAttributeNames() - method in class 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() - method in class javax.portlet.PortletRequest
Returns an Enumeration containing the names of the attributes available to this request.
getAttributeNames() - method in class 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(int) - method in class 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 class 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 class 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 class javax.portlet.ActionRequest
Returns the name of the character encoding used in the body of this request.
getCharacterEncoding() - method in class javax.portlet.RenderResponse
Returns the name of the charset used for the MIME body sent in this response.
getContentLength() - method in class 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 class javax.portlet.ActionRequest
Returns the MIME type of the body of the request, or null if the type is not known.
getContentType() - method in class javax.portlet.RenderResponse
Returns the MIME type that can be used to contribute markup to the render response.
getContextPath() - method in class javax.portlet.PortletRequest
Returns the context path which is the path prefix associated with the deployed portlet application.
getCreationTime() - method in class 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 class javax.portlet.PortletSession
Returns a string containing the unique identifier assigned to this session.
getInitParameter(java.lang.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(java.lang.String) - method in class javax.portlet.PortletConfig
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
getInitParameter(java.lang.String) - method in class 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 class 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 class 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 class 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 class javax.portlet.PortletRequest
Returns the preferred Locale in which the portal will accept content.
getLocale() - method in class javax.portlet.RenderResponse
Returns the locale assigned to the response.
getLocales() - method in class 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 class javax.portlet.PortletContext
Returns the major version of the Portlet API that this portlet container supports.
getMap() - method in class javax.portlet.PortletPreferences
Returns a Map of the preferences.
getMaxInactiveInterval() - method in class 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 class javax.portlet.PortletContext
Returns the MIME type of the specified file, or null if the MIME type is not known.
getMinorVersion() - method in class 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 class javax.portlet.PortletContext
Returns a PortletRequestDispatcher object that acts as a wrapper for the named servlet.
getNames() - method in class 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 class 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 class javax.portlet.PortletRequest
Returns the value of a request parameter as a String, or null if the parameter does not exist.
getParameterMap() - method in class javax.portlet.PortletRequest
Returns a Map of the parameters of this request.
getParameterNames() - method in class javax.portlet.PortletRequest
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
getParameterValues(String) - method in class 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 class javax.portlet.PortletRequest
Returns the context of the calling portal.
getPortalInfo() - method in class 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 class javax.portlet.GenericPortlet
Returns the PortletContext of the portlet application the portlet is in.
getPortletContext() - method in class javax.portlet.PortletConfig
Returns the PortletContext of the portlet application the portlet is in.
getPortletContext() - method in class javax.portlet.PortletSession
Returns the portlet application context associated with this session.
getPortletContextName() - method in class 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 class javax.portlet.ActionRequest
Retrieves the body of the HTTP request from client to portal as binary data using an InputStream.
getPortletMode() - method in class 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 class javax.portlet.PortletConfig
Returns the name of the portlet.
getPortletOutputStream() - method in class javax.portlet.RenderResponse
Returns a OutputStream suitable for writing binary data in the response.
getPortletSession() - method in class 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 class 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 class javax.portlet.PortletRequest
Returns the preferences object associated with the portlet.
getProperties(String) - method in class javax.portlet.PortletRequest
Returns all the values of the specified request property as a Enumeration of String objects.
getProperty(java.lang.String) - method in class javax.portlet.PortalContext
Returns the portal property with the given name, or a null if there is no property by that name.
getProperty(String) - method in class javax.portlet.PortletRequest
Returns the value of the specified request property as a String.
getPropertyNames() - method in class javax.portlet.PortalContext
Returns all portal property names, or an empty Enumeration if there are no property names.
getPropertyNames() - method in class javax.portlet.PortletRequest
Returns a Enumeration of all the property names this request contains.
getReader() - method in class 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 class javax.portlet.PortletContext
Returns a String containing the real path for a given virtual path.
getRemoteUser() - method in class 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 class javax.portlet.PortletContext
Returns a PortletRequestDispatcher object that acts as a wrapper for the resource located at the given path.
getRequestedSessionId() - method in class javax.portlet.PortletRequest
Returns the session ID indicated in the client request.
getResource(String) - method in class javax.portlet.PortletContext
Returns a URL to the resource that is mapped to a specified path.
getResourceAsStream(String) - method in class javax.portlet.PortletContext
Returns the resource located at the given path as an InputStream object.
getResourceBundle(java.util.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(java.util.Locale) - method in class 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 class 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 class javax.portlet.PortletRequest
Returns the portal preferred content type for the response.
getResponseContentTypes() - method in class javax.portlet.PortletRequest
Gets a list of content types which the portal accepts for the response.
getScheme() - method in class javax.portlet.PortletRequest
Returns the name of the scheme used to make this request.
getServerInfo() - method in class javax.portlet.PortletContext
Returns the name and version of the portlet container in which the portlet is running.
getServerName() - method in class javax.portlet.PortletRequest
Returns the host name of the server that received the request.
getServerPort() - method in class 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 class javax.portlet.PortalContext
Returns all supported portlet modes by the portal as an enumertation of PorltetMode objects.
getSupportedWindowStates() - method in class javax.portlet.PortalContext
Returns all supported window states by the portal as an enumertation of WindowState objects.
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 class javax.portlet.PortletRequest
Returns a java.security.Principal object containing the name of the current authenticated user.
getValue(String,String) - method in class javax.portlet.PortletPreferences
Returns the first String value associated with the specified key of this preference.
getValues(String,String[]) - method in class javax.portlet.PortletPreferences
Returns the String array value associated with the specified key in this preference.
getWindowState() - method in class javax.portlet.PortletRequest
Returns the current window state of the portlet.
getWriter() - method in class javax.portlet.RenderResponse
Returns a PrintWriter object that can send character text to the portal.

H

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

I

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(javax.portlet.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.
init(javax.portlet.PortletConfig) - method in class javax.portlet.Portlet
Called by the portlet container to indicate to a portlet that the portlet is being placed into service.
invalidate() - method in class javax.portlet.PortletSession
Invalidates this session (all scopes) and unbinds any objects bound to it.
isCommitted() - method in class javax.portlet.RenderResponse
Returns a boolean indicating if the response has been committed.
isNew() - method in class 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.
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 class javax.portlet.PortletPreferences
Returns true, if the value of this key cannot be modified by the user.
isRequestedSessionIdValid() - method in class javax.portlet.PortletRequest
Checks whether the requested session ID is still valid.
isSecure() - method in class 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(java.lang.String) - method in class javax.portlet.PortletRequest
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
Returns true, if the given window state is valid to be set for this portlet in the context of the current request.

L

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

M

MAXIMIZED - static field 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 field 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 field 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 field in class 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.
Constructs a new portlet mode exception with the given text and the portlet mode that caused this exception.
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
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.
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.
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.
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
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.
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.
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.
Prints the stack trace of this exception to the specified print stream.
Prints the stack trace of this exception to the specified print writer.
Called by the portlet container to allow the portlet to process an action request.
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(java.lang.String) - method in class javax.portlet.PortletContext
Removes the attribute with the given name from the portlet context.
removeAttribute(String) - method in class javax.portlet.PortletRequest
Removes an attribute from this request.
removeAttribute(String) - method in class javax.portlet.PortletSession
Removes the object bound with the specified name under the PORTLET_SCOPE from this session.
removeAttribute(String,int) - method in class javax.portlet.PortletSession
Removes the object bound with the specified name and the given scope from this session.
The default implementation of this method sets the title using the getTitle method and invokes the doDispatch method.
Called by the portlet container to allow the portlet to generate the content of the response based on its current state.
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 class javax.portlet.RenderResponse
Clears any data that exists in the buffer as well as the properties set.
reset(String) - method in class javax.portlet.PortletPreferences
Resets or removes the value associated with the specified key.
resetBuffer() - method in class javax.portlet.RenderResponse
Clears the content of the underlying buffer in the response without clearing properties set.

S

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

T

toString() - method in class javax.portlet.PortletMode
Returns a String representation of this portlet mode.
toString() - method in class 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.

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.
The UnmodifiableException is thrown when a portlet tries to change the value for a preference attribute, marked as unmodifiable in the deployment descriptor with the non-modifiable tag, without the needed permissions.
UnmodifiableException(String) - constructor for class javax.portlet.UnmodifiableException
Constructs a new unmodifiable exception with the given text.
Constructs a new unmodifiable 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
UnmodifiableException(Throwable) - constructor for class javax.portlet.UnmodifiableException
Constructs a new unmodifiable exception when the portlet needs to throw an exception.
USER_INFO - static field in class javax.portlet.PortletRequest
Used to retrieve user information attributes with the getAttribute call.

V

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.
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 field 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.
Constructs a new portlet state exception with the given text.
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
Constructs a new portlet state exception when the portlet needs to throw an exception.