class OrphanedPositionRemover {

  public void run() {
    final Set<ObjectId> validPositions = getValidPositions();
    final Set<UniqueId> orphanedPositions = getOrphanedPositions(validPositions);
    removePositions(orphanedPositions);
  }

  public  OrphanedPositionRemover(PortfolioMaster portfolioMaster, PositionMaster positionMaster);

}