Retrieves a list of applications that satisfy the filter. The return result is paginated.
PaginationResult<ApplicationVO> getApplications(ApplicationFilterSortVO filter, Long offset, Integer length) throws SUPAdminException;
If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.
ApplicationFilterSortVO filter = new ApplicationFilterSortVO(); FilterExpression<APPLICATION> resultExpression = new FilterExpression<APPLICATION>(); FilterExpression<APPLICATION> expression1 = new FilterExpression<APPLICATION>(); FilterExpression<APPLICATION> expression2 = new FilterExpression<APPLICATION>(); expression1 = expression1.eq(APPLICATION.APPLICATION_USER, "WM2@admin"); expression2 = expression2.eq(APPLICATION.APPLICATION_USER, "abc@admin"); resultExpression = expression1.or(expression2); filter.setFilterExpression(resultExpression); filter.setSortField(APPLICATION.APPLICATION_ID); filter.setSortOrder(SORT_ORDER.ASCENDING); PaginationResult<ApplicationVO> apps = supApplication.getApplications(filter, 0l, 100);