package com.ejie.u74a.service;

import java.util.List;

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

import com.ejie.u74a.dao.TipoMaterialDao;
import com.ejie.u74a.model.TipoMaterial;

/**
 * Clase que implementa los servicios de acceso a los datos de tipo de material
 * 
 *  
 */
@Service(value = "tipoMaterialService")
@Transactional()
public class TipoMaterialServiceImpl implements TipoMaterialService {

	@Autowired()
	private TipoMaterialDao dao;

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.ejie.u74a.service.TipoMaterialService#findAll()
	 */
	@Override()
	public List<TipoMaterial> findAll() {
		return this.dao.findAll();
	}

}
