docs: @Override
  	public CPDefinition[] findByC_S_PrevAndNext(long CPDefinitionId,
  		long CProductId, int status,
  		OrderByComparator<CPDefinition> orderByComparator)
  		throws NoSuchCPDefinitionException {
  		CPDefinition cpDefinition = findByPrimaryKey(CPDefinitionId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CPDefinition[] array = new CPDefinitionImpl[3];
  
  			array[0] = getByC_S_PrevAndNext(session, cpDefinition, CProductId,
  					status, orderByComparator, true);
  
  			array[1] = cpDefinition;
  
  			array[2] = getByC_S_PrevAndNext(session, cpDefinition, CProductId,
  					status, orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}