@ SuppressWarnings ( "unchecked" ) public < P extends ParaObject > List < P > list ( String type , Pager ... pager ) { if ( StringUtils . isBlank ( type ) ) { return Collections . emptyList ( ) ; } return getItems ( ( Map < String , Object > ) getEntity ( invokeGet ( type , pagerToParams ( pager ) ) , Map . class ) , pager ) ; }
Returns a list all objects found for the given type . The result is paginated so only one page of items is returned at a time .