// Path: order-context-parent/eventbus-contract/src/main/java/se/citerus/cqrs/bookstore/ordercontext/order/OrderId.java
// public class OrderId extends GenericId {
// 
//   public OrderId(@JsonProperty("id") String id) {
//     super(id);
//   }
// 
//   public static OrderId randomId() {
//     return new OrderId(UUID.randomUUID().toString());
//   }
// 
// }


import se.citerus.cqrs.bookstore.ordercontext.order.OrderId;
import java.util.List;
package se.citerus.cqrs.bookstore.ordercontext.query.orderlist;



public interface OrderProjectionRepository {

  void save(OrderProjection orderProjection);

// Path: order-context-parent/eventbus-contract/src/main/java/se/citerus/cqrs/bookstore/ordercontext/order/OrderId.java
// public class OrderId extends GenericId {
// 
//   public OrderId(@JsonProperty("id") String id) {
//     super(id);
//   }
// 
//   public static OrderId randomId() {
//     return new OrderId(UUID.randomUUID().toString());
//   }
// 
// }


// Path: order-context-parent/order-query/src/main/java/se/citerus/cqrs/bookstore/ordercontext/query/orderlist/OrderProjectionRepository.java
import se.citerus.cqrs.bookstore.ordercontext.order.OrderId;
import java.util.List;

package se.citerus.cqrs.bookstore.ordercontext.query.orderlist;



public interface OrderProjectionRepository {

  void save(OrderProjection orderProjection);

  OrderProjection getById(OrderId orderId);