public interface XodusCoreMemberRepository extends CoreMemberRepository<jetbrains.exodus.entitystore.EntityId,jetbrains.exodus.entitystore.PersistentEntityStore>, XodusRepository<CoreMember<jetbrains.exodus.entitystore.EntityId>>
| Modifier and Type | Method and Description |
|---|---|
java.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> |
asQuery(java.lang.String userName)
Creates a
Function that acts as a query
matching documents whose property userName
matches the provided String |
java.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> |
asQuery(java.util.UUID userUUID)
Creates a
Function that acts as a query
matching documents whose property userUUID
matches the provided UUID |
java.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> |
asQueryForIpAddress(java.lang.String ipAddress)
Creates a
Function that acts as a query
matching documents whose property ipAddress
matches the provided String |
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
ban(java.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> 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(java.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> query) |
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
mute(java.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> 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(java.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> query,
java.lang.String nickName)
Updates the property
nickName for
documents that match the provided query |
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
unBan(java.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> query)
Sets the property
banned to false for
documents that match the provided query |
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
unMute(java.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> 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, asQueryForIdOrTime, delete, getAll, getOne, update, updategetCreatedUtcdeleteOne, deleteOne, generateEmpty, getAll, getAllIds, getOne, getOne, getTClass, insert, insertOne, parseAndDeleteOne, parseAndGetOnegetDataStoreContext, getTKeyClass, parse, parseUnsafejava.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> asQuery(java.util.UUID userUUID)
Function that acts as a query
matching documents whose property userUUID
matches the provided UUIDuserUUID - UUID to create query forquery for the provided UUIDjava.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> asQuery(java.lang.String userName)
Function that acts as a query
matching documents whose property userName
matches the provided StringuserName - String to create query forquery for the provided UUIDjava.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> asQueryForIpAddress(java.lang.String ipAddress)
Function that acts as a query
matching documents whose property ipAddress
matches the provided StringipAddress - String to create query forquery for the provided UUIDjava.util.concurrent.CompletableFuture<java.lang.Boolean> ban(java.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> 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(java.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> 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(java.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> 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(java.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> 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(java.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> 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(java.util.function.Function<? super jetbrains.exodus.entitystore.StoreTransaction,? extends java.lang.Iterable<jetbrains.exodus.entitystore.Entity>> query)