Class MgDaoTopologyRepository
java.lang.Object
io.clonecloudstore.common.database.mongo.ExtendedPanacheMongoRepositoryBase<DaoTopology,MgDaoTopology>
io.clonecloudstore.administration.database.mongodb.MgDaoTopologyRepository
- All Implemented Interfaces:
DaoTopologyRepository,RepositoryBaseInterface<DaoTopology>,io.quarkus.mongodb.panache.PanacheMongoRepositoryBase<MgDaoTopology,String>
@ApplicationScoped
public class MgDaoTopologyRepository
extends ExtendedPanacheMongoRepositoryBase<DaoTopology,MgDaoTopology>
implements DaoTopologyRepository
-
Field Summary
Fields inherited from class io.clonecloudstore.common.database.mongo.ExtendedPanacheMongoRepositoryBase
helper, ISSUE_WITH_SERIALIZATION, streamHelperFields inherited from interface io.clonecloudstore.administration.database.model.DaoTopologyRepository
NAME, STATUS, TABLE_NAME, URIFields inherited from interface io.clonecloudstore.common.database.utils.RepositoryBaseInterface
ID, ID_PG -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.clonecloudstore.common.database.mongo.ExtendedPanacheMongoRepositoryBase
addToInsertBulk, addToUpdateBulk, addToUpsertBulk, count, countAll, delete, deleteAllDb, deleteWithPk, findIterator, findIterator, findOne, findStream, findWithPk, flushAll, insert, isSqlRepository, update, updateFullMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.clonecloudstore.administration.database.model.DaoTopologyRepository
deleteTopology, findAllTopologies, findBySite, findTopologies, insertTopology, updateTopology, updateTopologyStatusMethods inherited from interface io.quarkus.mongodb.panache.PanacheMongoRepositoryBase
count, count, count, count, count, delete, delete, delete, delete, delete, deleteAll, deleteById, find, find, find, find, find, find, find, find, findAll, findAll, findById, findByIdOptional, list, list, list, list, list, list, list, list, listAll, listAll, mongoCollection, mongoDatabase, persist, persist, persist, persist, persistOrUpdate, persistOrUpdate, persistOrUpdate, persistOrUpdate, stream, stream, stream, stream, stream, stream, stream, stream, streamAll, streamAll, update, update, update, update, update, update, update, updateMethods inherited from interface io.clonecloudstore.common.database.utils.RepositoryBaseInterface
addToInsertBulk, count, countAll, delete, deleteAllDb, deleteWithPk, findIterator, findOne, findStream, findWithPk, flushAll, getPkName, insert, isSqlRepository, update, updateFull
-
Constructor Details
-
MgDaoTopologyRepository
public MgDaoTopologyRepository()
-
-
Method Details
-
getTable
- Specified by:
getTablein interfaceRepositoryBaseInterface<DaoTopology>- Returns:
- the table name
-
createEmptyItem
- Specified by:
createEmptyItemin interfaceRepositoryBaseInterface<DaoTopology>- Returns:
- an empty item
-
createIndex
- Throws:
CcsDbException
-