net.sourceforge.mystique.domain.repository
Interface SimpleRepository<T,ID>

All Known Subinterfaces:
AttachmentRepository, CommentRepository, ComponentRepository, ConfirmationRepository, MilestoneRepository, ProjectRepository, Repository<T,ID>, TicketRepository, UserRepository, VersionRepository
All Known Implementing Classes:
AttachmentJpaRepository, CommentJpaRepository, ComponentJpaRepository, ConfirmationJpaRepository, JpaRepository, MilestoneJpaRepository, ProjectJpaRepository, TicketJpaRepository, UserJpaRepository, VersionJpaRepository

public interface SimpleRepository<T,ID>

Author:
Elias Gomes [eliasgomes@users.sourceforge.net]

Method Summary
 T findById(ID id)
           
 void remove(T entity)
           
 void store(T entity)
           
 

Method Detail

findById

T findById(ID id)
           throws RepositoryException
Throws:
RepositoryException

store

void store(T entity)
           throws RepositoryException
Throws:
RepositoryException

remove

void remove(T entity)
            throws RepositoryException
Throws:
RepositoryException


Copyright © 2010. All Rights Reserved.