/** * Updates a record using standard java object serialization. * * @param recid the recid for the record that is to be updated. * @param obj the new object for the record. * @throws IOException when one of the underlying I/O operations fails. */ public void update( long recid, Object obj ) throws IOException { update( recid, obj, DefaultSerializer.INSTANCE ); }
/** * Updates a record using standard java object serialization. * * @param recid the recid for the record that is to be updated. * @param obj the new object for the record. * @throws IOException when one of the underlying I/O operations fails. */ public void update( long recid, Object obj ) throws IOException { update( recid, obj, DefaultSerializer.INSTANCE ); }
/** * Updates a record using standard java object serialization. * * @param recid the recid for the record that is to be updated. * @param obj the new object for the record. * @throws IOException when one of the underlying I/O operations fails. */ public void update( long recid, Object obj ) throws IOException { update( recid, obj, DefaultSerializer.INSTANCE ); }
private void saveNameDirectory( Map<String,Long> directory ) throws IOException { long recid = getRoot( NAME_DIRECTORY_ROOT ); if ( recid == 0 ) { throw new IOException( "Name directory must exist" ); } update( recid, _nameDirectory ); }
private void saveNameDirectory( Map<String,Long> directory ) throws IOException { long recid = getRoot( NAME_DIRECTORY_ROOT ); if ( recid == 0 ) { throw new IOException( I18n.err( I18n.ERR_537 ) ); } update( recid, nameDirectory ); }
private void saveNameDirectory() throws IOException { long recid = getRoot( NAME_DIRECTORY_ROOT ); if ( recid == 0 ) { throw new IOException( I18n.err( I18n.ERR_537 ) ); } update( recid, nameDirectory ); }
private void saveNameDirectory() throws IOException { long recid = getRoot( NAME_DIRECTORY_ROOT ); if ( recid == 0 ) { throw new IOException( I18n.err( I18n.ERR_537 ) ); } update( recid, nameDirectory ); }