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

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

public class MoveItemEvent
extends ContentStoreEvent

Move an item from one store to another

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

Field Summary
protected  Object item
          The item to move
protected  ContentStore target
          The target store
 
Fields inherited from class org.apache.cocoon.portal.coplets.basket.events.ContentStoreEvent
store
 
Constructor Summary
MoveItemEvent(ContentStore store, Object item, ContentStore target)
          Constructor
 
Method Summary
 Object getItem()
          Return the item to remove
 ContentStore getTarget()
          Return the target
 
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 Object item
The item to move


target

protected final ContentStore target
The target store

Constructor Detail

MoveItemEvent

public MoveItemEvent(ContentStore store,
                     Object item,
                     ContentStore target)
Constructor

Parameters:
store - The content store
item - The item to move
target - The target store
Method Detail

getItem

public Object getItem()
Return the item to remove


getTarget

public ContentStore getTarget()
Return the target



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