code: @Override
  	public CPFriendlyURLEntry[] findByG_C_U_PrevAndNext(
  		long CPFriendlyURLEntryId, long groupId, long classNameId,
  		String urlTitle, OrderByComparator<CPFriendlyURLEntry> orderByComparator)
  		throws NoSuchCPFriendlyURLEntryException {
  		CPFriendlyURLEntry cpFriendlyURLEntry = findByPrimaryKey(CPFriendlyURLEntryId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CPFriendlyURLEntry[] array = new CPFriendlyURLEntryImpl[3];
  
  			array[0] = getByG_C_U_PrevAndNext(session, cpFriendlyURLEntry,
  					groupId, classNameId, urlTitle, orderByComparator, true);
  
  			array[1] = cpFriendlyURLEntry;
  
  			array[2] = getByG_C_U_PrevAndNext(session, cpFriendlyURLEntry,
  					groupId, classNameId, urlTitle, orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}
docs: Returns the cp friendly url entries before and after the current cp friendly url entry in the ordered set where groupId = &#63; and classNameId = &#63; and urlTitle = &#63;.
  
  @param CPFriendlyURLEntryId the primary key of the current cp friendly url entry
  @param groupId the group ID
  @param classNameId the class name ID
  @param urlTitle the url title
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next cp friendly url entry
  @throws NoSuchCPFriendlyURLEntryException if a cp friendly url entry with the primary key could not be found