Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.meganrobb.immutable_classes.service.crud.Impl; import com.meganrobb.immutable_classes.model.stockSuppliers.Suppliers; import com.meganrobb.immutable_classes.service.crud.SuppliersCrudService; import java.util.List; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; /** * * @author student */ public class SuppliersCrudServiceImpl implements SuppliersCrudService { @Override @Transactional(propagation = Propagation.SUPPORTS) public Suppliers find(String s) { return null; } @Override @Transactional(propagation = Propagation.MANDATORY) public Suppliers persist(Suppliers entity) { return null; } @Override @Transactional(propagation = Propagation.REQUIRES_NEW) public Suppliers merge(Suppliers entity) { return null; } @Override @Transactional(propagation = Propagation.REQUIRED) public Suppliers remove(Suppliers entity) { return null; } @Transactional(propagation = Propagation.NOT_SUPPORTED) public List<Suppliers> findAll() { return null; } public List<Suppliers> findall() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } }