Retrieves a list of application connections that satisfy the given filter. You can filter application connections by: APPLICATION_ID, APPLICATION_CONNECTION_ID, NUMERIC_ID, SECURITY_CONF, and USER_ID. The return result is paginated.
PaginationResult<ApplicationConnectionVO> getApplicationConnections(AppConnectionFilterSortVO filter, Long offset, Integer length) throws SUPAdminException;
If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.
AppConnectionFilterSortVO filter = new AppConnectionFilterSortVO(); FilterExpression<APPCONNECTION> fe = new FilterExpression< APPCONNECTION >(); FilterExpression<APPCONNECTION> fe1 = fe.eq(APPCONNECTION.USER_ID, "user"); filter.setFilterExpression(fe1); PaginationResult<ApplicationConnectionVO> result = app .getApplicationConnections(filter, 0L, 10); for (ApplicationConnectionVO appConn : result.getItems()) { System.out.println(appConn.getId()); }