Class CSSearchQuery

  • All Implemented Interfaces:
    NSObject

    public class CSSearchQuery
    extends NSObject
    • Constructor Detail

      • CSSearchQuery

        protected CSSearchQuery​(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()
      • cancel

        public void cancel()
      • foundItemCount

        public long foundItemCount()
        The query will update the count before each foundItemsHandler invocation to reflect the number of items found so far; if foundItemsHandler is nil then the count will contain the total number of found items when the query completes.
      • foundItemsHandler

        public CSSearchQuery.Block_foundItemsHandler_ret foundItemsHandler()
        The foundItemsHandler will be invoked repeatedly with a new batch of searchable items. The query serializes all the foundItemsHandler invocations.
      • initWithQueryStringAttributes

        public CSSearchQuery initWithQueryStringAttributes​(java.lang.String queryString,
                                                           NSArray<java.lang.String> attributes)
        queryString: The query string (e.g., 'contentType == "public.email-message" && subject != "Re:*"') attributes: The attributes to be fetched for the searchable items
      • isCancelled

        public boolean isCancelled()
      • protectionClasses

        public NSArray<java.lang.String> protectionClasses()
        An array of NSFileProtectionComplete, NSFileProtectionCompleteUnlessOpen, or NSFileProtectionCompleteUntilFirstUserAuthentication. By default the data protection will be read from the "com.apple.developer.default-data-protection" entitlement if any or NSFileProtectionCompleteUntilFirstUserAuthentication will be used otherwise.
      • setFoundItemsHandler

        public void setFoundItemsHandler​(CSSearchQuery.Block_setFoundItemsHandler value)
        The foundItemsHandler will be invoked repeatedly with a new batch of searchable items. The query serializes all the foundItemsHandler invocations.
      • setProtectionClasses

        public void setProtectionClasses​(NSArray<java.lang.String> value)
        An array of NSFileProtectionComplete, NSFileProtectionCompleteUnlessOpen, or NSFileProtectionCompleteUntilFirstUserAuthentication. By default the data protection will be read from the "com.apple.developer.default-data-protection" entitlement if any or NSFileProtectionCompleteUntilFirstUserAuthentication will be used otherwise.
      • start

        public void start()