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

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

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

  Fields in org.silverpeas.components.suggestionbox.model declared as Suggestion
  Modifier and Type
  Field
  Description
  `static final Suggestion`
  Suggestion.`NONE`
  The NONE suggestion.
  Methods in org.silverpeas.components.suggestionbox.model that return Suggestion
  Modifier and Type
  Method
  Description
  `Suggestion`
  SuggestionCollection.`get(String suggestionId)`
  Gets the suggestion with the specified identifier from the suggestions of the suggestion box.
  `static Suggestion`
  Suggestion.`getById(String identifier)`
  Gets the suggestion with the specified unique identifier.
  `Suggestion`
  SuggestionCollection.`publish(Suggestion suggestion)`
  Publishes from the specified suggestion box the specified suggestion.
  `Suggestion`
  Suggestion.`setId(String id)`
  Sets the identifier of this suggestion.
  `Suggestion`
  SuggestionCollection.`validate(Suggestion suggestion, org.silverpeas.core.contribution.model.ContributionValidation validation)`
  Validates the specified suggestion in the current suggestion box with the specified validation information.
  Methods in org.silverpeas.components.suggestionbox.model that return types with arguments of type Suggestion
  Modifier and Type
  Method
  Description
  `List<Suggestion>`
  SuggestionCollection.`findAllProposedBy(org.silverpeas.core.admin.user.model.User author)`
  Finds the list of all the suggestions that are proposed by the specified user.
  `List<Suggestion>`
  SuggestionCollection.`findInDraftFor(org.silverpeas.core.admin.user.model.User user)`
  Finds the list of suggestions that are in draft and which the creator is those specified.
  `List<Suggestion>`
  SuggestionCollection.`findInStatus(org.silverpeas.core.contribution.ContributionStatus... statuses)`
  Finds the list of suggestions that are in the specified statuses.
  `List<Suggestion>`
  SuggestionCollection.`findOutOfDraftFor(org.silverpeas.core.admin.user.model.User user)`
  Finds the list of suggestions that are out of draft and which the creator is those specified.
  `List<Suggestion>`
  SuggestionCollection.`findPendingValidation()`
  Finds the list of suggestions that are pending validation.
  `List<Suggestion>`
  SuggestionCollection.`findPublished()`
  Finds the list of suggestions that are published (validated status).
  `List<Suggestion>`
  SuggestionCollection.`findPublishedFor(org.silverpeas.core.admin.user.model.User user)`
  Finds the list of suggestions that are published and which the creator is those specified.
  `Optional<Suggestion>`
  DefaultSuggestionBoxService.`getContributionById(org.silverpeas.core.contribution.model.ContributionIdentifier contributionId)`
  `Optional<Suggestion>`
  SuggestionBoxService.`getContributionById(org.silverpeas.core.contribution.model.ContributionIdentifier contributionId)`
  `Iterator<Suggestion>`
  SuggestionCollection.`iterator()`
  `protected List<Suggestion>`
  SuggestionBox.`persistedSuggestions()`
  Gets the actual persisted suggestions in this suggestion box.
  Methods in org.silverpeas.components.suggestionbox.model with parameters of type Suggestion
  Modifier and Type
  Method
  Description
  `boolean`
  SuggestionCollection.`add(Suggestion suggestion)`
  `void`
  SuggestionCollection.`add(Suggestion suggestion, Collection<org.silverpeas.core.io.upload.UploadedFile> uploadedFiles)`
  Adds the specified suggestion among the other suggestions of the suggestion box.
  `Suggestion`
  SuggestionCollection.`publish(Suggestion suggestion)`
  Publishes from the specified suggestion box the specified suggestion.
  `Suggestion`
  SuggestionCollection.`validate(Suggestion suggestion, org.silverpeas.core.contribution.model.ContributionValidation validation)`
  Validates the specified suggestion in the current suggestion box with the specified validation information.
  Method parameters in org.silverpeas.components.suggestionbox.model with type arguments of type Suggestion
  Modifier and Type
  Method
  Description
  `boolean`
  SuggestionCollection.`addAll(Collection<? extends Suggestion> suggestions)`

- ## Uses of Suggestion in org.silverpeas.components.suggestionbox.notification

  Methods in org.silverpeas.components.suggestionbox.notification with parameters of type Suggestion
  Modifier and Type
  Method
  Description
  `protected void`
  SuggestionBoxSubscriptionUserNotification.`perform(Suggestion resource)`
  `protected void`
  SuggestionNotifyManuallyUserNotification.`perform(Suggestion resource)`
  `protected void`
  SuggestionPendingValidationUserNotification.`perform(Suggestion resource)`
  `protected void`
  SuggestionValidationUserNotification.`perform(Suggestion resource)`
  `protected void`
  AbstractSuggestionUserNotification.`performNotificationResource(String language, Suggestion resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData)`
  `protected void`
  AbstractSuggestionUserNotification.`performTemplateData(String language, Suggestion resource, org.silverpeas.core.template.SilverpeasTemplate template)`
  `protected void`
  SuggestionValidationUserNotification.`performTemplateData(String language, Suggestion resource, org.silverpeas.core.template.SilverpeasTemplate template)`
  Constructors in org.silverpeas.components.suggestionbox.notification with parameters of type Suggestion
  Modifier
  Constructor
  Description
  `protected`
  `AbstractSuggestionUserNotification(Suggestion resource, org.silverpeas.core.notification.user.client.constant.NotifAction action)`
  ``
  `SuggestionBoxSubscriptionUserNotification(Suggestion resource)`
  ``
  `SuggestionNotifyManuallyUserNotification(Suggestion resource, org.silverpeas.core.admin.user.model.User sender)`
  ``
  `SuggestionPendingValidationUserNotification(Suggestion resource)`
  ``
  `SuggestionValidationUserNotification(Suggestion resource)`

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

  Methods in org.silverpeas.components.suggestionbox.repository that return Suggestion
  Modifier and Type
  Method
  Description
  `Suggestion`
  SuggestionRepository.`getById(String id)`
  `Suggestion`
  SuggestionRepository.`save(Suggestion suggestion)`
  Methods in org.silverpeas.components.suggestionbox.repository that return types with arguments of type Suggestion
  Modifier and Type
  Method
  Description
  `List<Suggestion>`
  SuggestionRepository.`findByCriteria(SuggestionCriteria criteria)`
  Finds suggestions according to the given suggestion criteria.
  `org.silverpeas.core.util.SilverpeasList<Suggestion>`
  SuggestionRepository.`findByCriteria(org.silverpeas.core.persistence.datasource.repository.QueryCriteria criteria)`
  `org.silverpeas.core.util.SilverpeasList<Suggestion>`
  SuggestionRepository.`getAll()`
  `org.silverpeas.core.util.SilverpeasList<Suggestion>`
  SuggestionRepository.`getById(Collection<String> ids)`
  `org.silverpeas.core.util.SilverpeasList<Suggestion>`
  SuggestionRepository.`save(List<Suggestion> suggestions)`
  `org.silverpeas.core.util.SilverpeasList<Suggestion>`
  SuggestionRepository.`save(Suggestion... suggestions)`
  Methods in org.silverpeas.components.suggestionbox.repository with parameters of type Suggestion
  Modifier and Type
  Method
  Description
  `boolean`
  SuggestionRepository.`contains(Suggestion entity)`
  `void`
  SuggestionRepository.`delete(Suggestion... suggestions)`
  `void`
  SuggestionRepository.`index(Suggestion suggestion)`
  Indexes the specified suggestion.
  `Suggestion`
  SuggestionRepository.`save(Suggestion suggestion)`
  `org.silverpeas.core.util.SilverpeasList<Suggestion>`
  SuggestionRepository.`save(Suggestion... suggestions)`
  Method parameters in org.silverpeas.components.suggestionbox.repository with type arguments of type Suggestion
  Modifier and Type
  Method
  Description
  `void`
  SuggestionRepository.`delete(List<Suggestion> suggestions)`
  `org.silverpeas.core.util.SilverpeasList<Suggestion>`
  SuggestionRepository.`save(List<Suggestion> suggestions)`