info.itemIds.add(id);
info.itemIds.add(getType(), id);
    PendingDelete getDeletionInfo() throws ServiceException {        if (!canAccess(ACL.RIGHT_DELETE))            throw ServiceException.PERM_DENIED("you do not have the required rights on the item");        Integer id = new Integer(mId);        PendingDelete info = new PendingDelete();        info.rootId = mId;        info.size   = mData.size;        info.itemIds.add(id);        if (mData.unreadCount != 0 && mMailbox.mUnreadFlag.canTag(this))            info.unreadIds.add(id);        if (mData.indexId > 0) {            if (!isTagged(mMailbox.mCopiedFlag))                info.indexIds.add(new Integer(mData.indexId));            else                (info.sharedIndex = new HashSet<Integer>()).add(mData.indexId);        }        if (mData.blobDigest != null && mData.blobDigest.length() > 0)            try {                MailboxBlob mblob = StoreManager.getInstance().getMailboxBlob(mMailbox, mId, mData.modContent, mData.volumeId);                if (mblob == null)                    ZimbraLog.mailbox.error("missing blob for id: " + mId + ", change: " + mData.modContent);                else                    info.blobs.add(mblob);            } catch (Exception e) { }        int isMessage = (this instanceof Message ? 1 : 0);        info.messages.put(new Integer(getFolderId()), new DbMailItem.LocationCount(isMessage, getSize()));        return info;    }