All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.saphyra.randwo.item.repository.ItemDao Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
package com.github.saphyra.randwo.item.repository;

import java.util.List;
import java.util.UUID;

import org.springframework.stereotype.Component;

import com.github.saphyra.dao.AbstractDao;
import com.github.saphyra.randwo.item.domain.Item;

@Component
public class ItemDao extends AbstractDao {
    public ItemDao(ItemConverter converter, ItemRepository repository) {
        super(converter, repository);
    }

    public List getAll() {
        return converter.convertEntity(repository.findAll());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy