code: public static <StoredObjectType, ResultSetType> Pagination createPagination(PageCriteria pageCriteria)
      {
      	String id = pageCriteria.getId();
      	
      	if(id == null || id.length() == 0) 
      	{
      		return null;
      	}
      	Pagination pagination = ClassPath.newInstance(paginationClassName,String.class,pageCriteria.getId());
      	
      	paginationMap.put(id, pagination);
      	
      	return pagination;
  		 
      	
      }
docs: Create a pagination instance
  @param <StoredObjectType> the stored object type
  @param <ResultSetType> the results set type
  @param pageCriteria the page criteria
  @return pagination instance