All Downloads are FREE. Search and download functionalities are using the official Maven repository.

artoria.action.handler.ExportHandler Maven / Gradle / Ivy

The newest version!
package artoria.action.handler;

import artoria.action.ActionHandler;

import java.util.List;

/**
 * The export handler.
 * @param 

The export parameter type * @param The type of data obtained * @author Kahle */ public interface ExportHandler extends ActionHandler, ImportExportHandler { /** * Obtain the data to be exported by paging. * @param context The export context * @param pageId The page identifier ("pageNum" or "scrollId") * @return The queried data */ List getData(ExportContext

context, Object pageId); /** * The export context. * @param

The export parameter type * @author Kahle */ class ExportContext

extends ImportExportContext

{ /** * The page size at each time the data is fetched. */ private Integer pageSize; public Integer getPageSize() { return pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy