code: public static CommerceNotificationTemplate[] filterFindByG_T_E_PrevAndNext(
  		long commerceNotificationTemplateId, long groupId, String type,
  		boolean enabled,
  		OrderByComparator<CommerceNotificationTemplate> orderByComparator)
  		throws com.liferay.commerce.notification.exception.NoSuchNotificationTemplateException {
  		return getPersistence()
  				   .filterFindByG_T_E_PrevAndNext(commerceNotificationTemplateId,
  			groupId, type, enabled, orderByComparator);
  	}
docs: Returns the commerce notification templates before and after the current commerce notification template in the ordered set of commerce notification templates that the user has permission to view where groupId = &#63; and type = &#63; and enabled = &#63;.
  
  @param commerceNotificationTemplateId the primary key of the current commerce notification template
  @param groupId the group ID
  @param type the type
  @param enabled the enabled
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next commerce notification template
  @throws NoSuchNotificationTemplateException if a commerce notification template with the primary key could not be found