Retrieves a list of packages from an application that satisfy the filter. The return result is paginated
PaginationResult<ApplicationPackageVO> getApplicationPackages(Application_FilterSortVO filter, Long offset, Integer length) throws SUPAdminException;
If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.
Package_FilterSortVO filter = new Package_FilterSortVO(); FilterExpression<APPLICATION_PACKAGE> expression1 = new FilterExpression<APPLICATION_PACKAGE>(); expression1 = expression1.eq(APPLICATION_PACKAGE.APPLICATION_ID, "app1"); filter.setFilterExpression(expression1); filter.setSortField(APPLICATION_PACKAGE.DOMAIN); filter.setSortOrder(SORT_ORDER.ASCENDING); PaginationResult<ApplicationPackageVO> apps = supApplication.getApplicationPackages(filter, 0l, 100);