public void postCommit(CommitTransactionResult result) { if (result != null) { if (result.getRollbackMessage() != null) { final CDOReferenceAdjuster defaultReferenceAdjuster = result.getReferenceAdjuster(); result.setReferenceAdjuster( new CDOReferenceAdjuster() { public Object adjustReference(Object id, EStructuralFeature feature, int index) { CDOIDTempObjectExternalImpl externalID = objectToID.get(id); if (externalID != null) { id = externalID; } return defaultReferenceAdjuster.adjustReference(id, feature, index); } }); } delegateCommitContext.postCommit(result); } }
public int getViewID() { return delegateCommitContext.getViewID(); }
public Collection<CDOLob<?>> getLobs() { return delegateCommitContext.getLobs(); }
public void preCommit() { delegateCommitContext.preCommit(); }
public Map<CDOID, CDOObject> getDetachedObjects() { return delegateCommitContext.getDetachedObjects(); }
public Map<CDOID, CDORevisionDelta> getRevisionDeltas() { return delegateCommitContext.getRevisionDeltas(); }
public List<CDOPackageUnit> getNewPackageUnits() { return delegateCommitContext.getNewPackageUnits(); }
public Collection<CDOLockState> getLocksOnNewObjects() { return delegateCommitContext.getLocksOnNewObjects(); }
public CDOCommitData getCommitData() { return delegateCommitContext.getCommitData(); }
public String getCommitComment() { return delegateCommitContext.getCommitComment(); }
public boolean isPartialCommit() { return delegateCommitContext.isPartialCommit(); }
public boolean isAutoReleaseLocks() { return delegateCommitContext.isAutoReleaseLocks(); }
public InternalCDOTransaction getTransaction() { return delegateCommitContext.getTransaction(); }
public CDOBranch getBranch() { return delegateCommitContext.getBranch(); }
public String getUserID() { return delegateCommitContext.getUserID(); }