|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.netuix.application.definition.PortletDefinition
Field Summary | |
protected PortletInstance |
portletInstance
|
Constructor Summary | |
|
PortletDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
String contentUri,
String backingFile,
String definitionLabel,
String instanceLabel,
boolean forkable,
boolean _public,
ThemeDefinitionId themeDefinitionId,
short titlebarOrientation,
boolean defaultMinimized,
boolean renderCacheable,
int cacheExpires,
boolean forkRender,
String portletFile,
boolean deleted,
String helpUri,
String editUri,
String webAppName)
|
protected |
PortletDefinition(MarkupDefinitionId markupDefinitionId,
String contentUri,
String backingFile,
boolean forkable,
boolean _public,
boolean renderCacheable,
int cacheExpires,
boolean forkRender,
String portletFile,
boolean deleted,
String helpUri,
String editUri,
String definitionLabel,
String webAppName,
PortletInstance portletInstance)
|
Method Summary | |
String |
getBackingFile()
|
int |
getCacheExpires()
Getter for cache TTL |
String |
getContentUri()
|
String |
getDefinitionLabel()
|
String |
getDescription()
|
String |
getEditUri()
Getter for the edit content. |
String |
getHelpUri()
Getter for the help content. |
String |
getInstanceLabel()
|
LocalizationIntersectionId |
getLocalizationIntersectionId()
|
LocalizationResource |
getLocalizationResource()
|
MarkupDefinitionId |
getMarkupDefinitionId()
|
PlaceableDefinitionId |
getPlaceableDefinitionId()
|
PlacementId |
getPlacementId()
|
PortletDefinitionId |
getPortletDefinitionId()
|
String |
getPortletFile()
Getter for returning the relative path of the .portlet file representing this portlet. |
PortletInstanceId |
getPrimaryInstanceId()
|
ThemeDefinitionId |
getThemeDefinitionId()
|
String |
getTitle()
|
short |
getTitlebarOrientation()
|
String |
getWebAppName()
|
boolean |
isDefaultMinimized()
|
boolean |
isDeleted()
Getter to determined if this portet definition has been deleted. |
boolean |
isForkable()
Getter for the boolean indicating if this portlet is forkable. |
boolean |
isForkRender()
Getter for property forkRender. |
boolean |
isPublic()
|
boolean |
isRenderCacheable()
Getter for property renderCacheable. |
void |
setBackingFile(String backingFile)
|
void |
setCacheExpires(int cacheExpires)
Setter for the cache TTL. -1 indacates not to cache |
void |
setContentUri(String contentUri)
|
void |
setDefaultMinimized(boolean defaultMinimized)
|
void |
setDefinitionLabel(String definitionLabel)
|
void |
setDeleted(boolean deleted)
Getter to determined if this portet definition has been deleted. |
void |
setEditUri(String editUri)
Setter for the edit content. |
void |
setForkable(boolean forkable)
setter for the boolean indicating if this portlet is forkable. |
void |
setForkRender(boolean forkRender)
Setter for property forkRender. |
void |
setHelpUri(String helpUri)
Setter for the help content. |
void |
setInstanceLabel(String instanceLabel)
|
void |
setLocalizationResource(LocalizationResource localizationResource)
|
void |
setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
|
void |
setPortletFile(String portletFile)
Setter for setting the relative path of the .portlet file representing this portlet. |
void |
setPublic(boolean _public)
|
void |
setRenderCacheable(boolean renderCacheable)
Setter for property renderCacheable. |
void |
setThemeDefinitionId(ThemeDefinitionId themeDefinitionId)
|
void |
setTitlebarOrientation(short titlebarOrientation)
|
void |
setWebAppName(String webAppName)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected PortletInstance portletInstance
Constructor Detail |
public PortletDefinition(LocalizationResource localizationResource, MarkupDefinitionId markupDefinitionId, String contentUri, String backingFile, String definitionLabel, String instanceLabel, boolean forkable, boolean _public, ThemeDefinitionId themeDefinitionId, short titlebarOrientation, boolean defaultMinimized, boolean renderCacheable, int cacheExpires, boolean forkRender, String portletFile, boolean deleted, String helpUri, String editUri, String webAppName)
protected PortletDefinition(MarkupDefinitionId markupDefinitionId, String contentUri, String backingFile, boolean forkable, boolean _public, boolean renderCacheable, int cacheExpires, boolean forkRender, String portletFile, boolean deleted, String helpUri, String editUri, String definitionLabel, String webAppName, PortletInstance portletInstance)
Method Detail |
public PlaceableDefinitionId getPlaceableDefinitionId()
getPlaceableDefinitionId
in interface PlaceableDefinition
public PortletDefinitionId getPortletDefinitionId()
public PlacementId getPlacementId()
getPlacementId
in interface PlaceableDefinition
public MarkupDefinitionId getMarkupDefinitionId()
public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
public String getContentUri()
public void setContentUri(String contentUri)
public String getBackingFile()
public void setBackingFile(String backingFile)
public String getDefinitionLabel()
getDefinitionLabel
in interface PlaceableDefinition
public void setDefinitionLabel(String definitionLabel)
public boolean isPublic()
public void setPublic(boolean _public)
public LocalizationResource getLocalizationResource()
getLocalizationResource
in interface PlaceableDefinition
public void setLocalizationResource(LocalizationResource localizationResource)
public LocalizationIntersectionId getLocalizationIntersectionId()
public ThemeDefinitionId getThemeDefinitionId()
public void setThemeDefinitionId(ThemeDefinitionId themeDefinitionId)
public short getTitlebarOrientation()
public void setTitlebarOrientation(short titlebarOrientation)
public boolean isDefaultMinimized()
public void setDefaultMinimized(boolean defaultMinimized)
public PortletInstanceId getPrimaryInstanceId()
public String getInstanceLabel()
public void setInstanceLabel(String instanceLabel)
public String getTitle()
getTitle
in interface PlaceableDefinition
public String getDescription()
getDescription
in interface PlaceableDefinition
public boolean isRenderCacheable()
public void setRenderCacheable(boolean renderCacheable)
renderCacheable
- true if the portlet can be cached.public int getCacheExpires()
public void setCacheExpires(int cacheExpires)
cacheExpires
- number of seconds before the cache expires.public boolean isForkRender()
public void setForkRender(boolean forkRender)
forkRender
- true mean we will fork (multithred) the renderer.public boolean isForkable()
public void setForkable(boolean forkable)
forkable
- true if this portlet can be forked.public String getPortletFile()
public void setPortletFile(String portletFile)
portletFile
- the relative path name of the .portlet file.public boolean isDeleted()
Getter to determined if this portet definition has been deleted. This is set by the system if the .portlet file has been removed from the file system. Because the consequences of deleting the porteltDefinition and all it's instances would be a costly and perminent, we just mark the portlet definition as being deleted and then the admin can permanently delete it via his admin tools.
public void setDeleted(boolean deleted)
deleted
- true if the portlet has been marked deleted.public String getHelpUri()
Getter for the help content. The Help uri is the uri to the JSP or HTML page to be displayed when the portlet is in help mode.
public void setHelpUri(String helpUri)
Setter for the help content. The Help uri is the uri to the JSP or HTML page to be displayed when the portlet is in help mode.
helpUri
- a relative path to the JSP or html page.public String getEditUri()
Getter for the edit content. The Edit uri is the uri to the JSP or HTML page to be displayed when the portlet is in edit mode.
public void setEditUri(String editUri)
Setter for the edit content. The Edit uri is the uri to the JSP or HTML page to be displayed when the portlet is in edit mode.
editUri
- a relative path to the JSP or html page.public String getWebAppName()
getWebAppName
in interface PlaceableDefinition
public void setWebAppName(String webAppName)
public String toString()
toString
in class Object
|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |