private void addPagingLink ( final String label , final String name , final String pageId , final long maxPages , final HorizontalLayout pagingControls ) { final Link previousPageLink = pageLinkFactory . createAdminPagingLink ( label , name , pageId , String . valueOf ( maxPages ) ) ; pagingControls . addComponent ( previousPageLink ) ; pagingControls . setExpandRatio ( previousPageLink , ContentRatio . SMALL ) ; }
Adds the paging link .