public Object start() { long address = previous.getInternalAddress();  if (address > -1) address = domDb.insertAfter(address, data); else { NodeRef ref = new NodeRef( ((DocumentImpl) previous.getOwnerDocument()).getDocId(), previous.getGID()); address = domDb.insertAfter(ref, data);
public Object start() throws ReadOnlyException { if (-1 < internalAddress) domDb.update( new NodeRef(doc.getDocId(), node.getGID()), internalAddress, data); else domDb.update(new NodeRef(doc.getDocId(), node.getGID()), data);  return null;
			public Object start() {				long address = previous.getInternalAddress();//				LOG.debug("inserting new child after " + address);				if (address > -1)					address = domDb.insertAfter(address, data);				else {					NodeRef ref =						new NodeRef(							((DocumentImpl) previous.getOwnerDocument()).getDocId(),							previous.getGID());					address = domDb.insertAfter(ref, data);				}				node.setInternalAddress(address);				return null;			}