public Object start() throws ReadOnlyException {    LOG.debug("Storing binary resource " + blob.getFileName()); blob.setPage(domDb.addBinary(data));
public Object start() { final long address = node.getInternalAddress(); if (address > -1) domDb.remove(new NodeRef(doc.getDocId(), node.getGID()), address); else domDb.remove(new NodeRef(doc.getDocId(), node.getGID()));
			public Object start() throws ReadOnlyException {//				if (blob.getPage() > -1) {//					domDb.remove(blob.getPage());//				}				LOG.debug("Storing binary resource " + blob.getFileName());				blob.setPage(domDb.addBinary(data));				return null;			}