Package com.okta.authn.sdk.example.dao
Class DefaultStormtrooperDao
java.lang.Object
com.okta.authn.sdk.example.dao.DefaultStormtrooperDao
- All Implemented Interfaces:
StormtrooperDao
Dummy DAO that will generate 50 random Stormtroopers upon creation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddStormtrooper
(Stormtrooper stormtrooper) boolean
updateStormtrooper
(String id, Stormtrooper stormtrooper)
-
Constructor Details
-
DefaultStormtrooperDao
public DefaultStormtrooperDao()
-
-
Method Details
-
listStormtroopers
- Specified by:
listStormtroopers
in interfaceStormtrooperDao
-
getStormtrooper
- Specified by:
getStormtrooper
in interfaceStormtrooperDao
-
addStormtrooper
- Specified by:
addStormtrooper
in interfaceStormtrooperDao
-
updateStormtrooper
- Specified by:
updateStormtrooper
in interfaceStormtrooperDao
-
deleteStormtrooper
- Specified by:
deleteStormtrooper
in interfaceStormtrooperDao
-