Class CKSyncEngineSendChangesScope

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class CKSyncEngineSendChangesScope
    extends NSObject
    implements NSCopying
    A scope in which the sync engine will send changes to the server. API-Since: 17.0
    • Constructor Detail

      • CKSyncEngineSendChangesScope

        protected CKSyncEngineSendChangesScope​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • containsPendingRecordZoneChange

        public boolean containsPendingRecordZoneChange​(@NotNull
                                                       @NotNull CKSyncEnginePendingRecordZoneChange pendingRecordZoneChange)
        Returns true if this scope includes the given pending change.
      • containsRecordID

        public boolean containsRecordID​(@NotNull
                                        @NotNull CKRecordID recordID)
        Returns true if this scope includes the given record ID.
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • excludedZoneIDs

        @NotNull
        public @NotNull NSSet<? extends CKRecordZoneID> excludedZoneIDs()
        A specific set of zone IDs to exclude from this scope. If you know that you don't want to send changes for a particular set of zones, you can set those zones here. Note that if `zoneIDs` is set, then `excludedZoneIDs` will always be empty.
      • hash_static

        public static long hash_static()
      • initWithRecordIDs

        public CKSyncEngineSendChangesScope initWithRecordIDs​(@Nullable
                                                              @Nullable NSSet<? extends CKRecordID> recordIDs)
        Creates a scope that includes only the given record IDs. If `recordIDs` is nil, this scope contains all records.
      • initWithZoneIDs

        public CKSyncEngineSendChangesScope initWithZoneIDs​(@Nullable
                                                            @Nullable NSSet<? extends CKRecordZoneID> zoneIDs)
        Creates a scope that contains only the given zone IDs. If `zoneIDs` is nil, then this scope contains all zones.
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • recordIDs

        @Nullable
        public @Nullable NSSet<? extends CKRecordID> recordIDs()
        The scope of record IDs in which to send changes. If you only want to send changes for a particular set of records, you can initialize your scope with those records IDs. When creating the next batch of changes to send to the server, consult this property and only send changes for these record IDs. If this and `zoneIDs` are `nil`, then you should send all changes.
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.
      • version_static

        public static long version_static()
      • zoneIDs

        @Nullable
        public @Nullable NSSet<? extends CKRecordZoneID> zoneIDs()
        The scope of zone IDs in which to send changes. If you only want to send changes for a particular set of zones, you can initialize your scope with those zone IDs. When creating the next batch of changes to send to the server, consult this and only send changes within these zones. If this and `recordIDs` are `nil`, then you should send all changes.