Projekt

Obecné

Profil

Stáhnout (468 Bajtů) Statistiky
| Větev: | Revize:
1
package vldc.aswi.dao;
2

    
3
import org.springframework.data.repository.CrudRepository;
4
import org.springframework.stereotype.Repository;
5
import vldc.aswi.domain.Location;
6

    
7
/**
8
 * Repository for domain Location.
9
 */
10
@Repository
11
public interface LocationRepository extends CrudRepository<Location, Long> {
12

    
13
    /**
14
     * Find Location by its ID.
15
     * @param Id - Location Id.
16
     * @return Location if ID is present in database.
17
     */
18
    Location getById(Long Id);
19
}
(4-4/7)