Returns all the cp rules where groupId = &#63;.

@param groupId the group ID
@return the matching cp rules
977610
@Override
	public List<CPRule> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
1179002
public GroupEntity findGroupById(String groupId) {
    checkAuthorization(Permissions.READ, Resources.GROUP, groupId);
    return getDbEntityManager().selectById(GroupEntity.class, groupId);
  }
1352868
@Override
	public com.liferay.commerce.product.model.CPInstance fetchCPInstanceByUuidAndGroupId(
		String uuid, long groupId) {
		return _cpInstanceLocalService.fetchCPInstanceByUuidAndGroupId(uuid,
			groupId);
	}
700770
@Override
	public List<CPSpecificationOption> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
383878
@Override
	public List<CommerceUserSegmentEntry> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
575613
public QueryControllerGroup getGroup(String groupId) {
		int index = getElementPosition(groupId);
		if (index == -1) {
		    return null;
		}
		QueryControllerGroup group = (QueryControllerGroup) entities.get(index);
		return group;
	}
499858
public boolean containsCommandGroup(String groupId) {
        if (commandMap.get(groupId) instanceof CommandGroup) {
            return true;
        }
        if (parent != null) {
            return parent.containsCommandGroup(groupId);
        }
        return false;
    }
331139
@Override
	public List<CommerceShipment> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
250714
@Override
	public List<CommerceWishList> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
200504
public CommandGroup getCommandGroup(String groupId) {
        
        if (logger.isDebugEnabled()) {
            logger.debug("Attempting to retrieve command group with id ["
                         + groupId
                         + "] from the command registry.");
        }
        
        Object command = getCommand(groupId, CommandGroup.class);
        
        return (CommandGroup) command;
        
    }
856175
@Override
	public List<CommerceUserSegmentEntry> filterFindByGroupId(long groupId) {
		return filterFindByGroupId(groupId, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
878566
@Override
	public CPDefinition fetchCPDefinitionByUuidAndGroupId(String uuid,
		long groupId) {
		return cpDefinitionPersistence.fetchByUUID_G(uuid, groupId);
	}
847834
@Override
	public List<CommercePriceList> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
458501
@Override
	public com.liferay.commerce.product.model.CProduct getCProductByUuidAndGroupId(
		String uuid, long groupId)
		throws com.liferay.portal.kernel.exception.PortalException {
		return _cProductLocalService.getCProductByUuidAndGroupId(uuid, groupId);
	}
1142099
public FeatureList selectByGroup(String groupid) {
		FeatureList list = new FeatureList();
		for (FeatureI f : this) {
			if (f.group().equals(groupid)) {
				list.add(f);
			}
		}

		return list;
	}
1116280
@Override
	public List<CommercePaymentMethodGroupRel> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
523701
@Override
	public List<CommerceNotificationQueueEntry> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}