org.apache.cocoon.portal.coplet
Class CopletInstanceData

java.lang.Object
  extended by org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable
      extended by org.apache.cocoon.portal.factory.impl.AbstractProducible
          extended by 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

Field Summary
protected  Map attributes
           
protected  CopletData copletData
           
protected  PreferenceSetImpl preferences
          Portlet preferences
protected  Map temporaryAttributes
          Temporary attributes are not persisted
 
Fields inherited from class org.apache.cocoon.portal.factory.impl.AbstractProducible
description, id, name
 
Fields inherited from class org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable
aspectDataHandler, persistentDatas
 
Constructor Summary
CopletInstanceData()
          Constructor
 
Method Summary
 void addAttribute(AttributedMapItem item)
           
protected  Object clone()
           
 CopletInstanceData copy()
           
 Object getAttribute(String key)
           
 Map getAttributes()
           
 Collection getCastorAttributes()
           
 org.apache.pluto.om.common.PreferenceSet getCastorPreferences()
           
 CopletData getCopletData()
           
 String getInstanceTitle()
           
 org.apache.pluto.om.common.PreferenceSet getPreferences()
           
 Object getTemporaryAttribute(String key)
           
 Map getTemporaryAttributes()
           
 String getTitle()
           
 Object removeAttribute(String key)
           
 Object removeTemporaryAttribute(String key)
           
 void setAttribute(String key, Object value)
           
 void setCastorPreferences(org.apache.pluto.om.common.PreferenceSet castorPreferences)
           
 void setCopletData(CopletData copletData)
          Sets the copletData.
 void setPreferences(PreferenceSetImpl preferences)
           
 void setTemporaryAttribute(String key, Object value)
           
 void setTitle(String title)
           
 
Methods inherited from class org.apache.cocoon.portal.factory.impl.AbstractProducible
getId, getName, initialize, setDescription, setId, setName
 
Methods inherited from class org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable
addPersistentAspectData, getAspectData, getAspectDatas, getPersistentAspectData, isAspectSupported, setAspectData, setAspectDataHandler
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cocoon.portal.aspect.Aspectalizable
addPersistentAspectData, getAspectData, getAspectDatas, getPersistentAspectData, isAspectSupported, setAspectData, setAspectDataHandler
 

Field Detail

copletData

protected CopletData copletData

attributes

protected Map attributes

temporaryAttributes

protected Map temporaryAttributes
Temporary attributes are not persisted


preferences

protected PreferenceSetImpl preferences
Portlet preferences

Constructor Detail

CopletInstanceData

public CopletInstanceData()
Constructor

Method Detail

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.