All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bedework.calfacade.indexing.BwIndexFetcher Maven / Gradle / Ivy

The newest version!
/* ********************************************************************
    Appropriate copyright notice
*/
package org.bedework.calfacade.indexing;

import org.bedework.calfacade.BwCategory;
import org.bedework.calfacade.BwContact;
import org.bedework.calfacade.BwLocation;
import org.bedework.base.response.GetEntityResponse;

/** Allow one indexer to fetch resources from other indexes
 * User: mike Date: 9/5/18 Time: 09:51
 */
public interface BwIndexFetcher {
  /**
   *
   * @param params for getting indexer
   * @param href of entity
   * @return response containing status and entity
   */
  GetEntityResponse fetchCategory(BwIndexerParams params,
                                              String href);

  /**
   *
   * @param params for getting indexer
   * @param href of entity
   * @return response containing status and entity
   */
  GetEntityResponse fetchContact(BwIndexerParams params,
                                            String href);

  /**
   *
   * @param params for getting indexer
   * @param href of entity
   * @return response containing status and entity
   */
  GetEntityResponse fetchLocation(BwIndexerParams params,
                                              String href);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy