public <K,V> Map<K,V> readResultsByPage(TextPageCriteria criteria, int pageNumber, Region<K,V> region, Region<String,Collection<?>> pageRegion)
	{
		if(pageRegion == null )
			return null;
		
		Collection<?> regionKeys = pageRegion.get(criteria.toPageKey(pageNumber));
		
		if(regionKeys == null|| regionKeys.isEmpty())
			return null;
		
		return region.getAll(regionKeys);
	}
public <K,V> Map<K,V> readResultsByPage(TextPageCriteria criteria, int pageNumber, Region<K,V> region, Region<String,Collection<?>> pageRegion)
	{
		if(pageRegion == null )
			return null;
		
		Collection<?> regionKeys = pageRegion.get(criteria.toPageKey(pageNumber));
		
		if(regionKeys == null|| regionKeys.isEmpty())
			return null;
		
		return region.getAll(regionKeys);
	}
public < K , V > Map < K , V > readResultsByPage ( TextPageCriteria criteria , int pageNumber , Region < K , V > region , Region < String , Collection < ? > > pageRegion ) { if ( pageRegion == null ) return null ; Collection < ? > regionKeys = pageRegion . get ( criteria . toPageKey ( pageNumber ) ) ; if ( regionKeys == null || regionKeys . isEmpty ( ) ) return null ; return region . getAll ( regionKeys ) ; }
Read Results from region by keys in pageRegion
@param <K> the key class
@param <V> the value class
@param criteria the text page criteria
@param pageNumber the page number to retrieve
@param region the region where data is retrieved
@param pageRegion the page region with key contains the pageKey and value the keys to the region
@return region.getAll(pageKey)
Read Results from region by keys in pageRegion