Class MgDaoOwnershipRepository
java.lang.Object
io.clonecloudstore.common.database.mongo.ExtendedPanacheMongoRepositoryBase<DaoOwnership,MgDaoOwnership>
io.clonecloudstore.administration.database.mongodb.MgDaoOwnershipRepository
- All Implemented Interfaces:
DaoOwnershipRepository
,RepositoryBaseInterface<DaoOwnership>
,io.quarkus.mongodb.panache.PanacheMongoRepositoryBase<MgDaoOwnership,
String>
@ApplicationScoped
public class MgDaoOwnershipRepository
extends ExtendedPanacheMongoRepositoryBase<DaoOwnership,MgDaoOwnership>
implements DaoOwnershipRepository
-
Field Summary
Fields inherited from class io.clonecloudstore.common.database.mongo.ExtendedPanacheMongoRepositoryBase
helper, ISSUE_WITH_SERIALIZATION, streamHelper
Fields inherited from interface io.clonecloudstore.administration.database.model.DaoOwnershipRepository
BUCKET, CLIENT_ID, OWNERSHIP, TABLE_NAME
Fields 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, updateFull
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.clonecloudstore.administration.database.model.DaoOwnershipRepository
deleteOwnership, deleteOwnerships, findAllOwnerships, findByBucket, findOwnerships, insertOwnership, updateOwnership
Methods 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, update
Methods 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
-
MgDaoOwnershipRepository
public MgDaoOwnershipRepository()
-
-
Method Details
-
getTable
- Specified by:
getTable
in interfaceRepositoryBaseInterface<DaoOwnership>
- Returns:
- the table name
-
createEmptyItem
- Specified by:
createEmptyItem
in interfaceRepositoryBaseInterface<DaoOwnership>
- Returns:
- an empty item
-
createIndex
- Throws:
CcsDbException
-