question: public static int clearListInfo ( Delegator delegator , String shoppingListId ) throws GenericEntityException { delegator . removeByAnd ( "ShoppingListItemSurvey" , UtilMisc . toMap ( "shoppingListId" , shoppingListId ) ) ; return delegator . removeByAnd ( "ShoppingListItem" , UtilMisc . toMap ( "shoppingListId" , shoppingListId ) ) ; }
target:  Remove all items from the given list.