String newHandle = HandleManager.createHandle(context, c);
c.handle = HandleManager.createHandle(context, c);
    static Collection create(Context context)        throws SQLException, AuthorizeException    {        TableRow row = DatabaseManager.create(context, "collection");        Collection c = new Collection(context, row);        String newHandle = HandleManager.createHandle(context, c);        // create the default authorization policy for collections        // of 'anonymous' READ        Group anonymousGroup = Group.find(context, 0);        ResourcePolicy myPolicy = ResourcePolicy.create(context);        myPolicy.setResource( c );        myPolicy.setAction  ( Constants.READ );        myPolicy.setGroup   ( anonymousGroup );        myPolicy.update();        // now create the default policies for submitted items        myPolicy = ResourcePolicy.create(context);        myPolicy.setResource( c );        myPolicy.setAction  ( Constants.DEFAULT_ITEM_READ );        myPolicy.setGroup   ( anonymousGroup );        myPolicy.update();                myPolicy = ResourcePolicy.create(context);        myPolicy.setResource( c );        myPolicy.setAction  ( Constants.DEFAULT_BITSTREAM_READ );        myPolicy.setGroup   ( anonymousGroup );        myPolicy.update();                HistoryManager.saveHistory(context,            c,            HistoryManager.CREATE,            context.getCurrentUser(),            context.getExtraLogInfo());        log.info(LogManager.getHeader(context,            "create_collection",            "collection_id=" + row.getIntColumn("collection_id")) +            ",handle=" + newHandle);        return c;    }