public Offering getOffering ( String offeringName ) { BasicDBObject query = new BasicDBObject ( "offering_name" , offeringName ) ; FindIterable < Document > cursor = this . offeringsCollection . find ( query ) ; return Offering . fromDB ( cursor . first ( ) ) ; }
Get an offering