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.banda.truckmanagementmodel.services.crud.Impl; import com.banda.truckmanagementmodel.model.vehicles.container.GeneralPurpose; import com.banda.truckmanagementmodel.services.crud.GeneralPurposeCrudService; import java.util.List; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; /** * * @author itsbryan */ public class GeneralPurposeCrudServiceImpl implements GeneralPurposeCrudService { @Override @Transactional(propagation = Propagation.SUPPORTS) public GeneralPurpose find(String id) { return null; } @Override @Transactional(propagation = Propagation.MANDATORY) public GeneralPurpose persist(GeneralPurpose entity) { return null; } @Override @Transactional(propagation = Propagation.REQUIRES_NEW) public GeneralPurpose merge(GeneralPurpose entity) { return null; } @Override @Transactional(propagation = Propagation.REQUIRED) public GeneralPurpose remove(GeneralPurpose entity) { return null; } @Override @Transactional(propagation = Propagation.NOT_SUPPORTED) public List<GeneralPurpose> findAll() { return null; } }