com.pharmacy.pharmacyweb.services.crud.Impl.EquipmentCrudServiceImpl.java Source code

Java tutorial

Introduction

Here is the source code for com.pharmacy.pharmacyweb.services.crud.Impl.EquipmentCrudServiceImpl.java

Source

/*
 * 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.pharmacy.pharmacyweb.services.crud.Impl;

import com.pharmacy.pharmacyweb.domain.Equipment;
import com.pharmacy.pharmacyweb.services.crud.EquipmentCrudService;
import java.util.List;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 *
 * @author luke
 */
public class EquipmentCrudServiceImpl implements EquipmentCrudService {

    @Override
    @Transactional(propagation = Propagation.SUPPORTS)
    public Equipment find(String id) {
        return null;
    }

    @Override
    @Transactional(propagation = Propagation.MANDATORY)
    public Equipment persist(Equipment entity) {
        return null;
    }

    @Override
    @Transactional(propagation = Propagation.REQUIRES_NEW)
    public Equipment merge(Equipment entity) {
        return null;
    }

    @Override
    @Transactional(propagation = Propagation.REQUIRED)
    public Equipment remove(Equipment entity) {
        return null;
    }

    @Override
    @Transactional(propagation = Propagation.NOT_SUPPORTED)
    public List<Equipment> findAll() {
        return null;
    }

}