All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wadpam.open.dao.GeneratedDAppAdminDao Maven / Gradle / Ivy

The newest version!
package com.wadpam.open.dao;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import net.sf.mardao.core.CursorPage;
import net.sf.mardao.core.dao.Dao;
import com.wadpam.open.domain.DAppAdmin;
import net.sf.mardao.core.geo.DLocation;

/**
 * DAO interface with finder methods for DAppAdmin entities.
 *
 * Generated on 2013-07-25T08:38:58.387+0700.
 * @author mardao DAO generator (net.sf.mardao.plugin.ProcessDomainMojo)
 */
public interface GeneratedDAppAdminDao extends Dao {

	/** Column name for primary key attribute is "adminId" */
	static final String COLUMN_NAME_ADMINID = "adminId";


	/** Column name for field accountStatus is "accountStatus" */
	static final String COLUMN_NAME_ACCOUNTSTATUS = "accountStatus";
	/** Column name for field createdBy is "createdBy" */
	static final String COLUMN_NAME_CREATEDBY = "createdBy";
	/** Column name for field createdDate is "createdDate" */
	static final String COLUMN_NAME_CREATEDDATE = "createdDate";
	/** Column name for field email is "email" */
	static final String COLUMN_NAME_EMAIL = "email";
	/** Column name for field maxNumberOfApps is "maxNumberOfApps" */
	static final String COLUMN_NAME_MAXNUMBEROFAPPS = "maxNumberOfApps";
	/** Column name for field name is "name" */
	static final String COLUMN_NAME_NAME = "name";
	/** Column name for field updatedBy is "updatedBy" */
	static final String COLUMN_NAME_UPDATEDBY = "updatedBy";
	/** Column name for field updatedDate is "updatedDate" */
	static final String COLUMN_NAME_UPDATEDDATE = "updatedDate";

	/** The list of attribute names */
	static final List COLUMN_NAMES = Arrays.asList(		COLUMN_NAME_ACCOUNTSTATUS,
		COLUMN_NAME_CREATEDBY,
		COLUMN_NAME_CREATEDDATE,
		COLUMN_NAME_EMAIL,
		COLUMN_NAME_MAXNUMBEROFAPPS,
		COLUMN_NAME_NAME,
		COLUMN_NAME_UPDATEDBY,
		COLUMN_NAME_UPDATEDDATE);
	/** The list of Basic attribute names */
	static final List BASIC_NAMES = Arrays.asList(		COLUMN_NAME_ACCOUNTSTATUS,
		COLUMN_NAME_CREATEDBY,
		COLUMN_NAME_CREATEDDATE,
		COLUMN_NAME_EMAIL,
		COLUMN_NAME_MAXNUMBEROFAPPS,
		COLUMN_NAME_NAME,
		COLUMN_NAME_UPDATEDBY,
		COLUMN_NAME_UPDATEDDATE);
	/** The list of attribute names */
	static final List MANY_TO_ONE_NAMES = Arrays.asList();


	// ----------------------- field finders -------------------------------
	/**
	 * query-by method for field accountStatus
	 * @param accountStatus the specified attribute
	 * @return an Iterable of DAppAdmins for the specified accountStatus
	 */
	Iterable queryByAccountStatus(java.lang.String accountStatus);
		
	/**
	 * query-keys-by method for field accountStatus
	 * @param accountStatus the specified attribute
	 * @return an Iterable of DAppAdmins for the specified accountStatus
	 */
	Iterable queryKeysByAccountStatus(java.lang.String accountStatus);

	/**
	 * query-page-by method for field accountStatus
	 * @param accountStatus the specified attribute
         * @param pageSize the number of domain entities in the page
         * @param cursorString non-null if get next page
	 * @return a Page of DAppAdmins for the specified accountStatus
	 */
	CursorPage queryPageByAccountStatus(java.lang.String accountStatus,
            int pageSize, String cursorString);


	/**
	 * query-by method for field createdBy
	 * @param createdBy the specified attribute
	 * @return an Iterable of DAppAdmins for the specified createdBy
	 */
	Iterable queryByCreatedBy(java.lang.String createdBy);
		
	/**
	 * query-keys-by method for field createdBy
	 * @param createdBy the specified attribute
	 * @return an Iterable of DAppAdmins for the specified createdBy
	 */
	Iterable queryKeysByCreatedBy(java.lang.String createdBy);

	/**
	 * query-page-by method for field createdBy
	 * @param createdBy the specified attribute
         * @param pageSize the number of domain entities in the page
         * @param cursorString non-null if get next page
	 * @return a Page of DAppAdmins for the specified createdBy
	 */
	CursorPage queryPageByCreatedBy(java.lang.String createdBy,
            int pageSize, String cursorString);


	/**
	 * query-by method for field createdDate
	 * @param createdDate the specified attribute
	 * @return an Iterable of DAppAdmins for the specified createdDate
	 */
	Iterable queryByCreatedDate(java.util.Date createdDate);
		
	/**
	 * query-keys-by method for field createdDate
	 * @param createdDate the specified attribute
	 * @return an Iterable of DAppAdmins for the specified createdDate
	 */
	Iterable queryKeysByCreatedDate(java.util.Date createdDate);

	/**
	 * query-page-by method for field createdDate
	 * @param createdDate the specified attribute
         * @param pageSize the number of domain entities in the page
         * @param cursorString non-null if get next page
	 * @return a Page of DAppAdmins for the specified createdDate
	 */
	CursorPage queryPageByCreatedDate(java.util.Date createdDate,
            int pageSize, String cursorString);


	/**
	 * find-by method for unique field email
	 * @param email the unique attribute
	 * @return the unique DAppAdmin for the specified email
	 */
	DAppAdmin findByEmail(com.google.appengine.api.datastore.Email email);

        /**
	 * find-key-by method for unique attribute field email
	 * @param email the unique attribute
	 * @return the unique DAppAdmin for the specified attribute
	 */
	java.lang.String findKeyByEmail(com.google.appengine.api.datastore.Email email);

	/**
	 * query-by method for field maxNumberOfApps
	 * @param maxNumberOfApps the specified attribute
	 * @return an Iterable of DAppAdmins for the specified maxNumberOfApps
	 */
	Iterable queryByMaxNumberOfApps(java.lang.Long maxNumberOfApps);
		
	/**
	 * query-keys-by method for field maxNumberOfApps
	 * @param maxNumberOfApps the specified attribute
	 * @return an Iterable of DAppAdmins for the specified maxNumberOfApps
	 */
	Iterable queryKeysByMaxNumberOfApps(java.lang.Long maxNumberOfApps);

	/**
	 * query-page-by method for field maxNumberOfApps
	 * @param maxNumberOfApps the specified attribute
         * @param pageSize the number of domain entities in the page
         * @param cursorString non-null if get next page
	 * @return a Page of DAppAdmins for the specified maxNumberOfApps
	 */
	CursorPage queryPageByMaxNumberOfApps(java.lang.Long maxNumberOfApps,
            int pageSize, String cursorString);


	/**
	 * query-by method for field name
	 * @param name the specified attribute
	 * @return an Iterable of DAppAdmins for the specified name
	 */
	Iterable queryByName(java.lang.String name);
		
	/**
	 * query-keys-by method for field name
	 * @param name the specified attribute
	 * @return an Iterable of DAppAdmins for the specified name
	 */
	Iterable queryKeysByName(java.lang.String name);

	/**
	 * query-page-by method for field name
	 * @param name the specified attribute
         * @param pageSize the number of domain entities in the page
         * @param cursorString non-null if get next page
	 * @return a Page of DAppAdmins for the specified name
	 */
	CursorPage queryPageByName(java.lang.String name,
            int pageSize, String cursorString);


	/**
	 * query-by method for field updatedBy
	 * @param updatedBy the specified attribute
	 * @return an Iterable of DAppAdmins for the specified updatedBy
	 */
	Iterable queryByUpdatedBy(java.lang.String updatedBy);
		
	/**
	 * query-keys-by method for field updatedBy
	 * @param updatedBy the specified attribute
	 * @return an Iterable of DAppAdmins for the specified updatedBy
	 */
	Iterable queryKeysByUpdatedBy(java.lang.String updatedBy);

	/**
	 * query-page-by method for field updatedBy
	 * @param updatedBy the specified attribute
         * @param pageSize the number of domain entities in the page
         * @param cursorString non-null if get next page
	 * @return a Page of DAppAdmins for the specified updatedBy
	 */
	CursorPage queryPageByUpdatedBy(java.lang.String updatedBy,
            int pageSize, String cursorString);


	/**
	 * query-by method for field updatedDate
	 * @param updatedDate the specified attribute
	 * @return an Iterable of DAppAdmins for the specified updatedDate
	 */
	Iterable queryByUpdatedDate(java.util.Date updatedDate);
		
	/**
	 * query-keys-by method for field updatedDate
	 * @param updatedDate the specified attribute
	 * @return an Iterable of DAppAdmins for the specified updatedDate
	 */
	Iterable queryKeysByUpdatedDate(java.util.Date updatedDate);

	/**
	 * query-page-by method for field updatedDate
	 * @param updatedDate the specified attribute
         * @param pageSize the number of domain entities in the page
         * @param cursorString non-null if get next page
	 * @return a Page of DAppAdmins for the specified updatedDate
	 */
	CursorPage queryPageByUpdatedDate(java.util.Date updatedDate,
            int pageSize, String cursorString);


		  
	// ----------------------- one-to-one finders -------------------------

	// ----------------------- many-to-one finders -------------------------
	
	// ----------------------- many-to-many finders -------------------------

	// ----------------------- uniqueFields finders -------------------------
	
	
	// ----------------------- populate / persist method -------------------------

	/**
	 * Persist an entity given all attributes
	 */
	DAppAdmin persist(		java.lang.String adminId, 
		java.lang.String accountStatus, 
		com.google.appengine.api.datastore.Email email, 
		java.lang.Long maxNumberOfApps, 
		java.lang.String name);	

	/**
	 * Persists an entity unless it already exists
	 */
	 DAppAdmin persist(com.google.appengine.api.datastore.Email email, 
                java.lang.String accountStatus, 
                java.lang.Long maxNumberOfApps, 
                java.lang.String name);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy