*/
public Collection getCartItems( )
{
try
{
ItemLocalHome ihome = ItemUtil.getLocalHome( );
ArrayList items = new ArrayList( );
Iterator it = _details.keySet( ).iterator( );
while ( it.hasNext( ) )
{
String key = ( String ) it.next( );
Integer value = ( Integer ) _details.get( key );
try
{
ItemLocal ilocal = ihome.findByPrimaryKey( key );
ItemValue item = ilocal.getItemValue( );
ProductValue prod = ilocal.getProduct( ).getProductValue( );
CartItem ci = new CartItem( item.getItemId( ), prod.getProductId( ), prod.getName( ), item.getDescription( ), value.intValue( ), item.getListPrice( ) );