|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Defines a Portlet whose meta-data values can be set. This interface is provided so that Portlets can be described declaratively. A provider reads the declarative information and pushes the Portlet's meta-data into the instance using these methods.
| Method Summary | |
void |
addAcceptContentType(java.lang.String type)
Adds to the set of mime-types (represented as Strings) that this Portlet can render. |
void |
addInputParameter(java.lang.Object parameter)
Adds to the array of (input) parameters that this portlet recognizes when requested to render to control/affect the rendering. |
void |
setDefaultLocale(java.lang.String lang)
Sets the default Locale for this Portal |
void |
setDescription(java.lang.String description)
Sets the Portlet description. |
void |
setHasAbout(java.lang.String hasAbout)
Controls whether this Portlet displays about information. |
void |
setHasHelp(java.lang.String hasHelp)
Controls whether this Portlet displays help information. |
void |
setId(java.lang.String id)
Sets the Portlet unique ID. |
void |
setName(java.lang.String name)
Sets the Portlet name. |
void |
setPersonalizationManager(java.lang.Object mgr)
Sets the Portlet personalization manager. |
void |
setRenderer(java.lang.Object renderer)
Sets the Portlet renderer. |
void |
setResource(java.lang.String resourceClassName)
Sets the name of the default resource bundle class for this Portlet |
void |
setSecurityManager(java.lang.Object mgr)
Sets the Portlet security manager. |
void |
setShowDetails(java.lang.String hasDetails)
Controls whether this Portlet displays "detailed" mode. |
void |
setShowEdit(java.lang.String canEdit)
Controls whether this Portlet supports per user personalization. |
void |
setShowEditDefault(java.lang.String canEditDefault)
Controls whether this Portlet supports per portlet customization. |
void |
setShowEditToPublic(java.lang.String canEdit)
Deprecated. use MutablePortletXtra3.setMinEditAuthLevel() |
void |
setShowPreview(java.lang.String canPreview)
Controls whether this Portlet is capable of displaying a design-time preview of itself (after customization or personalization). |
void |
setTimeout(java.lang.String timeout)
Sets the number of seconds the portal should wait before timing out a request to this portlet. |
void |
setTimeoutMessage(java.lang.String msg)
Sets the timeout messsage that the portal should use in its response when a request to this Portlet times out. |
void |
setTitle(java.lang.String title)
Sets the Portlet title. |
| Methods inherited from interface oracle.portal.provider.v1.Portlet |
getAcceptContentTypes,
getDefaultLocale,
getDescription,
getId,
getInputParameters,
getName,
getPersonalizationManager,
getProvider,
getRenderer,
getResourceBundle,
getSecurityManager,
getShowEditToPublic,
getTimeout,
getTimeoutMessage,
getTitle,
hasAbout,
hasHelp,
hasShowDetails,
hasShowEdit,
hasShowEditDefault,
hasShowPreview,
init |
| Method Detail |
public void setSecurityManager(java.lang.Object mgr)
throws PortletException
mgr - Object implementing the PortletSecurityManager
interface.PortletSecurityManager
public void setPersonalizationManager(java.lang.Object mgr)
throws PortletException
mgr - Object implementing the PortletPersonalizationManager interface.PortletPersonalizationManager
public void setRenderer(java.lang.Object renderer)
throws PortletException
renderer - Object implementing the PortletRenderer
interface.PortletRendererpublic void setName(java.lang.String name)
name - the Portlet name. This is the Portlet's non-unique display
name.
public void setId(java.lang.String id)
throws PortletException
id - the Portlet (unique ID). Value should be a String
representation of a long value, unique with respect to the Provider.long.public void setTitle(java.lang.String title)
title - the title of this Portlet. This is the name that shows up
in a portlet's title bar.public void setDescription(java.lang.String description)
description - a short description of what this portlet is.
Displayed at design-time along with the name and thumbnail image when a
user is choosing to add a portlet to a page.
public void addInputParameter(java.lang.Object parameter)
throws PortletException
parameter - Object implementing the PortletParameter
interface.PortletParameterpublic void addAcceptContentType(java.lang.String type)
type - mime-type String, e.g. "text/html" or "text/xml".
public void setTimeout(java.lang.String timeout)
throws PortletException
timeout - timeout period, as a String representation of an integer
number of seconds.int.public void setTimeoutMessage(java.lang.String msg)
msg - timeout message.public void setShowEdit(java.lang.String canEdit)
canEdit - String representation of boolean value. Should be "true"
if this Portlet is to support per user personalization, "false"
otherwise.public void setShowEditToPublic(java.lang.String canEdit)
canEdit - String representation of boolean value. Should be "true"
if this Portlet exposes per user personalization to the public
non-logged in user, "false" otherwise.public void setShowEditDefault(java.lang.String canEditDefault)
canEditDefault - String representation of boolean value. Should be
"true" if this Portlet supports per portlet customization, "false"
otherwise.public void setShowPreview(java.lang.String canPreview)
canPreview - String representation of boolean value. Should be
"true" if this Portlet is capable of displaying a design-time preview
of itself (after customization or personalization), or "false"
otherwise.public void setShowDetails(java.lang.String hasDetails)
hasDetails - String representation of boolean value. Should be
"true" if this Portlet is capable of displaying a "detailed" mode, or
"false" otherwise.public void setHasHelp(java.lang.String hasHelp)
hasHelp - String representation of boolean value. Should be "true"
if this Portlet is capable of displaying a help information, or "false"
otherwise.public void setHasAbout(java.lang.String hasAbout)
hasAbout - String representation of boolean value. Should be
"true" if this Portlet is capable of displaying about information, or
"false" otherwise.public void setResource(java.lang.String resourceClassName)
resourceClassName - full name of class extending ResourceBundle.public void setDefaultLocale(java.lang.String lang)
lang - a String specifying a Locale, in the form
"language.country".
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||