public static CPRuleAssetCategoryRel[] findByAssetCategoryId_PrevAndNext(
		long CPRuleAssetCategoryRelId, long assetCategoryId,
		OrderByComparator<CPRuleAssetCategoryRel> orderByComparator)
		throws com.liferay.commerce.product.exception.NoSuchCPRuleAssetCategoryRelException {
		return getPersistence()
				   .findByAssetCategoryId_PrevAndNext(CPRuleAssetCategoryRelId,
			assetCategoryId, orderByComparator);
	}
public static CPRuleAssetCategoryRel [ ] findByAssetCategoryId_PrevAndNext ( long CPRuleAssetCategoryRelId , long assetCategoryId , OrderByComparator < CPRuleAssetCategoryRel > orderByComparator ) throws com . liferay . commerce . product . exception . NoSuchCPRuleAssetCategoryRelException { return getPersistence ( ) . findByAssetCategoryId_PrevAndNext ( CPRuleAssetCategoryRelId , assetCategoryId , orderByComparator ) ; }
Returns the cp rule asset category rels before and after the current cp rule asset category rel in the ordered set where assetCategoryId = &#63;.

@param CPRuleAssetCategoryRelId the primary key of the current cp rule asset category rel
@param assetCategoryId the asset category ID
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the previous, current, and next cp rule asset category rel
@throws NoSuchCPRuleAssetCategoryRelException if a cp rule asset category rel with the primary key could not be found