code: @Override
  	public CPDefinition fetchByC_S_First(long CProductId, int status,
  		OrderByComparator<CPDefinition> orderByComparator) {
  		List<CPDefinition> list = findByC_S(CProductId, status, 0, 1,
  				orderByComparator);
  
  		if (!list.isEmpty()) {
  			return list.get(0);
  		}
  
  		return null;
  	}
docs: Returns the first cp definition in the ordered set where CProductId = &#63; and status = &#63;.
  
  @param CProductId the c product ID
  @param status the status
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the first matching cp definition, or <code>null</code> if a matching cp definition could not be found