Map < String , EntityDocument > getEntityDocumentMap ( int numOfEntities , WbGetEntitiesActionData properties ) throws MediaWikiApiErrorException , IOException { if ( numOfEntities == 0 ) { return Collections . emptyMap ( ) ; } configureProperties ( properties ) ; return this . wbGetEntitiesAction . wbGetEntities ( properties ) ; }
Creates a map of identifiers or page titles to documents retrieved via the APIs .