org.apache.cocoon.portal.coplet
Class CopletInstanceData
java.lang.Object
org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable
org.apache.cocoon.portal.factory.impl.AbstractProducible
org.apache.cocoon.portal.coplet.CopletInstanceData
- All Implemented Interfaces:
- Cloneable, Aspectalizable, Producible
public final class CopletInstanceData
- extends AbstractProducible
- Version:
- CVS $Id: CopletInstanceData.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler, Volker Schmitt, Björn Lütkemeier
copletData
protected CopletData copletData
attributes
protected Map attributes
temporaryAttributes
protected Map temporaryAttributes
- Temporary attributes are not persisted
preferences
protected PreferenceSetImpl preferences
- Portlet preferences
CopletInstanceData
public CopletInstanceData()
- Constructor
getCopletData
public CopletData getCopletData()
- Returns:
- CopletData
setCopletData
public void setCopletData(CopletData copletData)
- Sets the copletData.
- Parameters:
copletData
- The copletData to set
getAttribute
public Object getAttribute(String key)
setAttribute
public void setAttribute(String key,
Object value)
removeAttribute
public Object removeAttribute(String key)
getAttributes
public Map getAttributes()
getCastorAttributes
public final Collection getCastorAttributes()
addAttribute
public void addAttribute(AttributedMapItem item)
getTemporaryAttribute
public Object getTemporaryAttribute(String key)
setTemporaryAttribute
public void setTemporaryAttribute(String key,
Object value)
removeTemporaryAttribute
public Object removeTemporaryAttribute(String key)
getTemporaryAttributes
public Map getTemporaryAttributes()
getTitle
public String getTitle()
getInstanceTitle
public String getInstanceTitle()
setTitle
public void setTitle(String title)
setPreferences
public void setPreferences(PreferenceSetImpl preferences)
getPreferences
public org.apache.pluto.om.common.PreferenceSet getPreferences()
getCastorPreferences
public org.apache.pluto.om.common.PreferenceSet getCastorPreferences()
setCastorPreferences
public void setCastorPreferences(org.apache.pluto.om.common.PreferenceSet castorPreferences)
clone
protected Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class AbstractProducible
- Throws:
CloneNotSupportedException
- See Also:
Object.clone()
copy
public CopletInstanceData copy()
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.