// If the new BusinessEntity has a BusinessKey then it must already
// exists so delete the old one. It a BusinessKey isn't specified then
// this is a new BusinessEntity so create a new BusinessKey for it.
if ((businessKey != null) && (businessKey.length() > 0))
{
dataStore.deleteBusiness(businessKey);
}
else
{
business.setBusinessKey(uuidgen.uuidgen());
}