net.sourceforge.mystique.infrastructure.persistence
Class MilestoneJpaRepository
java.lang.Object
net.sourceforge.mystique.infrastructure.persistence.JpaRepository<Milestone,java.lang.Long>
net.sourceforge.mystique.infrastructure.persistence.MilestoneJpaRepository
- All Implemented Interfaces:
- MilestoneRepository, SimpleRepository<Milestone,java.lang.Long>
@Repository
public class MilestoneJpaRepository
- extends JpaRepository<Milestone,java.lang.Long>
- implements MilestoneRepository
- Author:
- Elias Gomes [eliasgomes@users.sourceforge.net]
| Methods inherited from class net.sourceforge.mystique.infrastructure.persistence.JpaRepository |
remove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MilestoneJpaRepository
public MilestoneJpaRepository()
findById
@Transactional(readOnly=true)
public Milestone findById(java.lang.Long id)
throws RepositoryException
- Specified by:
findById in interface SimpleRepository<Milestone,java.lang.Long>
- Throws:
RepositoryException
findByProject
@Transactional(readOnly=true)
public java.util.List<Milestone> findByProject(Project project,
int offset,
int limit)
throws RepositoryException
- Specified by:
findByProject in interface MilestoneRepository
- Throws:
RepositoryException
findByProjectAndName
@Transactional(readOnly=true)
public Milestone findByProjectAndName(Project project,
java.lang.String name)
throws RepositoryException
- Specified by:
findByProjectAndName in interface MilestoneRepository
- Throws:
RepositoryException
store
@Transactional
public void store(Milestone milestone)
throws RepositoryException
- Specified by:
store in interface SimpleRepository<Milestone,java.lang.Long>
- Throws:
RepositoryException
Copyright © 2010. All Rights Reserved.