Package com.okta.authn.sdk.example.dao
Interface StormtrooperDao
-
- All Known Implementing Classes:
DefaultStormtrooperDao
public interface StormtrooperDao
Example CRUD DAO interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stormtrooper
addStormtrooper(Stormtrooper stormtrooper)
boolean
deleteStormtrooper(String id)
Stormtrooper
getStormtrooper(String id)
Collection<Stormtrooper>
listStormtroopers()
Stormtrooper
updateStormtrooper(String id, Stormtrooper stormtrooper)
-
-
-
Method Detail
-
listStormtroopers
Collection<Stormtrooper> listStormtroopers()
-
getStormtrooper
Stormtrooper getStormtrooper(String id)
-
addStormtrooper
Stormtrooper addStormtrooper(Stormtrooper stormtrooper)
-
updateStormtrooper
Stormtrooper updateStormtrooper(String id, Stormtrooper stormtrooper)
-
deleteStormtrooper
boolean deleteStormtrooper(String id)
-
-