docs: @Override
  	public CPFriendlyURLEntry[] findByG_C_C_M_PrevAndNext(
  		long CPFriendlyURLEntryId, long groupId, long classNameId,
  		long classPK, boolean main,
  		OrderByComparator<CPFriendlyURLEntry> orderByComparator)
  		throws NoSuchCPFriendlyURLEntryException {
  		CPFriendlyURLEntry cpFriendlyURLEntry = findByPrimaryKey(CPFriendlyURLEntryId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CPFriendlyURLEntry[] array = new CPFriendlyURLEntryImpl[3];
  
  			array[0] = getByG_C_C_M_PrevAndNext(session, cpFriendlyURLEntry,
  					groupId, classNameId, classPK, main, orderByComparator, true);
  
  			array[1] = cpFriendlyURLEntry;
  
  			array[2] = getByG_C_C_M_PrevAndNext(session, cpFriendlyURLEntry,
  					groupId, classNameId, classPK, main, orderByComparator,
  					false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}