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 hr.diskobolos.service.impl; import hr.diskobolos.model.IIdentifier; import hr.diskobolos.model.NomenclatureOfSport; import hr.diskobolos.persistence.INomenclatureOfSportPersistence; import hr.diskobolos.service.INomenclatureOfSportService; import java.util.Collection; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * * @author Tomislav Cavka */ @Service public class NomenclatureOfSportServiceImpl implements INomenclatureOfSportService { @Autowired INomenclatureOfSportPersistence nomenclatureOfSportPersistence; @Override public void persist(NomenclatureOfSport entity) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public void update(NomenclatureOfSport entity) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public <T extends IIdentifier> Collection<T> bulkSave(Collection<T> entities) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public <T extends IIdentifier> T save(T entity) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public NomenclatureOfSport findById(Integer id) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public void delete(NomenclatureOfSport entity) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public void delete(List<NomenclatureOfSport> entities) { nomenclatureOfSportPersistence.delete(entities); } @Override public List<NomenclatureOfSport> findAll() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public void deleteAll() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } }