String entriesPerPage = (String) context.get("entriesPerPage");
String pageNumber = (String) context.get("pageNumber");
String listingType = (String) context.get("listingType");
PaginationType page = new PaginationType();
if (UtilValidate.isNotEmpty(entriesPerPage)) {
page.setEntriesPerPage(Integer.valueOf(entriesPerPage));
}
if (UtilValidate.isNotEmpty(pageNumber)) {
page.setPageNumber(Integer.valueOf(pageNumber));
}
itemListType.setPagination(page);
if (UtilValidate.isNotEmpty(listingType)) {
itemListType.setListingType(ListingTypeCodeType.valueOf(listingType));
} else {