class PortfolioWriter {

  public void write(Portfolio portfolio, Set<ManageableSecurity> securities) {

    persistSecurities(securities);
    persistPortfolio(portfolio);
  }

  public  PortfolioWriter(boolean write, PortfolioMaster portfolioMaster,
                         PositionMaster positionMaster, SecurityMaster securityMaster);

}