Class CKModifyRecordsOperation

    • Constructor Detail

      • CKModifyRecordsOperation

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

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

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

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

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

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

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

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

        public static long hash_static()
      • 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • 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()
      • version_static

        public static long version_static()
      • atomic

        public boolean atomic()
        Determines whether the batch should fail atomically or not. YES by default. Server-side write atomicity is only enforced on zones that have @c CKRecordZoneCapabilityAtomic. If @c isAtomic is YES, client-side checks are enforced regardless of the zone's capabilities. (For example, if a record is malformed, and cannot be sent to the server, the client will forcibly fail all other records-to-be-modified in that zone)
      • clientChangeTokenData

        public NSData clientChangeTokenData()
        This property is kept by the server to identify the last known request from this client. Multiple requests from the client with the same change token will be ignored by the server.
      • modifyRecordsCompletionBlock

        public CKModifyRecordsOperation.Block_modifyRecordsCompletionBlock_ret modifyRecordsCompletionBlock()
        This block is called when the operation completes. The @code -[NSOperation completionBlock] @endcode will also be called if both are set. If the error is @c CKErrorPartialFailure, the error's userInfo dictionary contains a dictionary of recordIDs to errors keyed off of @c CKPartialErrorsByItemIDKey. This call happens as soon as the server has seen all record changes, and may be invoked while the server is processing the side effects of those changes. Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
      • perRecordProgressBlock

        public CKModifyRecordsOperation.Block_perRecordProgressBlock_ret perRecordProgressBlock()
        Indicates the progress for each record. This method is called at least once with a progress of 1.0 for every record. Intermediate progress is only reported for records that contain assets. It is possible for progress to regress when a retry is automatically triggered. Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
      • savePolicy

        public long savePolicy()
        The default value is @c CKRecordSaveIfServerRecordUnchanged.
      • setAtomic

        public void setAtomic​(boolean value)
        Determines whether the batch should fail atomically or not. YES by default. Server-side write atomicity is only enforced on zones that have @c CKRecordZoneCapabilityAtomic. If @c isAtomic is YES, client-side checks are enforced regardless of the zone's capabilities. (For example, if a record is malformed, and cannot be sent to the server, the client will forcibly fail all other records-to-be-modified in that zone)
      • setClientChangeTokenData

        public void setClientChangeTokenData​(NSData value)
        This property is kept by the server to identify the last known request from this client. Multiple requests from the client with the same change token will be ignored by the server.
      • setModifyRecordsCompletionBlock

        public void setModifyRecordsCompletionBlock​(CKModifyRecordsOperation.Block_setModifyRecordsCompletionBlock value)
        This block is called when the operation completes. The @code -[NSOperation completionBlock] @endcode will also be called if both are set. If the error is @c CKErrorPartialFailure, the error's userInfo dictionary contains a dictionary of recordIDs to errors keyed off of @c CKPartialErrorsByItemIDKey. This call happens as soon as the server has seen all record changes, and may be invoked while the server is processing the side effects of those changes. Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
      • setPerRecordCompletionBlock

        public void setPerRecordCompletionBlock​(CKModifyRecordsOperation.Block_setPerRecordCompletionBlock value)
        Called on success or failure for each record. Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
      • setPerRecordProgressBlock

        public void setPerRecordProgressBlock​(CKModifyRecordsOperation.Block_setPerRecordProgressBlock value)
        Indicates the progress for each record. This method is called at least once with a progress of 1.0 for every record. Intermediate progress is only reported for records that contain assets. It is possible for progress to regress when a retry is automatically triggered. Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
      • setRecordIDsToDelete

        public void setRecordIDsToDelete​(NSArray<? extends CKRecordID> value)
      • setRecordsToSave

        public void setRecordsToSave​(NSArray<? extends CKRecord> value)
      • setSavePolicy

        public void setSavePolicy​(long value)
        The default value is @c CKRecordSaveIfServerRecordUnchanged.