Class TickSnapshotRepository
- java.lang.Object
 - 
- org.powertac.visualizer.repository_ptac.TickSnapshotRepository
 
 
- 
- All Implemented Interfaces:
 RecycleRepository<TickSnapshot>,org.springframework.data.repository.Repository<TickSnapshot,Long>
@Service public class TickSnapshotRepository extends Object implements RecycleRepository<TickSnapshot>
- Author:
 - Jurica Babic, Govert Buijs, Erik Kemperman
 
 
- 
- 
Constructor Summary
Constructors Constructor Description TickSnapshotRepository() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TickSnapshot>findAll()TickSnapshotfindById(long id)TickSnapshotfindByName(String name)voidrecycle()TickSnapshotsave(TickSnapshot ts) 
 - 
 
- 
- 
Method Detail
- 
save
public TickSnapshot save(TickSnapshot ts)
- Specified by:
 savein interfaceRecycleRepository<TickSnapshot>
 
- 
findAll
public List<TickSnapshot> findAll()
- Specified by:
 findAllin interfaceRecycleRepository<TickSnapshot>
 
- 
findById
public TickSnapshot findById(long id)
- Specified by:
 findByIdin interfaceRecycleRepository<TickSnapshot>
 
- 
findByName
public TickSnapshot findByName(String name)
- Specified by:
 findByNamein interfaceRecycleRepository<TickSnapshot>
 
- 
recycle
public void recycle()
- Specified by:
 recyclein interfaceRecycleRepository<TickSnapshot>
 
 - 
 
 -