Class MongoDeploymentDao
java.lang.Object
dev.getelements.elements.dao.mongo.MongoDeploymentDao
- All Implemented Interfaces:
DeploymentDao
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDeployment
(Deployment deployment) void
deleteDeployment
(String applicationId, String deploymentId) getAllDeployments
(int offset, int count) getCurrentDeployment
(String applicationId) dev.morphia.Datastore
getDeployment
(String applicationId, String deploymentId) getDeployments
(String applicationId, int offset, int count) void
setBeanMapper
(MapperRegistry beanMapperRegistry) void
setDatastore
(dev.morphia.Datastore datastore) void
setMongoApplicationDao
(MongoApplicationDao mongoApplicationDao) void
setMongoDBUtils
(MongoDBUtils mongoDBUtils) updateDeployment
(String applicationId, Deployment deployment)
-
Constructor Details
-
MongoDeploymentDao
public MongoDeploymentDao()
-
-
Method Details
-
getDeployments
- Specified by:
getDeployments
in interfaceDeploymentDao
-
getAllDeployments
- Specified by:
getAllDeployments
in interfaceDeploymentDao
-
getDeployment
- Specified by:
getDeployment
in interfaceDeploymentDao
-
getCurrentDeployment
- Specified by:
getCurrentDeployment
in interfaceDeploymentDao
-
updateDeployment
- Specified by:
updateDeployment
in interfaceDeploymentDao
-
createDeployment
- Specified by:
createDeployment
in interfaceDeploymentDao
-
deleteDeployment
- Specified by:
deleteDeployment
in interfaceDeploymentDao
-
getMongoDBUtils
-
setMongoDBUtils
-
getDatastore
public dev.morphia.Datastore getDatastore() -
setDatastore
@Inject public void setDatastore(dev.morphia.Datastore datastore) -
getBeanMapper
-
setBeanMapper
-
getMongoApplicationDao
-
setMongoApplicationDao
-