package com.metadata.server;

import java.util.List;

import com.metadata.bean.BusinessDataBean;
import com.metadata.formbean.page;

public interface IBusinessServer {
	public boolean save(BusinessDataBean bean);
	
	public boolean delete(int id);
	
	public boolean update(BusinessDataBean bean);
	
	public BusinessDataBean findById(int id);
	
	public boolean findByUnique(String condition);
	
	public page<BusinessDataBean> getPage(int index,int max,String where);
	
	public List<BusinessDataBean> findAll();
}
