package com.xxl.job.dao;

import java.util.List;

import com.xxl.job.core.model.XxlJobInfo;

/**
 * job info
 * @author xuxueli 2016-1-12 18:03:45
 */
public interface IXxlJobInfoDao {

	public List<XxlJobInfo> pageList(int offset, int pagesize, String jobGroup, String jobName);
	public int pageListCount(int offset, int pagesize, String jobGroup, String jobName);
	
	public int save(XxlJobInfo info);
	
	public XxlJobInfo load(String jobGroup, String jobName);
	
	public int update(XxlJobInfo item);
	
	public int delete(String jobGroup, String jobName);
	
}
