/*
 * Copyright (c) 2009-2013 Topi Nieminen
 */
package fi.tnie.db.paging;

import fi.tnie.db.ent.Attribute;
import fi.tnie.db.ent.Entity;
import fi.tnie.db.ent.EntityFactory;
import fi.tnie.db.ent.EntityMetaData;
import fi.tnie.db.ent.EntityQueryResult;
import fi.tnie.db.ent.EntityQueryTemplate;
import fi.tnie.db.ent.FetchOptions;
import fi.tnie.db.ent.Reference;
import fi.tnie.db.rpc.ReferenceHolder;
import fi.tnie.db.types.ReferenceType;

public interface EntityFetcher<
	A extends Attribute,
	R extends Reference,	
	T extends ReferenceType<A, R, T, E, H, F, M>,
	E extends Entity<A, R, T, E, H, F, M>,
	H extends ReferenceHolder<A, R, T, E, H, M>,
	F extends EntityFactory<E, H, M, F>,
	M extends EntityMetaData<A, R, T, E, H, F, M>,
	QT extends EntityQueryTemplate<A, R, T, E, H, F, M, QT>
> 
	extends Fetcher<QT, EntityQueryResult<A, R, T, E, H, F, M, QT>, Receiver<EntityQueryResult<A, R, T, E, H, F, M, QT>>>
{	
	void fetch(QT queryTemplate, FetchOptions opts, Receiver<EntityQueryResult<A, R, T, E, H, F, M, QT>> receiver);	
	
	
}

@@ -295,44 +295,8 @@
 te;%0A
-import fi.tnie.db.ent.FetchOptions;%0A
 impo
@@ -885,124 +885,8 @@
 %0A%7B%09%0A
-%09void fetch(QT queryTemplate, FetchOptions opts, Receiver%3CEntityQueryResult%3CA, R, T, E, H, F, M, QT%3E%3E receiver);%09%0A%09%0A
 %09%0A%7D%0A

clean up code