org.apache.cocoon.portal.aspect.impl
Class DefaultAspectDataHandler

java.lang.Object
  extended by org.apache.cocoon.portal.aspect.impl.DefaultAspectDataHandler
All Implemented Interfaces:
AspectDataHandler

public class DefaultAspectDataHandler
extends Object
implements AspectDataHandler

Version:
CVS $Id: DefaultAspectDataHandler.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Field Summary
protected  AspectalizableDescription description
           
protected  ServiceSelector storeSelector
           
 
Constructor Summary
DefaultAspectDataHandler(AspectalizableDescription desc, ServiceSelector storeSelector)
          Constructor
 
Method Summary
 Object getAspectData(Aspectalizable owner, String aspectName)
           
 Map getAspectDatas(Aspectalizable owner)
           
 Map getPersistentAspectDatas(Aspectalizable owner)
           
 boolean isAspectSupported(String aspectName)
          Is this supported
 void setAspectData(Aspectalizable owner, String aspectName, Object data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected AspectalizableDescription description

storeSelector

protected ServiceSelector storeSelector
Constructor Detail

DefaultAspectDataHandler

public DefaultAspectDataHandler(AspectalizableDescription desc,
                                ServiceSelector storeSelector)
Constructor

Method Detail

getAspectData

public Object getAspectData(Aspectalizable owner,
                            String aspectName)
Specified by:
getAspectData in interface AspectDataHandler

getAspectDatas

public Map getAspectDatas(Aspectalizable owner)
Specified by:
getAspectDatas in interface AspectDataHandler

getPersistentAspectDatas

public Map getPersistentAspectDatas(Aspectalizable owner)
Specified by:
getPersistentAspectDatas in interface AspectDataHandler

setAspectData

public void setAspectData(Aspectalizable owner,
                          String aspectName,
                          Object data)
Specified by:
setAspectData in interface AspectDataHandler

isAspectSupported

public boolean isAspectSupported(String aspectName)
Is this supported

Specified by:
isAspectSupported in interface AspectDataHandler


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.