Package org.silverpeas.components.kmelia.repository

# Interface TopicSearchRepository

All Superinterfaces:
  `org.silverpeas.core.persistence.datasource.repository.EntityRepository<TopicSearch>`, `org.silverpeas.core.persistence.datasource.repository.WithSaveAndFlush<TopicSearch>`

All Known Implementing Classes:
  `TopicSearchJpaRepository`

public interface TopicSearchRepository extends org.silverpeas.core.persistence.datasource.repository.EntityRepository<TopicSearch>, org.silverpeas.core.persistence.datasource.repository.WithSaveAndFlush<TopicSearch>
Repository that handles TopicSearch beans.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<TopicSearch>`
  `findByInstanceId(String instanceId)`
  Returns all TopicSearch from Repository with the given instanceId.

  ### Methods inherited from interface org.silverpeas.core.persistence.datasource.repository.EntityRepository

  `contains, delete, delete, deleteByComponentInstanceId, deleteById, deleteById, findByCriteria, flush, getAll, getById, getById, getById, save, save, save`

  ### Methods inherited from interface org.silverpeas.core.persistence.datasource.repository.WithSaveAndFlush

  `saveAndFlush`

- ## Method Details

  - ### findByInstanceId

    List<TopicSearch> findByInstanceId(String instanceId)
    Returns all TopicSearch from Repository with the given instanceId. This method will be translated into a query using the one declared in the `NamedQuery` annotation declared one.
    Parameters:
      `instanceId` - the application instance identifier
    Returns:
      list of TopicSearch