java.lang.Object
com.erudika.para.server.persistence.AWSDynamoDAO
- All Implemented Interfaces:
com.erudika.para.core.persistence.DAO
@Singleton
public class AWSDynamoDAO
extends Object
implements com.erudika.para.core.persistence.DAO
An implementation of the
DAO
interface using AWS DynamoDB as a data store.- Author:
- Alex Bogdanovski [[email protected]]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<P extends com.erudika.para.core.ParaObject>
String<P extends com.erudika.para.core.ParaObject>
Stringcreate
(P so) <P extends com.erudika.para.core.ParaObject>
void<P extends com.erudika.para.core.ParaObject>
void<P extends com.erudika.para.core.ParaObject>
void<P extends com.erudika.para.core.ParaObject>
voiddelete
(P so) <P extends com.erudika.para.core.ParaObject>
void<P extends com.erudika.para.core.ParaObject>
void<P extends com.erudika.para.core.ParaObject>
P<P extends com.erudika.para.core.ParaObject>
P<P extends com.erudika.para.core.ParaObject>
List<P> readPage
(com.erudika.para.core.utils.Pager pager) <P extends com.erudika.para.core.ParaObject>
List<P> <P extends com.erudika.para.core.ParaObject>
void<P extends com.erudika.para.core.ParaObject>
voidupdate
(P so) <P extends com.erudika.para.core.ParaObject>
void<P extends com.erudika.para.core.ParaObject>
void
-
Constructor Details
-
AWSDynamoDAO
public AWSDynamoDAO()No-args constructor.
-
-
Method Details
-
create
-
read
-
update
- Specified by:
update
in interfacecom.erudika.para.core.persistence.DAO
-
delete
- Specified by:
delete
in interfacecom.erudika.para.core.persistence.DAO
-
createAll
-
readAll
-
readPage
-
updateAll
-
deleteAll
-
create
- Specified by:
create
in interfacecom.erudika.para.core.persistence.DAO
-
read
- Specified by:
read
in interfacecom.erudika.para.core.persistence.DAO
-
update
public <P extends com.erudika.para.core.ParaObject> void update(P so) - Specified by:
update
in interfacecom.erudika.para.core.persistence.DAO
-
delete
public <P extends com.erudika.para.core.ParaObject> void delete(P so) - Specified by:
delete
in interfacecom.erudika.para.core.persistence.DAO
-
createAll
- Specified by:
createAll
in interfacecom.erudika.para.core.persistence.DAO
-
readAll
-
readPage
public <P extends com.erudika.para.core.ParaObject> List<P> readPage(com.erudika.para.core.utils.Pager pager) - Specified by:
readPage
in interfacecom.erudika.para.core.persistence.DAO
-
updateAll
- Specified by:
updateAll
in interfacecom.erudika.para.core.persistence.DAO
-
deleteAll
- Specified by:
deleteAll
in interfacecom.erudika.para.core.persistence.DAO
-