# Uses of Class
org.silverpeas.components.suggestionbox.model.SuggestionCriteria

Packages that use SuggestionCriteria
Package
Description
org.silverpeas.components.suggestionbox.model
org.silverpeas.components.suggestionbox.repository

- ## Uses of SuggestionCriteria in org.silverpeas.components.suggestionbox.model

  Methods in org.silverpeas.components.suggestionbox.model that return SuggestionCriteria
  Modifier and Type
  Method
  Description
  `SuggestionCriteria`
  SuggestionCriteria.`applyJoinOnData(SuggestionCriteria.JOIN_DATA_APPLY... joinDataApplies)`
  Configures the data join to apply on the suggestion list.
  `SuggestionCriteria`
  SuggestionCriteria.`createdBy(org.silverpeas.core.admin.user.model.User user)`
  Sets the creator criterion to find suggestion created by the given user.
  `static SuggestionCriteria`
  SuggestionCriteria.`from(SuggestionBox suggestionBox)`
  Initializes suggestion search criteria axed on the given suggestion box.
  `SuggestionCriteria`
  SuggestionCriteria.`identifierIsOneOf(String... identifiers)`
  Sets the identifiers criterion to find the suggestions with an identifier equals to one of the specified ones.
  `SuggestionCriteria`
  SuggestionCriteria.`orderedBy(SuggestionCriteria.QUERY_ORDER_BY... orderBies)`
  Configures the order of the suggestion list.
  `SuggestionCriteria`
  SuggestionCriteria.`paginatedBy(org.silverpeas.core.admin.PaginationPage pagination)`
  Sets the pagination criterion on the result of the criteria.
  `SuggestionCriteria`
  SuggestionCriteria.`statusIsOneOf(org.silverpeas.core.contribution.ContributionStatus... statuses)`
  Sets the list of status criterion to find suggestions which have their status equals to one of the given ones.
  `SuggestionCriteria`
  SuggestionCriteria.`withWysiwygContent()`
  Indicates that the content of the suggestions must be loaded before returning the result.

- ## Uses of SuggestionCriteria in org.silverpeas.components.suggestionbox.repository

  Methods in org.silverpeas.components.suggestionbox.repository with parameters of type SuggestionCriteria
  Modifier and Type
  Method
  Description
  `List<Suggestion>`
  SuggestionRepository.`findByCriteria(SuggestionCriteria criteria)`
  Finds suggestions according to the given suggestion criteria.