java/webservice/src/main/java/be/bosa/dt/best/webservice/Repository.java
/**
	 * Find municipalities
	 * 
	 * @param afterId search after ID (paginated results)
	 * @return 
	 */
Find municipalities

@param afterId search after ID (paginated results)
@return
Find municipalities @param afterId search after ID ( paginated results ) @return
public Multi<Municipality> findMunicipalities(String afterId) {
		List lst = new ArrayList(2);
		SqlMunicipality qry = new SqlMunicipality();
		paginate(lst, qry, NsConverter.municipalityEncode(afterId));
		qry.orderById();
		return multi(
			pg.preparedQuery(qry.build()).execute(Tuple.from(lst))
		).transform(Municipality::from);
	}
public Multi < Municipality > findMunicipalities ( String afterId ) { List lst = new ArrayList ( 2 ) ; SqlMunicipality qry = new SqlMunicipality ( ) ; paginate ( lst , qry , NsConverter . municipalityEncode ( afterId ) ) ; qry . orderById ( ) ; return multi ( pg . preparedQuery ( qry . build ( ) ) . execute ( Tuple . from ( lst ) ) ) . transform ( Municipality :: from ) ; }
Find municipalities
Find municipalities