com.wadpam.oauth2.dao.GeneratedDFactoryDao Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oauth2-client Show documentation
Show all versions of oauth2-client Show documentation
Implements OAuth2 authentication on top of Open-Server security
The newest version!
package com.wadpam.oauth2.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.oauth2.domain.DFactory;
import net.sf.mardao.core.geo.DLocation;
/**
* DAO interface with finder methods for DFactory entities.
*
* Generated on 2013-07-25T10:05:08.359+0700.
* @author mardao DAO generator (net.sf.mardao.plugin.ProcessDomainMojo)
*/
public interface GeneratedDFactoryDao extends Dao {
/** Column name for primary key attribute is "id" */
static final String COLUMN_NAME_ID = "id";
/** Column name for field baseUrl is "baseUrl" */
static final String COLUMN_NAME_BASEURL = "baseUrl";
/** Column name for field clientId is "clientId" */
static final String COLUMN_NAME_CLIENTID = "clientId";
/** Column name for field clientSecret is "clientSecret" */
static final String COLUMN_NAME_CLIENTSECRET = "clientSecret";
/** 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 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_BASEURL,
COLUMN_NAME_CLIENTID,
COLUMN_NAME_CLIENTSECRET,
COLUMN_NAME_CREATEDBY,
COLUMN_NAME_CREATEDDATE,
COLUMN_NAME_UPDATEDBY,
COLUMN_NAME_UPDATEDDATE);
/** The list of Basic attribute names */
static final List BASIC_NAMES = Arrays.asList( COLUMN_NAME_BASEURL,
COLUMN_NAME_CLIENTID,
COLUMN_NAME_CLIENTSECRET,
COLUMN_NAME_CREATEDBY,
COLUMN_NAME_CREATEDDATE,
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 baseUrl
* @param baseUrl the specified attribute
* @return an Iterable of DFactorys for the specified baseUrl
*/
Iterable queryByBaseUrl(java.lang.String baseUrl);
/**
* query-keys-by method for field baseUrl
* @param baseUrl the specified attribute
* @return an Iterable of DFactorys for the specified baseUrl
*/
Iterable queryKeysByBaseUrl(java.lang.String baseUrl);
/**
* query-page-by method for field baseUrl
* @param baseUrl 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 DFactorys for the specified baseUrl
*/
CursorPage queryPageByBaseUrl(java.lang.String baseUrl,
int pageSize, String cursorString);
/**
* query-by method for field clientId
* @param clientId the specified attribute
* @return an Iterable of DFactorys for the specified clientId
*/
Iterable queryByClientId(java.lang.String clientId);
/**
* query-keys-by method for field clientId
* @param clientId the specified attribute
* @return an Iterable of DFactorys for the specified clientId
*/
Iterable queryKeysByClientId(java.lang.String clientId);
/**
* query-page-by method for field clientId
* @param clientId 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 DFactorys for the specified clientId
*/
CursorPage queryPageByClientId(java.lang.String clientId,
int pageSize, String cursorString);
/**
* query-by method for field clientSecret
* @param clientSecret the specified attribute
* @return an Iterable of DFactorys for the specified clientSecret
*/
Iterable queryByClientSecret(java.lang.String clientSecret);
/**
* query-keys-by method for field clientSecret
* @param clientSecret the specified attribute
* @return an Iterable of DFactorys for the specified clientSecret
*/
Iterable queryKeysByClientSecret(java.lang.String clientSecret);
/**
* query-page-by method for field clientSecret
* @param clientSecret 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 DFactorys for the specified clientSecret
*/
CursorPage queryPageByClientSecret(java.lang.String clientSecret,
int pageSize, String cursorString);
/**
* query-by method for field createdBy
* @param createdBy the specified attribute
* @return an Iterable of DFactorys 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 DFactorys 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 DFactorys 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 DFactorys 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 DFactorys 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 DFactorys for the specified createdDate
*/
CursorPage queryPageByCreatedDate(java.util.Date createdDate,
int pageSize, String cursorString);
/**
* query-by method for field updatedBy
* @param updatedBy the specified attribute
* @return an Iterable of DFactorys 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 DFactorys 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 DFactorys 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 DFactorys 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 DFactorys 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 DFactorys 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
*/
DFactory persist( java.lang.String id,
java.lang.String baseUrl,
java.lang.String clientId,
java.lang.String clientSecret);
}