Class NSCoreDataCoreSpotlightDelegate

  • All Implemented Interfaces:
    NSObject

    public class NSCoreDataCoreSpotlightDelegate
    extends NSObject
    NSCoreDataSpotlightDelegate implements the CSSearchableIndexDelegate API, but can't publicly declare it due to linkage requirements. API-Since: 11.0
    • Constructor Detail

      • NSCoreDataCoreSpotlightDelegate

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • attributeSetForObject

        @Nullable
        public @Nullable CSSearchableItemAttributeSet attributeSetForObject​(@NotNull
                                                                            @NotNull NSManagedObject object)
        Create the searchable attributes for the managed object. Override to return nil if you do not want the object included in the index.
      • 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()
      • debugDescription_static

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

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

        @NotNull
        public @NotNull java.lang.String domainIdentifier()
        CoreSpotlight domain identifer; default is the store's identifier
      • hash_static

        public static long hash_static()
      • indexName

        @Nullable
        public @Nullable java.lang.String indexName()
        CoreSpotlight index name; default nil
      • 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)
      • 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()
      • deleteSpotlightIndexWithCompletionHandler

        public void deleteSpotlightIndexWithCompletionHandler​(@NotNull
                                                              @NotNull NSCoreDataCoreSpotlightDelegate.Block_deleteSpotlightIndexWithCompletionHandler completionHandler)
        Deletes all searchable items for the configured Spotlight index. Calling this method may return errors from lower layer dependencies, such as Core Data and Core Spotlight. API-Since: 14.0
      • initForStoreWithDescriptionCoordinator

        public NSCoreDataCoreSpotlightDelegate initForStoreWithDescriptionCoordinator​(@NotNull
                                                                                      @NotNull NSPersistentStoreDescription description,
                                                                                      @NotNull
                                                                                      @NotNull NSPersistentStoreCoordinator psc)
        Designated initializer for NSCoreDataCoreSpotlightDelegate. If this method is used to create the object, -[NSCoreDataCoreSpotlightDelegate startSpotlightIndexing] must be called for the delegate to begin indexing. NSCoreDataSpotlightDelegate requires that - the store type is NSSQLiteStoreType. - the store has persistent history tracking enabled. API-Since: 13.0
      • isIndexingEnabled

        public boolean isIndexingEnabled()
        Returns if indexing is enabled or not. API-Since: 15.0
      • startSpotlightIndexing

        public void startSpotlightIndexing()
        Starts Spotlight indexing. API-Since: 13.0
      • stopSpotlightIndexing

        public void stopSpotlightIndexing()
        Stops Spotlight indexing. API-Since: 13.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.