示例#1
0
  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);
    }
  }
示例#2
0
 public int getViewID() {
   return delegateCommitContext.getViewID();
 }
示例#3
0
 public Collection<CDOLob<?>> getLobs() {
   return delegateCommitContext.getLobs();
 }
示例#4
0
 public void preCommit() {
   delegateCommitContext.preCommit();
 }
示例#5
0
 public Map<CDOID, CDOObject> getDetachedObjects() {
   return delegateCommitContext.getDetachedObjects();
 }
示例#6
0
 public Map<CDOID, CDORevisionDelta> getRevisionDeltas() {
   return delegateCommitContext.getRevisionDeltas();
 }
示例#7
0
 public List<CDOPackageUnit> getNewPackageUnits() {
   return delegateCommitContext.getNewPackageUnits();
 }
示例#8
0
 public Collection<CDOLockState> getLocksOnNewObjects() {
   return delegateCommitContext.getLocksOnNewObjects();
 }
示例#9
0
 public CDOCommitData getCommitData() {
   return delegateCommitContext.getCommitData();
 }
示例#10
0
 public String getCommitComment() {
   return delegateCommitContext.getCommitComment();
 }
示例#11
0
 public boolean isPartialCommit() {
   return delegateCommitContext.isPartialCommit();
 }
示例#12
0
 public boolean isAutoReleaseLocks() {
   return delegateCommitContext.isAutoReleaseLocks();
 }
示例#13
0
 public InternalCDOTransaction getTransaction() {
   return delegateCommitContext.getTransaction();
 }
示例#14
0
 public CDOBranch getBranch() {
   return delegateCommitContext.getBranch();
 }
示例#15
0
 public String getUserID() {
   return delegateCommitContext.getUserID();
 }