|
Portlet API (V0.7.1) | |||||||
PREV NEXT | FRAMES NO FRAMES |
ActionRequest
represents the request sent to the portlet
to handle an action.ActionResponse
interface represents the portlet
response to an action request, the invocation of the processAction method.edit
mode.
help
mode.
view
mode.
EDIT
portlet mode, a portlet should provide
content and logic that lets a user customize the behavior of the portlet.
setProperty
method.
GenericPortlet
class provides a default implementation
for the Portlet
interface.Object
,
or null
if no attribute of the given name exists.
PORTLET_SCOPE
, or null
if no
object is bound under the name in that scope.
null
if no object is bound under the name in the given scope.
Enumeration
containing the
names of the attributes available to this request.
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.
Enumeration
containing the attribute names
available within this portlet context, or an emtpy
Enumeration
if no attributes are available.
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.
BASIC_AUTH
or CLIENT_CERT_AUTH
, or
null
if there was no authentication.
null
if the
cause is nonexistent or unknown.
null
if the parameter does not exist.
Enumeration
of String objects, or an empty Enumeration
if the
portlet has no initialization parameters.
Enumeration
of String objects, or an empty Enumeration if the context
has no initialization parameters.
null
if
the MIME type is not known.
PortletRequestDispatcher
object that acts
as a wrapper for the named servlet.
Enumeration
if no keys are
available.
String
,
or null
if the parameter does not exist.
Map
of the parameters of this request.
Enumeration
of String
objects containing the names of the parameters contained
in this request.
String
objects containing
all of the values the given request parameter has, or
null
if the parameter does not exist.
PortletContext
in which
the caller is executing.
web.xml
deployment descriptor for this web application by the
display-name
element.
InputStream
.
OutputStream
suitable for writing binary
data in the response.
true
, creates one and returns
the new session.
Enumeration
of String
objects.
String
.
null
if there is
no property by that name.
Enumeration
of all the property names
this request contains.
Enumeration
if
there are no property names.
BufferedReader
.
String
containing the real path
for a given virtual path.
PortletRequestDispatcher
object that acts
as a wrapper for the resource located at the given path.
resource-bundle
tag or the inlined resources
defined in the deployment descriptor.
resource-bundle
tag or the inlined resources
defined in the deployment descriptor.
HELP
portlet mode, a portlet should provide help
information about the portlet.
super.init(config)
.
boolean
indicating
whether the portlet is permanently unavailable.
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
window state,
the portlet should only render minimal output or no output at all.
NORMAL
window state indicates that a portlet
may be sharing the page with other portlets.
PortalContext
interface gives the portlet
the ability to retrieve information about the portal calling this portlet.Portlet
interface is used by the portlet container to
invoke the portlets.PortletConfig
interface provides the portlet with
its configuration.PortletContext
interface defines a portlet view
of the portlet container.PortletException
class defines a general exception
that a portlet can throw when it is unable to perform its operation
successfully.PortletMode
class represents
the possible modes that a portlet can assume.PortletModeException
is thrown when a portlet
tries to use or set a portlet mode that is not supported by the current
runtime environment.PortletPreferences
interface allows the portlet to store
configuration data.PortletRequest
is the basic interface extended by all portlet requests.RequestDispatcher
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
is the basic interface extended by all portlet
responses.PortletSecurityException
is thrown when a
call fails because of security reasons.PortletSession
interface provides a way to identify a user
across more than one request and to store transient information about that user.PortletSessionUtil
class helps with the decoding
of portlet session attributes from the HttpSession
that the
PortletSession
uses.PortletURL
interface represents a URL
that reference the portlet itself.PreferencesValidator
allows the portlet to validate
the preference settings before they are stored in the persistent store.PORTLET_SCOPE
from
this session.
getTitle
method and performs
the rendering using the doDispatch
method.
RenderRequest
represents the request sent to the portlet
to handle a render.RenderResponse
defines an object to assist a portlet in
sending a response to the portal.PORTLET_SCOPE
, using the name specified.
set
methods in the persistent store.
UnavailableException
when
the portlet is either temporarily or permanently unavailable to handle requests.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.getAttribute
call.
ValidatorException
if the given preferences contains
invalid settings.
ValidatorException
is thrown when a
the validation of a preference failed.VIEW
portlet mode
is to generate markup reflecting the current state of the portlet.
WindowState
class represents
the possible window states that a portlet window can assume.WindowStateException
is thrown when a portlet
tries to use a window state that is not supported by the current
runtime environment.
|
Portlet API (V0.7.1) | |||||||
PREV NEXT | FRAMES NO FRAMES |