*/
public class TrackingQueries extends Queries
{
public List<String> routedCargos()
{
Cargo cargoEntity = templateFor( CargoEntity.class );
QueryBuilder<CargoEntity> qb = qbf.newQueryBuilder( CargoEntity.class )
.where( isNotNull( cargoEntity.itinerary() ) );
Query<CargoEntity> cargos = uowf.currentUnitOfWork().newQuery( qb )
.orderBy( orderBy( cargoEntity.trackingId().get().id() ) );
List<String> cargoList = new ArrayList<String>();
for( CargoEntity cargo : cargos )
{
cargoList.add( cargo.trackingId().get().id().get() );