Interface PlantDao
-
public interface PlantDao
This classes uses SQLite commands to access and fetch plant data from prepopulate database- Since:
- 2022-03-01
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Plant
getPlantByName(java.lang.String plantName)
Query to select all from plant database with selected typejava.util.List<Plant>
getPlantByType(java.lang.String type)
Query to select all from plant database with selected type
-
-
-
Method Detail
-
getPlantByType
java.util.List<Plant> getPlantByType(java.lang.String type)
Query to select all from plant database with selected type- Parameters:
type
- String- Returns:
- data from plant database with selected type
-
getPlantByName
Plant getPlantByName(java.lang.String plantName)
Query to select all from plant database with selected type- Parameters:
plantName
- String- Returns:
- database from plant database with selected plant name
-
-