Package org.multibit.mbm.client.interfaces.rest.api.representations.hal.item

Examples of org.multibit.mbm.client.interfaces.rest.api.representations.hal.item.PublicItemRepresentation


    Optional<Item> itemOptional = itemReadService.getBySKU(sku);
    ResourceAsserts.assertPresent(itemOptional, "item");

    // Provide a representation to the client
    Representation representation = new PublicItemRepresentation().get(itemOptional.get());

    return ok(representation);

  }
View Full Code Here

TOP

Related Classes of org.multibit.mbm.client.interfaces.rest.api.representations.hal.item.PublicItemRepresentation

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.