Class BoxSearchManager

java.lang.Object
org.apache.camel.component.box.api.BoxSearchManager

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

    • 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 Details

    • 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.