magoffin.matt.ma2.support
Class MoveItemsCommand

java.lang.Object
  extended by magoffin.matt.ma2.support.MoveItemsCommand

public class MoveItemsCommand
extends java.lang.Object

Command object for moving items into a new Collection.

Version:
$Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
Author:
matt.magoffin

Constructor Summary
MoveItemsCommand()
          Default constructor.
MoveItemsCommand(java.lang.Long collectionId, java.lang.Long[] itemIds)
          Construct with data.
 
Method Summary
 java.lang.Long getCollectionId()
           
 java.lang.Long[] getItemIds()
           
 void setCollectionId(java.lang.Long collectionId)
           
 void setItemIds(java.lang.Long[] itemIds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveItemsCommand

public MoveItemsCommand()
Default constructor.


MoveItemsCommand

public MoveItemsCommand(java.lang.Long collectionId,
                        java.lang.Long[] itemIds)
Construct with data.

Parameters:
collectionId - the collection ID
itemIds - the item IDs
Method Detail

getCollectionId

public java.lang.Long getCollectionId()
Returns:
the collectionId

setCollectionId

public void setCollectionId(java.lang.Long collectionId)
Parameters:
collectionId - the collectionId to set

getItemIds

public java.lang.Long[] getItemIds()
Returns:
the itemIds

setItemIds

public void setItemIds(java.lang.Long[] itemIds)
Parameters:
itemIds - the itemIds to set