&& StringUtils.isBlank(connectorName)) {
return true;
}
IOrderSyncInfoDAO orderSyncInfoDAO = Registry.getOrderSyncInfoDAO();
if (isNewObject()) {
return !orderSyncInfoDAO
.existsByKeyOrderAndConnectorNameAnotherTransaction(this);
} else {
OrderSyncInfo found = orderSyncInfoDAO
.findUniqueByKeyOrderAndConnectorNameAnotherTransaction(
key, order, connectorName);