protected void updateNewItemData(NewItemPlacementBean nipb) throws Throwable { NewItemBean nib = NewItemServicesUtils.getNewItemCommand().getActiveNewItemBean(nipb.getNewItemId()); if (nib == null) { if (LOG.isLoggable(Level.FINER)) LOG.log( Level.FINER, "New Item information for id [" + nipb.getNewItemId() + "] is missing!"); throw new ApplicationException( "New Item information for id [" + nipb.getNewItemId() + "] is missing!"); } nipb.setRejectReason(AUTO_REJECT_REASON); nipb.setAccepted(-1); nipb.setUpdatedBy("system"); nipb.setUpdatedOn(new GregorianCalendar()); // NewItemServicesUtils.getNewItemPlacementCommand()._storePlacement(nipb); // NewItemServicesUtils.getNewItemPlacementCommand()._processSlotting(nipb, nib); }