Subversion Repositories eFlore/Applications.coel

Rev

Rev 1513 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1513 Rev 1567
Line 44... Line 44...
44
	}
44
	}
Line 45... Line 45...
45
 
45
 
46
	  @SuppressWarnings("unchecked")
46
	  @SuppressWarnings("unchecked")
47
	  @Override
47
	  @Override
48
	  protected Object createReturnData(Object loadConfig, List<ModelData> records, int totalCount) {
48
	  protected Object createReturnData(Object loadConfig, List<ModelData> records, int totalCount) {
Line 49... Line 49...
49
	    ListLoadResult<?> result = (ListLoadResult<?>) super.createReturnData(loadConfig, records, totalCount);
49
	    ListLoadResult<D> result = (ListLoadResult<D>) super.createReturnData(loadConfig, records, totalCount);
50
 
50
 
51
	    if (result instanceof PagingLoadResult) {
51
	    if (result instanceof PagingLoadResult) {
Line 52... Line 52...
52
	      PagingLoadResult<?> r = (PagingLoadResult<?>) result;
52
	      PagingLoadResult<D> r = (PagingLoadResult<D>) result;
53
	      r.setTotalLength(totalCount);
53
	      r.setTotalLength(totalCount);
54
 
54