Class BoxSearchManager


  • public class BoxSearchManager
    extends Object
    Provides operations to manage Box searches.
    • Constructor Detail

      • BoxSearchManager

        public BoxSearchManager​(com.box.sdk.BoxAPIConnection boxConnection)
        Create search manager to manage the searches of Box connection's authenticated user.
        Parameters:
        boxConnection - - Box connection to authenticated user account.
    • Method Detail

      • searchFolder

        public Collection<com.box.sdk.BoxItem> searchFolder​(String folderId,
                                                            String query)
        Search folder and all descendant folders using the given query.
        Parameters:
        folderId - - the id of folder searched.
        query - - the search query.
        Returns:
        A collection of matching items.