Package com.casamind.adware.shared.model

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


  public ResourceEditPresenter(DataServiceAsync rpcService, SimpleEventBus eventBus, Display display) {
    this.rpcService = rpcService;
    this.eventBus = eventBus;
    this.display = display;
    this.resource = new ResourceDTO();
    this.compList = new ArrayList<EntitySummary>();
    this.pubList = new ArrayList<EntitySummary>();
    this.prdList = new ArrayList<EntitySummary>();
    bind();
  }
View Full Code Here


    if (product != null){
      Publisher publisher = DatastoreProxy.getPublisherById(product.getPublisherId());
      if (publisher != null){
        Company company = DatastoreProxy.getCompanyById(publisher.getCompanyId());
        if (company !=  null){
          return new ResourceDTO(entity.getId(), entity.getUUID(),
              entity.getFilename(), entity.getMimeType(), entity.getFilesize(),
              entity.getImageURL(), entity.getBlobKey(),
              Company.toSummaryDTO(company),
              Publisher.toSummaryDTO(publisher),
              Product.toSummaryDTO(product));
View Full Code Here

TOP

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

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.