// Path: mardao-core/src/main/java/net/sf/mardao/dao/Supplier.java
// public interface Supplier<K, RV, WV, T> {
//   int count(T tx, Mapper mapper, K ancestorKey, K simpleKey, Filter... filters);
//   void deleteValue(T tx, Mapper mapper, K key) throws IOException;
//   void deleteValues(T tx, Mapper mapper, Collection<K> keys) throws IOException;
//   RV readValue(T tx, Mapper mapper, K key) throws IOException;
//   K writeValue(T tx, Mapper mapper, K key, WV value) throws IOException;
//   K insertValue(T tx, Mapper mapper, K key, WV value) throws IOException;
// 
//   Future<RV> readFuture(T tx, Mapper mapper, K key) throws IOException;
//   Future<K> writeFuture(T tx, Mapper mapper, K key, WV value) throws IOException;
// 
//   K toKey(K parentKey, String kind, Serializable id);
// //  K toKey(K parentKey, String kind, String sId);
// 
//   Long toLongKey(K key);
//   String toStringKey(K key);
//   K toParentKey(K key);
// 
//   Collection getCollection(RV value, String column);
//   Date getDate(RV value, String column);
//   Long getLong(RV value, String column);
//   K getKey(RV value, String column);
//   K getParentKey(RV value, String column);
//   String getString(RV value, String column);
//   Integer getInteger(RV value, String column);
//   Boolean getBoolean(RV value, String column);
//   Float getFloat(RV value, String column);
//   ByteBuffer getByteBuffer(RV value, String column);
// 
//   Object getWriteObject(Object value, String column);
//   Collection getWriteCollection(WV value, String column);
//   Date getWriteDate(WV value, String column);
//   Long getWriteLong(WV value, String column);
//   K getWriteKey(WV value, String column);
//   K getWriteParentKey(WV value, String column);
//   String getWriteString(WV value, String column);
//   Integer getWriteInteger(WV value, String column);
//   Boolean getWriteBoolean(WV value, String column);
//   Float getWriteFloat(WV value, String column);
//   ByteBuffer getWriteByteBuffer(WV value, String column);
// 
//   void setCollection(WV value, String column, Collection c);
//   void setDate(WV value, String column, Date d);
//   void setLong(WV value, String column, Long l);
//   void setString(WV value, String column, String s);
//   void setInteger(WV value, String column, Integer i);
//   void setBoolean(WV value, String column, Boolean b);
//   void setFloat(WV value, String column, Float f);
//   void setByteBuffer(WV value, String column, ByteBuffer b);
// 
//   Object createEntity(Mapper mapper, RV readValue);
//   WV createWriteValue(Mapper mapper, K parentKey, Long id, Object entity);
//   WV createWriteValue(Mapper mapper, K parentKey, String id, Object entity);
//   void setPrimaryKey(WV value, Mapper mapper, String column, K primaryKey, Object Entity);
//   void setParentKey(WV value, Mapper mapper, String column, K parentKey, Object Entity);
// 
//   // --- transaction methods ---
// 
//   T beginTransaction();
//   void commitTransaction(T transaction);
//   void rollbackActiveTransaction(T transaction);
// 
//   // --- query methods ---
// 
//   Iterable<RV> queryIterable(T tx, final Mapper mapper, boolean keysOnly,
//                               int offset, int limit,
//                               K ancestorKey, K simpleKey,
//                               String primaryOrderBy, boolean primaryIsAscending,
//                               String secondaryOrderBy, boolean secondaryIsAscending,
//                               Filter... filters);
// 
//   RV queryUnique(T tx, Mapper mapper, K parentKey, Filter... filters);
// 
//   CursorPage<RV> queryPage(T tx, Mapper mapper, boolean keysOnly,
//                            int requestedPageSize, K ancestorKey,
//                           String primaryOrderBy, boolean primaryIsAscending,
//                           String secondaryOrderBy, boolean secondaryIsAscending,
//                           Collection<String> projections,
//                           String cursorString,
//                           Filter... filters);
// 
//   // --- manage db methods ---
//   void createTable(Mapper mapper);
// }


import net.sf.mardao.dao.Supplier;

package net.sf.mardao.junit.dao;


/**
 * Implementation of Business Methods related to entity DUser.
 * This (empty) class is generated by mardao, but edited by developers.
 * It is not overwritten by the generator once it exists.
 *
 * Generated on 2015-02-28T10:34:05.595+0100.
 * @author mardao DAO generator (net.sf.mardao.plugin.ProcessDomainMojo)
 */
public class DUserDaoBean 
	extends GeneratedDUserDaoImpl
{


// Path: mardao-core/src/main/java/net/sf/mardao/dao/Supplier.java
// public interface Supplier<K, RV, WV, T> {
//   int count(T tx, Mapper mapper, K ancestorKey, K simpleKey, Filter... filters);
//   void deleteValue(T tx, Mapper mapper, K key) throws IOException;
//   void deleteValues(T tx, Mapper mapper, Collection<K> keys) throws IOException;
//   RV readValue(T tx, Mapper mapper, K key) throws IOException;
//   K writeValue(T tx, Mapper mapper, K key, WV value) throws IOException;
//   K insertValue(T tx, Mapper mapper, K key, WV value) throws IOException;
// 
//   Future<RV> readFuture(T tx, Mapper mapper, K key) throws IOException;
//   Future<K> writeFuture(T tx, Mapper mapper, K key, WV value) throws IOException;
// 
//   K toKey(K parentKey, String kind, Serializable id);
// //  K toKey(K parentKey, String kind, String sId);
// 
//   Long toLongKey(K key);
//   String toStringKey(K key);
//   K toParentKey(K key);
// 
//   Collection getCollection(RV value, String column);
//   Date getDate(RV value, String column);
//   Long getLong(RV value, String column);
//   K getKey(RV value, String column);
//   K getParentKey(RV value, String column);
//   String getString(RV value, String column);
//   Integer getInteger(RV value, String column);
//   Boolean getBoolean(RV value, String column);
//   Float getFloat(RV value, String column);
//   ByteBuffer getByteBuffer(RV value, String column);
// 
//   Object getWriteObject(Object value, String column);
//   Collection getWriteCollection(WV value, String column);
//   Date getWriteDate(WV value, String column);
//   Long getWriteLong(WV value, String column);
//   K getWriteKey(WV value, String column);
//   K getWriteParentKey(WV value, String column);
//   String getWriteString(WV value, String column);
//   Integer getWriteInteger(WV value, String column);
//   Boolean getWriteBoolean(WV value, String column);
//   Float getWriteFloat(WV value, String column);
//   ByteBuffer getWriteByteBuffer(WV value, String column);
// 
//   void setCollection(WV value, String column, Collection c);
//   void setDate(WV value, String column, Date d);
//   void setLong(WV value, String column, Long l);
//   void setString(WV value, String column, String s);
//   void setInteger(WV value, String column, Integer i);
//   void setBoolean(WV value, String column, Boolean b);
//   void setFloat(WV value, String column, Float f);
//   void setByteBuffer(WV value, String column, ByteBuffer b);
// 
//   Object createEntity(Mapper mapper, RV readValue);
//   WV createWriteValue(Mapper mapper, K parentKey, Long id, Object entity);
//   WV createWriteValue(Mapper mapper, K parentKey, String id, Object entity);
//   void setPrimaryKey(WV value, Mapper mapper, String column, K primaryKey, Object Entity);
//   void setParentKey(WV value, Mapper mapper, String column, K parentKey, Object Entity);
// 
//   // --- transaction methods ---
// 
//   T beginTransaction();
//   void commitTransaction(T transaction);
//   void rollbackActiveTransaction(T transaction);
// 
//   // --- query methods ---
// 
//   Iterable<RV> queryIterable(T tx, final Mapper mapper, boolean keysOnly,
//                               int offset, int limit,
//                               K ancestorKey, K simpleKey,
//                               String primaryOrderBy, boolean primaryIsAscending,
//                               String secondaryOrderBy, boolean secondaryIsAscending,
//                               Filter... filters);
// 
//   RV queryUnique(T tx, Mapper mapper, K parentKey, Filter... filters);
// 
//   CursorPage<RV> queryPage(T tx, Mapper mapper, boolean keysOnly,
//                            int requestedPageSize, K ancestorKey,
//                           String primaryOrderBy, boolean primaryIsAscending,
//                           String secondaryOrderBy, boolean secondaryIsAscending,
//                           Collection<String> projections,
//                           String cursorString,
//                           Filter... filters);
// 
//   // --- manage db methods ---
//   void createTable(Mapper mapper);
// }


// Path: mardao-core/src/test/java/net/sf/mardao/junit/dao/DUserDaoBean.java
import net.sf.mardao.dao.Supplier;

package net.sf.mardao.junit.dao;


/**
 * Implementation of Business Methods related to entity DUser.
 * This (empty) class is generated by mardao, but edited by developers.
 * It is not overwritten by the generator once it exists.
 *
 * Generated on 2015-02-28T10:34:05.595+0100.
 * @author mardao DAO generator (net.sf.mardao.plugin.ProcessDomainMojo)
 */
public class DUserDaoBean 
	extends GeneratedDUserDaoImpl
{


  public DUserDaoBean(Supplier<Object, Object, Object, Object> supplier) {
