org.apache.cocoon.portal.coplets.basket.events
Class ShowItemEvent

java.lang.Object
  extended by org.apache.cocoon.portal.coplets.basket.events.ContentStoreEvent
      extended by org.apache.cocoon.portal.coplets.basket.events.ShowItemEvent
All Implemented Interfaces:
Event

public class ShowItemEvent
extends ContentStoreEvent

Show one item of a content store

Version:
CVS $Id: ShowItemEvent.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
protected  String copletData
          The id of the coplet data used to display the content
protected  Object item
          The item to show
protected  Layout layout
          The layout object to use
 
Fields inherited from class org.apache.cocoon.portal.coplets.basket.events.ContentStoreEvent
store
 
Constructor Summary
ShowItemEvent(ContentStore store, Object item, Layout layout, String copletData)
          Constructor
 
Method Summary
 String getCopletDataId()
          Return the coplet data id
 Object getItem()
          Return item
 Layout getLayout()
          Return the layout
 
Methods inherited from class org.apache.cocoon.portal.coplets.basket.events.ContentStoreEvent
getContentStore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

item

protected final Object item
The item to show


layout

protected final Layout layout
The layout object to use


copletData

protected final String copletData
The id of the coplet data used to display the content

Constructor Detail

ShowItemEvent

public ShowItemEvent(ContentStore store,
                     Object item,
                     Layout layout,
                     String copletData)
Constructor

Parameters:
store - The content store
item - The item to show
layout - The layout object where the item is displayed
copletData - The coplet data id of a content coplet
Method Detail

getItem

public Object getItem()
Return item


getLayout

public Layout getLayout()
Return the layout


getCopletDataId

public String getCopletDataId()
Return the coplet data id



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