public void storeBinaryResource(final BLOBDocument blob, final byte[] data) {
public void storeBinaryResource(final BinaryDocument blob, final byte[] data) {
	public void storeBinaryResource(final BLOBDocument blob, final byte[] data) {		new DOMTransaction(this, domDb, Lock.WRITE_LOCK) {			public Object start() throws ReadOnlyException {				if (blob.getPage() > -1) {					domDb.remove(blob.getPage());				}				blob.setPage(domDb.addBinary(data));				return null;			}		}		.run();	}