/**
  * Return the number of track list persisted
  *
  * @param trackInfoDTOList
  * @return
  */
 @POST
 @Produces(MediaType.APPLICATION_JSON)
 @Consumes(MediaType.APPLICATION_JSON)
 @Path("/postTrackInfoList/")
 public Integer postTrackInfoList(TrackInfoDTOList trackInfoDTOList) {
   log.debug(trackInfoDTOList.toString());
   return ejb.persistTrackInfoList(getTrackInfoList(trackInfoDTOList));
 }
 @POST
 @Produces(MediaType.APPLICATION_JSON)
 @Consumes(MediaType.APPLICATION_JSON)
 @Path("/postTrackInfo/")
 public TrackInfoDTO postTrackInfo(TrackInfoDTO trackInfo) throws LitracyException {
   log.debug(trackInfo.toString());
   return new TrackInfoDTO(ejb.persistTrackInfo(getTrackInfo(trackInfo)));
 }
 /**
  * Return the number of track list persisted
  *
  * @param trackInfoDTOList
  * @return
  */
 @GET
 @Produces(MediaType.APPLICATION_JSON)
 @Path("/getParticipantPoints/{participantId}")
 public TrackInfoDTOList getParticipantPoints(@PathParam("participantId") String participantId) {
   log.debug("listado para participantId " + participantId);
   TrackInfoDTOList ret = new TrackInfoDTOList();
   ret.add(ejb.getParticipantPoints(Long.valueOf(participantId)));
   return ret;
 }
 @GET
 @Produces(MediaType.APPLICATION_XML)
 @Path("/getEventEditionPointsXML/{eventEditionId}")
 public TrackInfoDTOList getEventEditionPointsXML(
     @PathParam("eventEditionId") String eventEditionId) {
   log.debug("listado para eventEditionId " + eventEditionId);
   TrackInfoDTOList ret = new TrackInfoDTOList();
   ret.add(ejb.getEventEditionPoints(Long.valueOf(eventEditionId)));
   return ret;
 }
 private TrackPointDTOList getEventEditionRoute(Long eventEditionId) {
   log.debug("listado de tracks de la ruta de un eventEditionId " + eventEditionId);
   TrackPointDTOList ret = new TrackPointDTOList();
   ret.add(ejb.getEventEditionRoute(eventEditionId, 0, null));
   return ret;
 }