int itemOrder;  if (insertItemOrder == -1) { insertItemOrder = this.getAssociatedItemsCount(); }
int itemOrder;
    private int organizeExistingItemsOrder(int insertItemOrder) {        Iterator items = this.getAssociatedItemsIterator();        if (this.getAssociatedItems() != null) {            int itemOrder;            if (insertItemOrder == -1) {                insertItemOrder = this.getAssociatedItemsCount();            }            for (; items.hasNext() ; ) {                IItem item = (IItem) items.next();                itemOrder = item.getItemOrder().intValue();                if (itemOrder >= insertItemOrder)                    item.setItemOrder(new Integer(itemOrder + 1));            }        }        return insertItemOrder;    }