org.apache.portals.gems.util
Class PortletContentImpl
java.lang.Object
org.apache.portals.gems.util.PortletContentImpl
- All Implemented Interfaces:
- org.apache.jetspeed.aggregator.PortletContent
public class PortletContentImpl
- extends Object
- implements org.apache.jetspeed.aggregator.PortletContent
cw
private CharArrayWriter cw
writer
private PrintWriter writer
complete
private boolean complete
cacheKey
private String cacheKey
ccKey
private org.apache.jetspeed.cache.ContentCacheKey ccKey
expiration
private int expiration
title
private String title
PortletContentImpl
public PortletContentImpl()
PortletContentImpl
PortletContentImpl(org.apache.jetspeed.cache.ContentCacheKey ccKey,
int expiration,
String title,
boolean complete)
PortletContentImpl
PortletContentImpl(String cacheKey,
int expiration,
String title,
boolean complete)
PortletContentImpl
PortletContentImpl(String cacheKey,
int expiration)
getWriter
public PrintWriter getWriter()
- Specified by:
getWriter
in interface org.apache.jetspeed.aggregator.PortletContent
init
public void init()
release
public void release()
toString
public String toString()
- Overrides:
toString
in class Object
writeTo
public void writeTo(Writer out)
throws IOException
- Throws:
IOException
toCharArray
public char[] toCharArray()
isComplete
public boolean isComplete()
- Specified by:
isComplete
in interface org.apache.jetspeed.aggregator.PortletContent
completeWithError
public void completeWithError()
- Specified by:
completeWithError
in interface org.apache.jetspeed.aggregator.PortletContent
setComplete
void setComplete(boolean state)
getContent
public String getContent()
- Specified by:
getContent
in interface org.apache.jetspeed.aggregator.PortletContent
complete
public void complete()
complete
- Specified by:
complete
in interface org.apache.jetspeed.aggregator.PortletContent
- See Also:
PortletContent.complete()
getCacheKey
public org.apache.jetspeed.cache.ContentCacheKey getCacheKey()
- Specified by:
getCacheKey
in interface org.apache.jetspeed.aggregator.PortletContent
getStringCacheKey
public String getStringCacheKey()
getExpiration
public int getExpiration()
- Specified by:
getExpiration
in interface org.apache.jetspeed.aggregator.PortletContent
setExpiration
public void setExpiration(int e)
- Specified by:
setExpiration
in interface org.apache.jetspeed.aggregator.PortletContent
getTitle
public String getTitle()
- Specified by:
getTitle
in interface org.apache.jetspeed.aggregator.PortletContent
setTitle
public void setTitle(String title)
- Specified by:
setTitle
in interface org.apache.jetspeed.aggregator.PortletContent
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.