|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletContent
PortletContent
Method Summary | |
---|---|
void |
addHeadElement(HeadElement element,
java.lang.String keyHint)
Adds an header element to be contributed to the page. |
void |
complete()
Notify that this content is completed. |
ContentCacheKey |
getCacheKey()
Get the cache key used to cache this content |
java.lang.String |
getContent()
Retrieve the actual content of a portlet as a string |
java.lang.String |
getContentType()
Gets the content type of this portlet content. |
int |
getExpiration()
Get the expiration setting for this content if it is cached. |
java.util.List<KeyValue<java.lang.String,HeadElement>> |
getHeadElements()
Retrieves header element key value pairs to be contributed to the page. |
javax.portlet.PortletMode |
getPortletMode()
Gets the portlet mode of this portlet content. |
java.lang.String |
getTitle()
Get the title of the portlet, used during caching |
javax.portlet.WindowState |
getWindowState()
Gets the window state of this portlet content. |
java.io.PrintWriter |
getWriter()
Get a writer to the content to stream content into this object |
boolean |
isComplete()
Has the renderer completed rendering the content? |
void |
release()
Release the buffers used by the portlet content cache. |
void |
reset()
|
void |
resetBuffer()
|
void |
setContentType(java.lang.String contentType)
Sets the content type of this portlet content. |
void |
setExpiration(int expiration)
Sets the expiration setting for this content. |
void |
setTitle(java.lang.String title)
Set the title of this portlet, used during caching |
Method Detail |
---|
java.lang.String getContent()
boolean isComplete()
void complete()
java.io.PrintWriter getWriter()
int getExpiration()
void setExpiration(int expiration)
expiration
- ContentCacheKey getCacheKey()
java.lang.String getTitle()
void setTitle(java.lang.String title)
title
- java.lang.String getContentType()
void setContentType(java.lang.String contentType)
contentType
- javax.portlet.PortletMode getPortletMode()
javax.portlet.WindowState getWindowState()
void addHeadElement(HeadElement element, java.lang.String keyHint)
element
- keyHint
- java.util.List<KeyValue<java.lang.String,HeadElement>> getHeadElements()
void reset()
void resetBuffer()
void release()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |