/** * Load the previous page of results using the link with relation "prev" in the bundle. This * method accepts a DSTU2+ Bundle resource * @param <T> extends {@link IBaseBundle} * @param bundle the {@link IBaseBundle} * @param extraParameters see {@link ExtraParameters} for a full list of parameters that can be passed, may be NULL * @return the previous {@link IBaseBundle} */ public <T extends IBaseBundle> T previous(T bundle, Map<ExtraParameters, Object> extraParameters) { IGetPageTyped<T> getPageTyped = client.loadPage().previous(bundle); ExtraParameters.process(extraParameters, getPageTyped); return getPageTyped.execute(); }
protected Bundle previousPage(Bundle bundle) { return client.loadPage() .previous(bundle) .execute(); }
protected Bundle previousPage(Bundle bundle) { return client.loadPage() .previous(bundle) .execute(); }
protected Bundle previousPage(Bundle bundle) { return client.loadPage() .previous(bundle) .execute(); }
protected Bundle previousPage(Bundle bundle) { return client.loadPage() .previous(bundle) .execute(); }
protected Bundle previousPage(Bundle bundle) { return client.loadPage() .previous(bundle) .execute(); }
protected Bundle previousPage(Bundle bundle) { return client.loadPage() .previous(bundle) .execute(); }