public Map < String , Object > getDocument ( String collectionName , String docId ) { Map < String , Map < String , Object > > docs = DDPStateSingleton . getInstance ( ) . getCollection ( collectionName ) ; if ( docs != null ) { return docs . get ( docId ) ; } return null ; }
Gets a document out of a collection