Updates the commerce account in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

@param commerceAccount the commerce account
@return the commerce account that was updated
490136
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceAccount updateCommerceAccount(
		CommerceAccount commerceAccount) {
		return commerceAccountPersistence.update(commerceAccount);
	}
862042
public static com.liferay.commerce.discount.model.CommerceDiscountUsageEntry addCommerceDiscountUsageEntry(
		com.liferay.commerce.discount.model.CommerceDiscountUsageEntry commerceDiscountUsageEntry) {
		return getService()
				   .addCommerceDiscountUsageEntry(commerceDiscountUsageEntry);
	}
426771
public static com.liferay.commerce.account.model.CommerceAccountUserRel updateCommerceAccountUserRel(
		com.liferay.commerce.account.model.CommerceAccountUserRel commerceAccountUserRel) {
		return getService().updateCommerceAccountUserRel(commerceAccountUserRel);
	}
1036439
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceDiscount updateCommerceDiscount(
		CommerceDiscount commerceDiscount) {
		return commerceDiscountPersistence.update(commerceDiscount);
	}
89199
@Override
	@Transactional(enabled = false)
	public CommerceDiscount createCommerceDiscount(long commerceDiscountId) {
		return commerceDiscountPersistence.create(commerceDiscountId);
	}
330582
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceShipment addCommerceShipment(
		CommerceShipment commerceShipment) {
		commerceShipment.setNew(true);

		return commerceShipmentPersistence.update(commerceShipment);
	}
784045
@Override
	public com.liferay.commerce.discount.model.CommerceDiscount updateCommerceDiscount(
		com.liferay.commerce.discount.model.CommerceDiscount commerceDiscount) {
		return _commerceDiscountLocalService.updateCommerceDiscount(commerceDiscount);
	}
411344
@Override
	public com.liferay.commerce.account.model.CommerceAccount addCommerceAccount(
		com.liferay.commerce.account.model.CommerceAccount commerceAccount) {
		return _commerceAccountLocalService.addCommerceAccount(commerceAccount);
	}
736783
@Override
	public void cacheResult(List<CommerceAccount> commerceAccounts) {
		for (CommerceAccount commerceAccount : commerceAccounts) {
			if (entityCache.getResult(
						CommerceAccountModelImpl.ENTITY_CACHE_ENABLED,
						CommerceAccountImpl.class,
						commerceAccount.getPrimaryKey()) == null) {
				cacheResult(commerceAccount);
			}
			else {
				commerceAccount.resetOriginalValues();
			}
		}
	}
1224409
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceAccountUserRel addCommerceAccountUserRel(
		CommerceAccountUserRel commerceAccountUserRel) {
		commerceAccountUserRel.setNew(true);

		return commerceAccountUserRelPersistence.update(commerceAccountUserRel);
	}
102582
@Override
	public void clearCache(CommerceAccount commerceAccount) {
		entityCache.removeResult(CommerceAccountModelImpl.ENTITY_CACHE_ENABLED,
			CommerceAccountImpl.class, commerceAccount.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);

		clearUniqueFindersCache((CommerceAccountModelImpl)commerceAccount, true);
	}
341813
public static void addCommerceAccountUserRels(long commerceAccountId,
		long[] userIds, String[] emailAddresses, long[] roleIds,
		com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {
		getService()
			.addCommerceAccountUserRels(commerceAccountId, userIds,
			emailAddresses, roleIds, serviceContext);
	}
623796
@Override
	@Transactional(enabled = false)
	public CommerceAccountUserRel createCommerceAccountUserRel(
		CommerceAccountUserRelPK commerceAccountUserRelPK) {
		return commerceAccountUserRelPersistence.create(commerceAccountUserRelPK);
	}
1203164
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceOrder addCommerceOrder(CommerceOrder commerceOrder) {
		commerceOrder.setNew(true);

		return commerceOrderPersistence.update(commerceOrder);
	}
447246
public static com.liferay.commerce.price.list.model.CommercePriceListAccountRel addCommercePriceListAccountRel(
		com.liferay.commerce.price.list.model.CommercePriceListAccountRel commercePriceListAccountRel) {
		return getService()
				   .addCommercePriceListAccountRel(commercePriceListAccountRel);
	}
1140180
public void setCommerceAccountUserRelLocalService(
		com.liferay.commerce.account.service.CommerceAccountUserRelLocalService commerceAccountUserRelLocalService) {
		this.commerceAccountUserRelLocalService = commerceAccountUserRelLocalService;
	}
431300
@Override
	@Transactional(enabled = false)
	public CommerceAccount createCommerceAccount(long commerceAccountId) {
		return commerceAccountPersistence.create(commerceAccountId);
	}