code: 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);
  	}
docs: Adds the paging link.
  
  @param label          the label
  @param name           the name
  @param pageId         the page id
  @param maxPages       the max pages
  @param pagingControls the paging controls