package eu.dnetlib.r2d2.neo4j.dao;

import eu.dnetlib.r2d2.neo4j.BeanDao;
import eu.dnetlib.r2d2.neo4j.domain.Neo4jItem;

public interface ItemDao extends BeanDao<Neo4jItem> {

	public Iterable<Neo4jItem> getItemsInReadingList(String rlId);
	
	/**
	 * Sets the Item that is represented by the given entry.
	 * 
	 * @param itemId
	 * @param entryId
	 * 
	 * @deprecated use the equivalent method {@link RLEntryDao#setInformationObject(String, String)}
	 */
	public void setItemForEntry(String itemId, String entryId);
	
	/**
	 * Returns the Item that is represented by the given entry.
	 * 
	 * @param entryId
	 * @return
	 * 
	 */
	public Neo4jItem getItemForEntry(String entryId);
}
