class InMemoryPortfolioMaster extends SimpleAbstractInMemoryMaster<PortfolioDocument> implements PortfolioMaster {

  @Override
  public ManageablePortfolioNode getNode(UniqueId nodeId) {
    ArgumentChecker.notNull(nodeId, "nodeId");
    ManageablePortfolioNode node = _storeNodes.get(nodeId.getObjectId());
    if (node == null) {
      throw new DataNotFoundException("Node not found: " + nodeId);
    }
    if (isCloneResults()) {
      return clonePortfolioNode(node);
    } else {
      return node;
    }
  }

  public  InMemoryPortfolioMaster();
  public  InMemoryPortfolioMaster(final ChangeManager changeManager);
  public  InMemoryPortfolioMaster(final Supplier<ObjectId> objectIdSupplier);
  public  InMemoryPortfolioMaster(final Supplier<ObjectId> objectIdSupplier, final ChangeManager changeManager);

}