Returns all the commerce accounts where userId = &#63; and type = &#63;.

@param userId the user ID
@param type the type
@return the matching commerce accounts
6721
@Override
	public List<CommerceAccount> findByU_T(long userId, int type) {
		return findByU_T(userId, type, QueryUtil.ALL_POS, QueryUtil.ALL_POS,
			null);
	}
946840
@Override
	public void removeByU_T(long userId, int type) {
		for (CommerceAccount commerceAccount : findByU_T(userId, type,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceAccount);
		}
	}
872111
public static List<CommerceCountry> findByG_B_A(long groupId,
		boolean billingAllowed, boolean active) {
		return getPersistence().findByG_B_A(groupId, billingAllowed, active);
	}
323600
@Override
	public List<CommercePriceList> findByCommerceCurrencyId(
		long commerceCurrencyId) {
		return findByCommerceCurrencyId(commerceCurrencyId, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
948372
public static java.util.List<com.liferay.commerce.discount.model.CommerceDiscount> getCommerceDiscountsByUuidAndCompanyId(
		String uuid, long companyId) {
		return getService()
				   .getCommerceDiscountsByUuidAndCompanyId(uuid, companyId);
	}
945345
@Override
	public List<CommerceUserSegmentCriterion> findAll() {
		return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
839272
public Store getStore(StoreConfiguration storeConfiguration, List<Class<?>> types) {
        StoreKey key = StoreKey.builder().uri(storeConfiguration.getUri().normalize()).username(storeConfiguration.getUsername()).build();
        Store store = storesByKey.get(key);
        if (store == null) {
            store = StoreFactory.getStore(storeConfiguration);
            store.start(types);
            storesByKey.put(key, store);
            keysByStore.put(store, key);
        }
        return store;
    }
592779
@Override
	public CommerceRegion fetchCommerceRegionByUuidAndGroupId(String uuid,
		long groupId) {
		return commerceRegionPersistence.fetchByUUID_G(uuid, groupId);
	}
864532
@Override
	public com.liferay.commerce.model.CommerceRegion fetchCommerceRegionByUuidAndGroupId(
		String uuid, long groupId) {
		return _commerceRegionLocalService.fetchCommerceRegionByUuidAndGroupId(uuid,
			groupId);
	}
459326
public static List<CommercePriceListAccountRel> findByUuid_C(String uuid,
		long companyId) {
		return getPersistence().findByUuid_C(uuid, companyId);
	}
366050
@Override
	public List<CommerceNotificationTemplateUserSegmentRel> findByCommerceUserSegmentEntryId(
		long commerceUserSegmentEntryId) {
		return findByCommerceUserSegmentEntryId(commerceUserSegmentEntryId,
			QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
1349949
@Override
	public List<CommerceWishList> findByG_U_D(long groupId, long userId,
		boolean defaultWishList) {
		return findByG_U_D(groupId, userId, defaultWishList, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
368245
@Override
	public com.liferay.commerce.account.service.persistence.CommerceAccountUserRelPK getPrimaryKey() {
		return _commerceAccountUserRel.getPrimaryKey();
	}
462621
@Override
	public List<CommerceDiscountRel> findByCommerceDiscountId(
		long commerceDiscountId) {
		return findByCommerceDiscountId(commerceDiscountId, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
1182711
@Override
	public List<CommerceAccount> findByCompanyId(long companyId) {
		return findByCompanyId(companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS,
			null);
	}
866433
@Override
	public List<CommerceWishListItem> findByCPInstanceUuid(
		String CPInstanceUuid) {
		return findByCPInstanceUuid(CPInstanceUuid, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
590528
@Override
	public CommerceAccountUserRel create(
		CommerceAccountUserRelPK commerceAccountUserRelPK) {
		CommerceAccountUserRel commerceAccountUserRel = new CommerceAccountUserRelImpl();

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

		commerceAccountUserRel.setCompanyId(companyProvider.getCompanyId());

		return commerceAccountUserRel;
	}