package eu.dnetlib.data.collective.manager.nh;

import eu.dnetlib.common.profile.Resource;

/**
 * @author jochen
 *
 */
public interface INotificationConsumer {

	/**
	 * Add the given resource
	 * @param aResource the resource to add
	 * @return true if resource could be added else false
	 */
	public boolean addResource(Resource aResource);
	
	/**
	 * Update with the given resource
	 * @param aResource the resource to update
	 * @return true if resource could be updated else false
	 */
	public boolean updateResource(Resource aResource);
	
	/**
	 * Release the given resource
	 * @param aResource the resource to remove
	 * @return true if resource could be removed else false
	 */
	public boolean removeResource(Resource aResource);
}
