Interface TuaGenericDao
- All Known Implementing Classes:
DefaultTuaGenericDao
public interface TuaGenericDao
Data access object for
ItemModel.- Since:
- 2208
-
Method Summary
Modifier and TypeMethodDescriptionFinds an item model of a specific typeCode with the given idFinds an item model of a specific typeCode with the given parametersRetrieves an item model of a specific typeCode with the given idRetrieves an item model of a specific typeCode with the given parameters
-
Method Details
-
getItem
Retrieves an item model of a specific typeCode with the given id- Parameters:
typeCode- the typeCode of the modelid- the id- Returns:
- the model found, null otherwise
-
getItem
Retrieves an item model of a specific typeCode with the given parameters- Parameters:
typeCode- the typeCode of the modelparams- the key-value pairs to filter the response- Returns:
- the model found, null otherwise
-
findItem
Finds an item model of a specific typeCode with the given id- Parameters:
typeCode- the typeCode of the modelid- the id- Returns:
- the model found, otherwise throws
ModelNotFoundException
-
findItem
Finds an item model of a specific typeCode with the given parameters- Parameters:
typeCode- the typeCode of the modelparams- the key-value pairs to filter the response- Returns:
- the model found, otherwise throws
ModelNotFoundException
-