package com.eactive.eai.rms.data.entity.onl.transform;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.eactive.eai.data.entity.onl.transformer.transform.QTransformTypeEntity;
import com.eactive.eai.data.entity.onl.transformer.transform.TransformTypeEntity;
import com.eactive.eai.data.entity.onl.transformer.transform.TransformTypeEntityId;
import com.eactive.eai.data.jpa.AbstractDataService;

@Service
@Transactional
public class TransformTypeService
		extends AbstractDataService<TransformTypeEntity, TransformTypeEntityId, TransformTypeRepository> {

	public Iterable<TransformTypeEntity> findAllByIdLayoutName(String loutName) {
		QTransformTypeEntity qTransformTypeEntity = QTransformTypeEntity.transformTypeEntity;
		return repository.findAll(qTransformTypeEntity.id.loutname.eq(loutName));
	}

}
