Package com.casamind.adware.shared.model

Examples of com.casamind.adware.shared.model.SlotDTO


  public SlotEditPresenter(DataServiceAsync dataService, MailServiceAsync mailService, SimpleEventBus eventBus, Display display) {
    this.dataService = dataService;
    this.mailService = mailService;
    this.eventBus = eventBus;
    this.display = display;
    this.slot = new SlotDTO();
    this.compList = new ArrayList<EntitySummary>();
    this.pubList = new ArrayList<EntitySummary>();
    bind();
  }
View Full Code Here


      }
    } else {
      publisherSummary = Publisher.toSummaryDTO(publisher);
      companySummary = Company.toSummaryDTO(DatastoreProxy.getCompanyById(publisher.getCompanyId()));
    }
    return new SlotDTO(entity.isConfigured(), entity.isSequential(), entity.getId(), entity.getOwnerId(), entity.getUUID(), entity.getStatus(), entity.getPrice(), entity.getNbSlots(), entity.getStartDate(), entity.getEndDate(), companySummary, publisherSummary, products);
  }
View Full Code Here

    return Slot.toDTO(DatastoreProxy.updateSlot(dto));
  }

  @Override
  public SlotDTO createSlot(SlotDTO dto) {
    SlotDTO returnedDTO = Slot.toDTO((DatastoreProxy.createSlot(Slot.toEntity(null, dto))));
    return returnedDTO;
  }
View Full Code Here

TOP

Related Classes of com.casamind.adware.shared.model.SlotDTO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.