code: @Override
  	public void removeByG_P_T(long groupId, boolean primary, int type) {
  		for (CPMeasurementUnit cpMeasurementUnit : findByG_P_T(groupId,
  				primary, type, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
  			remove(cpMeasurementUnit);
  		}
  	}
docs: Removes all the cp measurement units where groupId = &#63; and primary = &#63; and type = &#63; from the database.
  
  @param groupId the group ID
  @param primary the primary
  @param type the type