Browse.itemAdded(ourContext, this);
    public void reinstate()            throws SQLException, AuthorizeException, IOException    {        String timestamp = DCDate.getCurrent().toString();                // Check permission.  User must have ADD on all collections.        // Build some provenance data while we're at it.        String collectionProv = "";        Collection[] colls = getCollections();        for (int i = 0; i < colls.length; i++)        {            collectionProv = collectionProv + colls[i].getMetadata("name") +                " (ID: " + colls[i].getID() + ")\n";            AuthorizeManager.authorizeAction(ourContext, colls[i],                Constants.ADD);        }                // Clear withdrawn flag        itemRow.setColumn("withdrawn", false);        // in_archive flag is now true        itemRow.setColumn("in_archive", true);                // Add suitable provenance - includes user, date, collections +        // bitstream checksums        EPerson e = ourContext.getCurrentUser();        String prov = "Item reinstated by " + e.getFullName() + " (" +            e.getEmail() + ") on " + timestamp + "\n" +            "Item was in collections:\n" + collectionProv +            InstallItem.getBitstreamProvenanceMessage(this);        addDC("description", "provenance", "en", prov);                // Update item in DB        update();        // Invoke History system        HistoryManager.saveHistory(ourContext, this, HistoryManager.MODIFY, e,            ourContext.getExtraLogInfo());                // Add to indicies        Browse.itemAdded(ourContext, this);        DSIndexer.indexContent(ourContext, this);                // authorization policies        if (colls.length > 0)        {            // FIXME: not multiple inclusion friendly - just apply access            // policies from first collection            // remove the item's policies and replace them with            // the defaults from the collection            inheritCollectionDefaultPolicies( colls[0] );        }        // Write log        log.info(LogManager.getHeader(ourContext,            "reinstate_item",            "user=" + e.getEmail() + ",item_id=" + getID()));    }