Project

General

Profile

« Previous | Next » 

Revision a296b200

Added by Andreas Kohlbecker almost 5 years ago

ref #8169 adding missing @Transactional to VersionableServiceBase.isDeletable()

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/VersionableServiceBase.java
31 31
import eu.etaxonomy.cdm.persistence.dao.common.IVersionableDao;
32 32

  
33 33
public abstract class VersionableServiceBase<T extends VersionableEntity, DAO extends IVersionableDao<T>> extends ServiceBase<T,DAO> implements IVersionableService<T> {
34
	@Autowired
34

  
35
    @Autowired
35 36
    protected ICommonService commonService;
37

  
36 38
	@Override
37 39
    @Transactional(readOnly = true)
38 40
	public Pager<AuditEventRecord<T>> pageAuditEvents(T t, Integer pageSize,	Integer pageNumber, AuditEventSort sort, List<String> propertyPaths) {
......
76 78
     */
77 79

  
78 80
    @Override
81
    @Transactional(readOnly = true)
79 82
    public DeleteResult isDeletable(UUID baseUUID, DeleteConfiguratorBase config){
80 83
    	DeleteResult result = new DeleteResult();
81 84
    	T base = this.find(baseUUID);

Also available in: Unified diff