Project

General

Profile

« Previous | Next » 

Revision 46345

refactoring: let's reuse class MetadataReference

View differences:

DNetOAICore.java
140 140
	}
141 141

  
142 142
	protected Cursor getCursor(final String query, final boolean onlyIdentifiers, final MDFInfo mdfInfo) {
143
		final PublisherStore<Cursor> store = this.publisherStoreDAO.getStore(mdfInfo.getSourceFormatName(), mdfInfo.getSourceFormatInterpretation(),
144
				mdfInfo.getSourceFormatLayout(), getCurrentDBName());
143
		final PublisherStore<Cursor> store = this.publisherStoreDAO.getStore(mdfInfo.getSourceFormat(), mdfInfo.getSourceInterpretation(),
144
				mdfInfo.getSourceLayout(), getCurrentDBName());
145 145
		if (store == null) { throw new OaiPublisherRuntimeException(
146 146
				"Missing store for metadata prefix " + mdfInfo.getPrefix() + ". Please check OAI publisher configuration."); }
147 147
		Cursor results = null;

Also available in: Unified diff