de.swm.gwt.client.interfaces.IPagingLoadResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swm-gwt-client Show documentation
Show all versions of swm-gwt-client Show documentation
Plain GWT Swm erweiterungen, auch zur benutzung in mobilen Geraeten
package de.swm.gwt.client.interfaces;
import java.io.Serializable;
import java.util.List;
/**
* Interface um Paging zu ermoeglichen.
*
* @author wiese.daniel
* copyright (C) 2011, SWM Services GmbH
*
* @param
*/
public interface IPagingLoadResult extends Serializable {
/**
* Returns the current offset of the results.
*
* @return the offset
*/
int getOffset();
/**
* Returns the total count. This value will not equal the number of records being returned when paging is used.
*
* @return the total count
*/
int getTotalLength();
/**
* Liefert den Payload.
*
* @return der payload.
*/
List getData();
}