code: @Override
  	public CPRuleAssetCategoryRel findByAssetCategoryId_First(
  		long assetCategoryId,
  		OrderByComparator<CPRuleAssetCategoryRel> orderByComparator)
  		throws NoSuchCPRuleAssetCategoryRelException {
  		CPRuleAssetCategoryRel cpRuleAssetCategoryRel = fetchByAssetCategoryId_First(assetCategoryId,
  				orderByComparator);
  
  		if (cpRuleAssetCategoryRel != null) {
  			return cpRuleAssetCategoryRel;
  		}
  
  		StringBundler msg = new StringBundler(4);
  
  		msg.append(_NO_SUCH_ENTITY_WITH_KEY);
  
  		msg.append("assetCategoryId=");
  		msg.append(assetCategoryId);
  
  		msg.append("}");
  
  		throw new NoSuchCPRuleAssetCategoryRelException(msg.toString());
  	}
docs: Returns the first cp rule asset category rel in the ordered set where assetCategoryId = &#63;.
  
  @param assetCategoryId the asset category ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the first matching cp rule asset category rel
  @throws NoSuchCPRuleAssetCategoryRelException if a matching cp rule asset category rel could not be found