<reponame>dassmeta/passport<gh_stars>1-10
package com.dassmeta.passport.dal.redis;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;
import org.springframework.jdbc.core.JdbcTemplate;

import com.dassmeta.passport.dal.dataobject.DictionaryIntegration;
import com.dassmeta.passport.util.PageList;

/**
 * 
 * 
 * @author <EMAIL>
 * @creation 2017年2月10日
 */
public interface DictionaryIntegrationRedisDao {

	public DictionaryIntegration findByPrimaryKey(Serializable id) throws DataAccessException;

	public long create(DictionaryIntegration t) throws DataAccessException;

	public int update(DictionaryIntegration t) throws DataAccessException;

	public int remove(DictionaryIntegration t) throws DataAccessException;

	public int saveOrUpdate(DictionaryIntegration t) throws DataAccessException;

	public int remove(Serializable id) throws DataAccessException;

	public int batchSave(List<DictionaryIntegration> paramList) throws DataAccessException;

	public List<DictionaryIntegration> batchSaveReturnIds(List<DictionaryIntegration> paramList) throws DataAccessException;

	public int batchUpdate(List<DictionaryIntegration> paramList) throws DataAccessException;

	public PageList<DictionaryIntegration> findPageList(DictionaryIntegration t, int pageSize, int pageNo);

	public PageList<DictionaryIntegration> findPageList(Map<String, Object> params, int pageSize, int pageNo);

	public List<DictionaryIntegration> findAll();

	public JdbcTemplate getJdbcTemplate();

	public void setJdbcTemplate(JdbcTemplate paramJdbcTemplate);

}