Interface IRepository
- 
- All Known Implementing Classes:
- DerbyRepository
 
 public interface IRepository
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description LongcreateEntity(EntityEnum type, BaseEntityModel model)List<BaseEntityModel>getAllEntities(EntityEnum type)List<BaseEntityModel>getAllEntitiesByField(EntityEnum type, Object fieldValue)BaseEntityModelgetEntity(EntityEnum type, Long id)voidremoveEntity(EntityEnum type, Long id)voidupdateEntity(EntityEnum type, BaseEntityModel model)
 
- 
- 
- 
Method Detail- 
createEntityLong createEntity(EntityEnum type, BaseEntityModel model) 
 - 
getEntityBaseEntityModel getEntity(EntityEnum type, Long id) 
 - 
getAllEntitiesList<BaseEntityModel> getAllEntities(EntityEnum type) 
 - 
getAllEntitiesByFieldList<BaseEntityModel> getAllEntitiesByField(EntityEnum type, Object fieldValue) 
 - 
updateEntityvoid updateEntity(EntityEnum type, BaseEntityModel model) 
 - 
removeEntityvoid removeEntity(EntityEnum type, Long id) 
 
- 
 
-