public interface MongoCoreMemberRepository extends CoreMemberRepository<org.bson.types.ObjectId,org.mongodb.morphia.Datastore>, MongoRepository<CoreMember<org.bson.types.ObjectId>>
| Modifier and Type | Method and Description |
|---|---|
org.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> |
asQuery(java.lang.String userName)
Creates a
Query matching documents whose
property userName matches the provided String |
org.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> |
asQuery(java.util.UUID userUUID)
Creates a
Query matching documents whose
property userUUID matches the provided UUID |
org.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> |
asQueryForIpAddress(java.lang.String ipAddress)
Creates a
Query matching documents whose
property ipAddress matches the provided String |
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
ban(org.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> query,
java.time.Instant endUtc,
java.lang.String reason)
Updates the properties
banEndUtc, banReason
and sets banned to true for documents that
match the provided Query |
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
deleteNickName(org.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> query)
Deletes the property
nickName for
documents that match the provided boolean |
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
mute(org.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> query,
java.time.Instant endUtc,
java.lang.String reason)
Updates the properties
muteEndUtc, muteReason
and sets muted to true for documents that
match the provided Query |
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
setNickName(org.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> query,
java.lang.String nickName)
Updates the property
nickName for
documents that match the provided Query |
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
unBan(org.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> query)
Sets the property
banned to false for
documents that match the provided Query |
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
unMute(org.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> query)
Sets the property
muted to false for
documents that match the provided Query |
ban, banIpAddress, banUser, banUser, checkBanned, checkBanned, checkBannedForUser, checkBannedForUser, checkMuted, checkMuted, checkMutedForUser, checkMutedForUser, deleteNickName, deleteNickNameForUser, deleteNickNameForUser, getForIpAddress, getOneForUser, getOneForUser, getOneOrGenerateForUser, getOneOrGenerateForUser, mute, muteIpAddress, muteUser, muteUser, setNickName, setNickNameForUser, setNickNameForUser, unBan, unBanIpAddress, unBanUser, unBanUser, unMute, unMuteIpAddress, unMuteUser, unMuteUserasQuery, asQuery, asQuery, asQueryForIdOrTime, createUpdateOperations, delete, getAll, getOne, inc, inc, set, unSet, update, updategetCreatedUtcdeleteOne, deleteOne, generateEmpty, getAll, getAllIds, getOne, getOne, getTClass, insert, insertOne, parseAndDeleteOne, parseAndGetOnegetDataStoreContext, getTKeyClass, parse, parseUnsafeorg.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> asQuery(java.util.UUID userUUID)
Query matching documents whose
property userUUID matches the provided UUIDuserUUID - UUID to create Query forQuery for the provided UUIDorg.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> asQuery(java.lang.String userName)
Query matching documents whose
property userName matches the provided StringuserName - String to create Query forQuery for the provided Stringorg.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> asQueryForIpAddress(java.lang.String ipAddress)
Query matching documents whose
property ipAddress matches the provided StringipAddress - String to create Query forQuery for the provided Stringjava.util.concurrent.CompletableFuture<java.lang.Boolean> ban(org.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> query, java.time.Instant endUtc, java.lang.String reason)
banEndUtc, banReason
and sets banned to true for documents that
match the provided Queryquery - Query to update documents forendUtc - Instant end of the banreason - String reason for the banCompletableFuture wrapped Boolean.
true if successful, otherwise falsejava.util.concurrent.CompletableFuture<java.lang.Boolean> unBan(org.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> query)
banned to false for
documents that match the provided Queryquery - Query to update documents forCompletableFuture wrapped Boolean.
true if successful, otherwise falsejava.util.concurrent.CompletableFuture<java.lang.Boolean> mute(org.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> query, java.time.Instant endUtc, java.lang.String reason)
muteEndUtc, muteReason
and sets muted to true for documents that
match the provided Queryquery - Query to update documents forendUtc - Instant end of the mutereason - String reason for the muteCompletableFuture wrapped Boolean.
true if successful, otherwise falsejava.util.concurrent.CompletableFuture<java.lang.Boolean> unMute(org.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> query)
muted to false for
documents that match the provided Queryquery - Query to update documents forCompletableFuture wrapped Boolean.
true if successful, otherwise falsejava.util.concurrent.CompletableFuture<java.lang.Boolean> setNickName(org.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> query, java.lang.String nickName)
nickName for
documents that match the provided Queryquery - Query to update documents fornickName - String new nickNameCompletableFuture wrapped Boolean.
true if successful, otherwise falsejava.util.concurrent.CompletableFuture<java.lang.Boolean> deleteNickName(org.mongodb.morphia.query.Query<CoreMember<org.bson.types.ObjectId>> query)
nickName for
documents that match the provided booleanquery - Query to update documents forCompletableFuture wrapped Boolean
true if successful, otherwise false