package com.palmnest.service.estateserve.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.palmnest.dao.estateserve.ScPicandtextdetailstempDao;
import com.palmnest.model.estateserve.Picandtextdetailstemp;
import com.palmnest.service.estateserve.ScPicandtextdetailstempManager;
import com.palmnest.service.impl.GenericManagerImpl;

@Service("scPicandtextdetailstempManager")
public class ScPicandtextdetailstempManagerImpl extends GenericManagerImpl<Picandtextdetailstemp, Integer> implements ScPicandtextdetailstempManager {

	private ScPicandtextdetailstempDao scPicandtextdetailstempDao;

	@Autowired
	public void setScPicandtextdetailstempDao(
			ScPicandtextdetailstempDao scPicandtextdetailstempDao) {
		this.scPicandtextdetailstempDao = scPicandtextdetailstempDao;
	}


	public List<Picandtextdetailstemp> getScPicandtextdetailstemps(Integer kid) {
		return scPicandtextdetailstempDao.getScPicandtextdetailstemps(kid);
	}

	public void removeScPicandtextdetailstemp(Integer detailid) {
		scPicandtextdetailstempDao.removeScPicandtextdetailstemp(detailid);
	}
}

