private void updateDataForIntroduce(IOseeBranch destination, OrcsData data) throws OseeCoreException { VersionData version = data.getVersion(); version.setBranchId(destination.getUuid()); version.setHistorical(false); version.setTransactionId(RelationalConstants.TRANSACTION_SENTINEL); // do not clear gammaId for introduce case so we reuse the same version }
private void updateDataForCopy(IOseeBranch destination, OrcsData data) throws OseeCoreException { VersionData version = data.getVersion(); version.setBranchId(destination.getUuid()); version.setTransactionId(RelationalConstants.TRANSACTION_SENTINEL); version.setStripeId(RelationalConstants.TRANSACTION_SENTINEL); version.setHistorical(false); version.setGammaId(RelationalConstants.GAMMA_SENTINEL); data.setModType(ModificationType.NEW); }