The portlet deployment descriptor can continue to be used. Values of configuration parameters appearing in the deployment descriptor have precedence over the corresponding values defined in the annotation.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the method supports asynchronous mode.
Declares whether the portlet supports asynchronous operation mode.
|
| public int | Returns: The expiration time
Expiration-time defines the time in seconds after which the portlet output expires.
|
| public boolean | Returns: The cache scope
The cache scope, which defines whether generated portlet content is private
for the user or can be shared across different users.
|
| public Dependency[] | Returns: The dependencies
The dependencies the portlet may have on external resources.
|
| public LocaleString[] | |
| public LocaleString[] | Returns: The display name
The display-name type contains a locale-specific short name that is intended to be displayed by tools.
|
| public InitParameter[] | |
| public LocaleString[] | |
| public Multipart | Returns: The multipart configuration data.
Provides multipart configuration data for the portlet.
|
| public String | |
| public Preference[] | |
| public String[] | Returns: The array of public render parameters.
The public render parameter identifiers used by the portlet.
|
| public String | |
| public SecurityRoleRef[] | |
| public RuntimeOption[] | |
| public LocaleString[] | |
| public String[] | |
| public Supports[] | Returns: The supported portlet modes and window states
The supported portlet modes and window states for a given
MIME type. |
| public LocaleString[] |
| asyncSupported | back to summary |
|---|---|
| public boolean asyncSupported()
Declares whether the portlet supports asynchronous operation mode.
If this flag is set, any resource method used by this portlet will be marked as supporting asynchronous operation. Asynchronous support applies to resource methods only.
| |
| cacheExpirationTime | back to summary |
|---|---|
| public int cacheExpirationTime()
Expiration-time defines the time in seconds after which the portlet output expires.
A value of -1 indicates that the output never expires.
This value is set before the annotated method is called.
| |
| cacheScopePublic | back to summary |
|---|---|
| public boolean cacheScopePublic()
The cache scope, which defines whether generated portlet content is private
for the user or can be shared across different users.
If this field is set to This value is set before the annotated method is called.
| |
| dependencies | back to summary |
|---|---|
| public Dependency[] dependencies()
The dependencies the portlet may have on external resources.
The resources can represent client-side prerequisites such as JavaScript libraries
or stylesheet resources that are shared among portlets.
| |
| description | back to summary |
|---|---|
| public LocaleString[] description()
The portlet description.
It provides locale-specific text describing the portlet for use by the portal application or by tools.
| |
| displayName | back to summary |
|---|---|
| public LocaleString[] displayName()
The display-name type contains a locale-specific short name that is intended to be displayed by tools.
It is used by display-name elements.
The display name need not be unique.
| |
| initParams | back to summary |
|---|---|
| public InitParameter[] initParams()
The portlet initialization parameters.
| |
| keywords | back to summary |
|---|---|
| public LocaleString[] keywords()
Locale specific keywords associated with this portlet.
The keywords are separated by commas within the value of the
LocaleString array element.
| |
| multipart | back to summary |
|---|---|
| public Multipart multipart()
Provides multipart configuration data for the portlet.
The
| |
| portletName | back to summary |
|---|---|
| public String portletName()
The portlet name for the annotated type.
| |
| prefs | back to summary |
|---|---|
| public Preference[] prefs()
The portlet preferences.
| |
| publicParams | back to summary |
|---|---|
| public String[] publicParams()
The public render parameter identifiers used by the portlet.
| |
| resourceBundle | back to summary |
|---|---|
| public String resourceBundle()
The resource bundle name for this portlet.
Name of the resource bundle containing the language specific
portlet information in different languages.
the file name is specified without the language specific part (e.g. _en) or the file extension.
| |
| roleRefs | back to summary |
|---|---|
| public SecurityRoleRef[] roleRefs()
The security role references.
| |
| runtimeOptions | back to summary |
|---|---|
| public RuntimeOption[] runtimeOptions()
The portlet container runtime options.
| |
| shortTitle | back to summary |
|---|---|
| public LocaleString[] shortTitle()
Locale specific short version of the static title.
| |
| supportedLocales | back to summary |
|---|---|
| public String[] supportedLocales()
The locales supported by the portlet.
An array of String values, each of which represents a single locale.
The locale is specified as a language tag as defined in IETF BCP 47, "Tags for Identifying Languages".
| |
| supports | back to summary |
|---|---|
| public Supports[] supports()
The supported portlet modes and window states for a given
MIME type.
| |
| title | back to summary |
|---|---|
| public LocaleString[] title()
Locale specific static title for this portlet.
| |