com.bea.wsrp.model
Interface IPortletDescription

All Superinterfaces
IOfferedEntity, Serializable

public interface IPortletDescription
extends IOfferedEntity

A producer offered portlet description.

This interface is intended to be implemented only by Oracle Weblogic Portal. Oracle Systems reserves the right to add abstract methods to this interface without notice. Implementations of this interface by other parties must not be expected to compile without change in future versions of Oracle Weblogic Portal.

Field Summary
static int WSRP_USER_PROPERTIES_MODE__ALL
          For WSRP the required user properties are ALL
static int WSRP_USER_PROPERTIES_MODE__APP_DEFAULT
          For WSRP the required user properties are DEFAULTED to the web-app's default
static int WSRP_USER_PROPERTIES_MODE__NONE
          For WSRP the required user properties are NONE
static int WSRP_USER_PROPERTIES_MODE__SPECIFIED
          For WSRP the required user properties are SPECIFIED
 
Method Summary
 boolean areTemplatesStoredInSession()
          Returns true if the portlet or producer stores URL templates in session.
 boolean cacheRenderDependencies()
          Returns true of the consumer can cache the dependency information obtained via the getHead request.
 boolean doesUrlTemplateProcessing()
          Returns true if the portlet can write URLs using URL templates.
 String getAsyncContent()
          Returns the type of async content.
 ILocalizedString getDescription()
          Returns the description (if any) of the portlet.
 ILocalizedString getDisplayName()
          Returns the display name (if any) of the portlet
 String getGroupID()
          Returns the group ID (if any) of the portlet.
 List<IHandledEvent> getHandledEvents()
          Returns an immutable list of events handled by this portlet.
 List<ILocalizedString> getKeywords()
          Returns an immutable list of keywords (if any) of the portlet
 List<IMarkupType> getMarkupTypes()
          Returns an immutable list of markup types supported by this portlet.
 List<IParameterDescription> getNavigationalParameterDescriptions()
          Returns the shared parameter descriptions.
 String getPortletHandle()
          Returns the handle of the portlet.
 ILocalizedString getShortTitle()
          Returns the short title (if any) of the portlet.
 ILocalizedString getTitle()
          Returns the title (if any) of the portlet.
 List<String> getUserCategories()
          Returns an immutable list of user categories (if any) recognized by the portlet
 List<String> getUserProfileItems()
          Returns an immutable list of user profile items (if any) required by the portlet
 int getUserProfileItemsMode()
          Returns the mode of user profile items propagation.
 boolean hasRenderDependencies()
          Returns true if this portlet has render dependencies.
 boolean hasUserSpecificState()
          Returns true if the portlet maintains user specific state.
 boolean isDefaultMarkupSecure()
          Returns true if the portlet requires the initial view of the portlet to be rendered over a secure channel.
 boolean isOnlySecure()
          Returns true if the portlet requires it to be rendered over a secure channel.
 boolean isTitleSet()
          Has the title been set?
 boolean isUserContextStoredInSession()
          Returns true if the portlet or producer stores the user context in session.
 boolean mayReturnPortletState()
          Might the producer return portletState in portletContext
 boolean usesMethodGet()
          Returns true if the portlet uses forms with method GET.
 
Methods inherited from interface com.bea.wsrp.model.IOfferedEntity
getHandle
 

Field Detail

WSRP_USER_PROPERTIES_MODE__NONE

static final int WSRP_USER_PROPERTIES_MODE__NONE
For WSRP the required user properties are NONE

See Also
Constants Summary

WSRP_USER_PROPERTIES_MODE__ALL

static final int WSRP_USER_PROPERTIES_MODE__ALL
For WSRP the required user properties are ALL

See Also
Constants Summary

WSRP_USER_PROPERTIES_MODE__SPECIFIED

static final int WSRP_USER_PROPERTIES_MODE__SPECIFIED
For WSRP the required user properties are SPECIFIED

See Also
Constants Summary

WSRP_USER_PROPERTIES_MODE__APP_DEFAULT

static final int WSRP_USER_PROPERTIES_MODE__APP_DEFAULT
For WSRP the required user properties are DEFAULTED to the web-app's default

See Also
Constants Summary
Method Detail

getPortletHandle

String getPortletHandle()
Returns the handle of the portlet.

Returns
handle

getMarkupTypes

List<IMarkupType> getMarkupTypes()
Returns an immutable list of markup types supported by this portlet.

Returns
markup types

getGroupID

String getGroupID()
Returns the group ID (if any) of the portlet.

Returns
group ID

getDescription

ILocalizedString getDescription()
Returns the description (if any) of the portlet.

Returns
description

getShortTitle

ILocalizedString getShortTitle()
Returns the short title (if any) of the portlet.

Returns
short title

isTitleSet

boolean isTitleSet()
Has the title been set?

Returns
true if the title is not null;

getTitle

ILocalizedString getTitle()
Returns the title (if any) of the portlet. If not set it will return the short-title if set, or the portlet handle

Specified by:
getTitle in interface IOfferedEntity
Returns
title

getDisplayName

ILocalizedString getDisplayName()
Returns the display name (if any) of the portlet

Returns
display name

getKeywords

List<ILocalizedString> getKeywords()
Returns an immutable list of keywords (if any) of the portlet

Returns
keywords

getUserCategories

List<String> getUserCategories()
Returns an immutable list of user categories (if any) recognized by the portlet

Returns
user categories

getUserProfileItemsMode

int getUserProfileItemsMode()
Returns the mode of user profile items propagation. Returns one of XXX.

Returns
mode

getUserProfileItems

List<String> getUserProfileItems()
Returns an immutable list of user profile items (if any) required by the portlet

Returns
user profile items

usesMethodGet

boolean usesMethodGet()
Returns true if the portlet uses forms with method GET.

Returns
boolean

isDefaultMarkupSecure

boolean isDefaultMarkupSecure()
Returns true if the portlet requires the initial view of the portlet to be rendered over a secure channel.

Returns
boolean

isOnlySecure

boolean isOnlySecure()
Returns true if the portlet requires it to be rendered over a secure channel.

Returns
boolean

isUserContextStoredInSession

boolean isUserContextStoredInSession()
Returns true if the portlet or producer stores the user context in session.

Returns
boolean

areTemplatesStoredInSession

boolean areTemplatesStoredInSession()
Returns true if the portlet or producer stores URL templates in session.

Returns
boolean

hasUserSpecificState

boolean hasUserSpecificState()
Returns true if the portlet maintains user specific state.

Returns
boolean

doesUrlTemplateProcessing

boolean doesUrlTemplateProcessing()
Returns true if the portlet can write URLs using URL templates.

Returns
boolean

getHandledEvents

List<IHandledEvent> getHandledEvents()
Returns an immutable list of events handled by this portlet.

Returns
handled events

hasRenderDependencies

boolean hasRenderDependencies()
Returns true if this portlet has render dependencies. If true, the consumer will send a special getHead message to the producer to obtain the dependencies. The default is false.

Returns
boolean

cacheRenderDependencies

boolean cacheRenderDependencies()
Returns true of the consumer can cache the dependency information obtained via the getHead request. The recommended value is true.

Returns
boolean

getAsyncContent

String getAsyncContent()
Returns the type of async content. The known values are "none", "ajax" and "iframe". The default is "none".

Returns
async content type

mayReturnPortletState

boolean mayReturnPortletState()
Might the producer return portletState in portletContext

Returns
true if the attribute is present and has a true value

getNavigationalParameterDescriptions

List<IParameterDescription> getNavigationalParameterDescriptions()
Returns the shared parameter descriptions.

Returns
the shared parameter descriptions for the portlet


Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.