Deletes the commerce account organization rel from the database. Also notifies the appropriate model listeners.

@param commerceAccountOrganizationRel the commerce account organization rel
@return the commerce account organization rel that was removed
336333
public static com.liferay.commerce.account.model.CommerceAccountOrganizationRel deleteCommerceAccountOrganizationRel(
		com.liferay.commerce.account.model.CommerceAccountOrganizationRel commerceAccountOrganizationRel) {
		return getService()
				   .deleteCommerceAccountOrganizationRel(commerceAccountOrganizationRel);
	}
23499
@Override
	public void removeByCommerceAccountId(long commerceAccountId) {
		for (CommerceAccountUserRel commerceAccountUserRel : findByCommerceAccountId(
				commerceAccountId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceAccountUserRel);
		}
	}
623796
@Override
	@Transactional(enabled = false)
	public CommerceAccountUserRel createCommerceAccountUserRel(
		CommerceAccountUserRelPK commerceAccountUserRelPK) {
		return commerceAccountUserRelPersistence.create(commerceAccountUserRelPK);
	}
580927
@Override
	public void clearCache(
		CommerceAccountOrganizationRel commerceAccountOrganizationRel) {
		entityCache.removeResult(CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
			CommerceAccountOrganizationRelImpl.class,
			commerceAccountOrganizationRel.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
1246142
@Override
	public List<CommerceAccountOrganizationRel> findByCommerceAccountId(
		long commerceAccountId) {
		return findByCommerceAccountId(commerceAccountId, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
137104
public static CommerceAccount removeByC_ERC(long companyId,
		String externalReferenceCode)
		throws com.liferay.commerce.account.exception.NoSuchAccountException {
		return getPersistence().removeByC_ERC(companyId, externalReferenceCode);
	}
366916
@Override
	public void removeByCompanyId(long companyId) {
		for (CommerceAccount commerceAccount : findByCompanyId(companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceAccount);
		}
	}
590528
@Override
	public CommerceAccountUserRel create(
		CommerceAccountUserRelPK commerceAccountUserRelPK) {
		CommerceAccountUserRel commerceAccountUserRel = new CommerceAccountUserRelImpl();

		commerceAccountUserRel.setNew(true);
		commerceAccountUserRel.setPrimaryKey(commerceAccountUserRelPK);

		commerceAccountUserRel.setCompanyId(companyProvider.getCompanyId());

		return commerceAccountUserRel;
	}
1343404
public void setCommerceAccountOrganizationRelLocalService(
		com.liferay.commerce.account.service.CommerceAccountOrganizationRelLocalService commerceAccountOrganizationRelLocalService) {
		this.commerceAccountOrganizationRelLocalService = commerceAccountOrganizationRelLocalService;
	}
530583
@Override
	public com.liferay.commerce.price.list.model.CommerceTierPriceEntry deleteCommerceTierPriceEntry(
		com.liferay.commerce.price.list.model.CommerceTierPriceEntry commerceTierPriceEntry)
		throws com.liferay.portal.kernel.exception.PortalException {
		return _commerceTierPriceEntryLocalService.deleteCommerceTierPriceEntry(commerceTierPriceEntry);
	}
169779
@Override
	public void removeByG_C_O(long groupId, long commerceAccountId,
		int orderStatus) {
		for (CommerceOrder commerceOrder : findByG_C_O(groupId,
				commerceAccountId, orderStatus, QueryUtil.ALL_POS,
				QueryUtil.ALL_POS, null)) {
			remove(commerceOrder);
		}
	}
426771
public static com.liferay.commerce.account.model.CommerceAccountUserRel updateCommerceAccountUserRel(
		com.liferay.commerce.account.model.CommerceAccountUserRel commerceAccountUserRel) {
		return getService().updateCommerceAccountUserRel(commerceAccountUserRel);
	}
477256
@Override
	public List<CommerceAccountOrganizationRel> findAll() {
		return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
1042075
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceDiscountRel deleteCommerceDiscountRel(
		CommerceDiscountRel commerceDiscountRel) throws PortalException {
		return commerceDiscountRelPersistence.remove(commerceDiscountRel);
	}
523972
@Override
	public void cacheResult(
		List<CommerceAccountOrganizationRel> commerceAccountOrganizationRels) {
		for (CommerceAccountOrganizationRel commerceAccountOrganizationRel : commerceAccountOrganizationRels) {
			if (entityCache.getResult(
						CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
						CommerceAccountOrganizationRelImpl.class,
						commerceAccountOrganizationRel.getPrimaryKey()) == null) {
				cacheResult(commerceAccountOrganizationRel);
			}
			else {
				commerceAccountOrganizationRel.resetOriginalValues();
			}
		}
	}
931742
@Override
	public List<CommerceAccountUserRel> findByCommerceAccountId(
		long commerceAccountId) {
		return findByCommerceAccountId(commerceAccountId, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
1370237
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceAccountOrganizationRel addCommerceAccountOrganizationRel(
		CommerceAccountOrganizationRel commerceAccountOrganizationRel) {
		commerceAccountOrganizationRel.setNew(true);

		return commerceAccountOrganizationRelPersistence.update(commerceAccountOrganizationRel);
	}