T
- public interface GenericRepository<T>
void add(T entity)
entity
- UpdateConflictException
- if there was an update conflict.void update(T entity)
entity
- UpdateConflictException
- if there was an update conflict.void remove(T entity)
entity
- UpdateConflictException
- if there was an update conflict.T get(String id)
id
- DocumentNotFoundException
- if the document was not found.T get(String id, String rev)
id
- rev
- DocumentNotFoundException
- if the document was not found.boolean contains(String docId)
docId
- Copyright © 2013. All Rights Reserved.