|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.netuix.application.instance.PortletInstance
Represents a customized version of a PortletDefinition
.
Field Summary | |
protected LocalizationResource |
localizationResource
|
Constructor Summary | |
PortletInstance(LocalizationResource localizationResource,
ThemeDefinitionId themeDefinitionId,
short titlebarOrientation,
boolean defaultMinimized,
String instanceLabel)
Constructor to create a new PortletInstance object. |
|
PortletInstance(LocalizationResource localizationResource,
ThemeDefinitionId themeDefinitionId,
short titlebarOrientation,
boolean defaultMinimized,
String instanceLabel,
String producerHandle,
String portletHandle,
byte stateChangeFlag,
boolean requiresUrlTemplates,
boolean templatesStoredInSession,
byte[] portletState,
boolean producerOfferedPortlet)
Overloaded constructor to create a WSRP remote portlet. |
Method Summary | |
String |
getDescription()
Retrieves this portlet's localized description from it's LocalizationResource . |
String |
getInstanceLabel()
Returns the instance label for this portlet. |
LocalizationIntersectionId |
getLocalizationIntersectionId()
Returns the LocalizationIntersectionId for this portlet.
|
LocalizationResource |
getLocalizationResource()
Returns the LocalizationResource associated with this
PortletDefinition based on the locale of the request used
for retrieving the PortletInstance . |
PlaceableDefinition |
getPlaceableDefinition()
Returns the PlaceableDefinition associated with this portlet.
|
PlaceableInstanceId |
getPlaceableInstanceId()
Returns the PlaceableInstanceId for the
PlaceableInstance associated with this portlet.
|
PlacementId |
getPlacementId()
Returns the PlacementId for this portlet.
|
PortletDefinition |
getPortletDefinition()
Returns the PortletDefinition that this portlet was created from.
|
PortletDefinitionId |
getPortletDefinitionId()
Returns the PortletDefinitionId for the
PortletDefinition that this portlet was created from.
|
String |
getPortletHandle()
Returns the portlet handle associated with this portlet if it is a WSRP remote portlet, NULL otherwise. |
PortletInstanceId |
getPortletInstanceId()
Returns the PortletInstanceId for this portlet.
|
byte[] |
getPortletState()
Returns the portlet state for a WSRP remote portlet |
String |
getProducerHandle()
Returns the producer handle associated with this portlet if it is a WSRP remote portlet, NULL otherwise. |
byte |
getStateChangeFlag()
Returns state change flag associated with this portlet if it is a WSRP remote portlet. |
ThemeDefinitionId |
getThemeDefinitionId()
Returns the ThemeDefinitionId of theme associated with this
PortletInstance . |
String |
getTitle()
Retrieves this portlet's localized title from it's LocalizationResource . |
short |
getTitlebarOrientation()
Returns the titlebar orientation for this PortletInstance |
boolean |
isDefaultMinimized()
Returns if this portlet is minimized by default. |
boolean |
isProducerOfferedPortlet()
Returns whether a WSRP remote portlet has not been customized by a WSRP consumer |
boolean |
isRequiresUrlTemplates()
Returns whether a WSRP remote portlet requires url templates |
boolean |
isTemplatesStoredInSession()
Returns whether url templates are stored in the HttpSession for a WSRP remote portlet |
void |
setDefaultMinimized(boolean defaultMinimized)
Sets whether this portlet is default minimized. |
void |
setDescription(String description)
Update the description for the current locale. |
void |
setInstanceLabel(String instanceLabel)
Sets the instance label for this portlet. |
void |
setLocalizationResource(LocalizationResource localizationResource)
Sets the LocalizationResource for this portlet. |
void |
setPortletHandle(String portletHandle)
Sets the portlet handle for this portlet |
void |
setPortletState(byte[] portletState)
Sets the portlet state for a WSRP remote portlet |
void |
setProducerHandle(String producerHandle)
Sets the producer handle for this portlet |
void |
setProducerOfferedPortlet(boolean producerOfferedPortlet)
Sets whether a WSRP remote portlet is customized by a WSRP consumer |
void |
setRequiresUrlTemplates(boolean requiresUrlTemplates)
Sets whether a WSRP remote portlet requires url templates |
void |
setStateChangeFlag(byte stateChangeFlag)
Sets state change flag |
void |
setTemplatesStoredInSession(boolean templatesStoredInSession)
Sets whether url templates are stored in the HttpSession for a WSRP remote portlet |
void |
setThemeDefinitionId(ThemeDefinitionId themeDefinitionId)
Associates a theme with this portlet. |
void |
setTitle(String title)
Update the title for the current locale. |
void |
setTitlebarOrientation(short titlebarOrientation)
Sets the titlebar orientation for this portlet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected LocalizationResource localizationResource
Constructor Detail |
public PortletInstance(LocalizationResource localizationResource, ThemeDefinitionId themeDefinitionId, short titlebarOrientation, boolean defaultMinimized, String instanceLabel)
PortletInstance
object.
public PortletInstance(LocalizationResource localizationResource, ThemeDefinitionId themeDefinitionId, short titlebarOrientation, boolean defaultMinimized, String instanceLabel, String producerHandle, String portletHandle, byte stateChangeFlag, boolean requiresUrlTemplates, boolean templatesStoredInSession, byte[] portletState, boolean producerOfferedPortlet)
Method Detail |
public String getDescription()
LocalizationResource
.
public String getInstanceLabel()
public LocalizationIntersectionId getLocalizationIntersectionId()
LocalizationIntersectionId
for this portlet.
Returns NULL
if no LocalizationResource is associated with
this portlet. A LocalizationIntersectionId
is a reference to all
localized versions of title and description for an entity.
LocalizationIntersectionId
for this portletpublic LocalizationResource getLocalizationResource()
LocalizationResource
associated with this
PortletDefinition
based on the locale of the request used
for retrieving the PortletInstance
.
LocalizationResource
associated with this portletpublic PlaceableDefinition getPlaceableDefinition()
PlaceableDefinition
associated with this portlet.
Returns NULL
when the PortletInstance has not been retrieved
by using the persistence API.
getPlaceableDefinition
in interface PlaceableInstance
PlaceableDefinition
associated with this portletPlaceableDefinition
public PlaceableInstanceId getPlaceableInstanceId()
PlaceableInstanceId
for the
PlaceableInstance
associated with this portlet.
Returns NULL
when the PortletInstance has not been retrieved
by using the persistence API.
getPlaceableInstanceId
in interface PlaceableInstance
PlaceableInstanceId
associated with this portletPlaceableInstance
public PlacementId getPlacementId()
PlacementId
for this portlet.
May be NULL
if this portlet is not placed
or if it has not been retrieved using the persistence API.
getPlacementId
in interface PlaceableInstance
PlacementId
for this portletpublic PortletDefinition getPortletDefinition()
PortletDefinition
that this portlet was created from.
Returns NULL
when the PortletInstance has not been retrieved
by using the persistence API.
PortletDefinition
for this portletpublic PortletDefinitionId getPortletDefinitionId()
PortletDefinitionId
for the
PortletDefinition
that this portlet was created from.
Returns NULL
when the PortletInstance has not been retrieved
by using the persistence API.
PortletDefinitionId
for this portletpublic String getPortletHandle()
NULL
otherwise.
public PortletInstanceId getPortletInstanceId()
PortletInstanceId
for this portlet.
Returns NULL
when the PortletInstance has not been retrieved
by using the persistence API.
PortletInstanceId
for this portletpublic byte[] getPortletState()
public String getProducerHandle()
NULL
otherwise.
public byte getStateChangeFlag()
public ThemeDefinitionId getThemeDefinitionId()
ThemeDefinitionId
of theme associated with this
PortletInstance
.
ThemeDefinitionId
public String getTitle()
LocalizationResource
.
public short getTitlebarOrientation()
PortletInstance
public boolean isDefaultMinimized()
public boolean isProducerOfferedPortlet()
public boolean isRequiresUrlTemplates()
public boolean isTemplatesStoredInSession()
public void setDefaultMinimized(boolean defaultMinimized)
defaultMinimized
- true to set the portlet to minimized by defaultpublic void setDescription(String description)
description
- public void setInstanceLabel(String instanceLabel)
instanceLabel
- public void setLocalizationResource(LocalizationResource localizationResource)
LocalizationResource
for this portlet.
localizationResource
- public void setPortletHandle(String portletHandle)
portletHandle
- public void setPortletState(byte[] portletState)
portletState
- public void setProducerHandle(String producerHandle)
producerHandle
- public void setProducerOfferedPortlet(boolean producerOfferedPortlet)
producerOfferedPortlet
- public void setRequiresUrlTemplates(boolean requiresUrlTemplates)
requiresUrlTemplates
- public void setStateChangeFlag(byte stateChangeFlag)
stateChangeFlag
- public void setTemplatesStoredInSession(boolean templatesStoredInSession)
templatesStoredInSession
- public void setThemeDefinitionId(ThemeDefinitionId themeDefinitionId)
themeDefinitionId
- of theme associated with this portletpublic void setTitle(String title)
title
- public void setTitlebarOrientation(short titlebarOrientation)
titlebarOrientation
-
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |