Uses of Class
org.silverpeas.components.suggestionbox.web.SuggestionEntity
-
Packages that use SuggestionEntity Package Description org.silverpeas.components.suggestionbox.common org.silverpeas.components.suggestionbox.web -
-
Uses of SuggestionEntity in org.silverpeas.components.suggestionbox.common
Methods in org.silverpeas.components.suggestionbox.common that return SuggestionEntity Modifier and Type Method Description SuggestionEntitySuggestionBoxWebManager. approveSuggestion(SuggestionBox suggestionBox, Suggestion suggestion, String validationComment, org.silverpeas.core.admin.user.model.User fromUser)Approves a suggestion.SuggestionEntitySuggestionBoxWebManager. asWebEntity(Suggestion suggestion)Converts the suggestion into its corresponding web entity.SuggestionEntitySuggestionBoxWebManager. publishSuggestion(SuggestionBox suggestionBox, Suggestion suggestion, org.silverpeas.core.admin.user.model.User fromUser)Publishes a suggestion.SuggestionEntitySuggestionBoxWebManager. refuseSuggestion(SuggestionBox suggestionBox, Suggestion suggestion, String validationComment, org.silverpeas.core.admin.user.model.User fromUser)Refuses a suggestion.Methods in org.silverpeas.components.suggestionbox.common that return types with arguments of type SuggestionEntity Modifier and Type Method Description List<SuggestionEntity>SuggestionBoxWebManager. asWebEntities(List<Suggestion> suggestions)Converts the list of suggestion into list of suggestion web entities.List<SuggestionEntity>SuggestionBoxWebManager. getAllSuggestionsFor(SuggestionBox suggestionBox, org.silverpeas.core.admin.user.model.User user)Gets the list of all the suggestions in the specified suggestion box that a user can see.List<SuggestionEntity>SuggestionBoxWebManager. getAllSuggestionsProposedBy(SuggestionBox suggestionBox, org.silverpeas.core.admin.user.model.User creator)Gets the list of all the suggestions in the specified suggestion box proposed by the specified creator.List<SuggestionEntity>SuggestionBoxWebManager. getPublishedSuggestions(SuggestionBox suggestionBox)Gets the list of suggestions that are published.List<SuggestionEntity>SuggestionBoxWebManager. getPublishedSuggestionsFor(SuggestionBox suggestionBox, org.silverpeas.core.admin.user.model.User creator)Gets the list of suggestions that are published and which the creator is those specified.List<SuggestionEntity>SuggestionBoxWebManager. getSuggestionsByCriteria(SuggestionCriteria criteria)Gets the list of suggestions that match the specified criteria.List<SuggestionEntity>SuggestionBoxWebManager. getSuggestionsForValidation(SuggestionBox suggestionBox)Gets the list of suggestions that are out of draft, awaiting their validation by a publisher.List<SuggestionEntity>SuggestionBoxWebManager. getSuggestionsInDraftFor(SuggestionBox suggestionBox, org.silverpeas.core.admin.user.model.User creator)Gets the list of suggestions that are in draft or refused and which the creator is those specified.List<SuggestionEntity>SuggestionBoxWebManager. getSuggestionsInPendingValidation(SuggestionBox suggestionBox)Gets the list of suggestions that are in pending validation and which.List<SuggestionEntity>SuggestionBoxWebManager. getSuggestionsOutOfDraftFor(SuggestionBox suggestionBox, org.silverpeas.core.admin.user.model.User creator)Gets the list of suggestions that are out of draft and which the creator is those specified. -
Uses of SuggestionEntity in org.silverpeas.components.suggestionbox.web
Methods in org.silverpeas.components.suggestionbox.web that return SuggestionEntity Modifier and Type Method Description protected SuggestionEntitySuggestionEntity. decorate(Suggestion suggestion)static SuggestionEntitySuggestionEntity. fromSuggestion(Suggestion suggestion)SuggestionEntitySuggestionBoxResource. getSuggestion(String suggestionId)Gets the JSON representation of a suggestion.SuggestionEntitySuggestionBoxResource. publishSuggestion(String suggestionId)Publishes the suggestion identified by the specified identifier.Methods in org.silverpeas.components.suggestionbox.web that return types with arguments of type SuggestionEntity Modifier and Type Method Description Collection<SuggestionEntity>SuggestionBoxResource. getPublishedSuggestions(String authorId, String page, String property)Gets the JSON representation of a list of suggestions that are published, by default sorted by date of validation (from the newer to the older).Collection<SuggestionEntity>SuggestionBoxResource. getSuggestionsInDraft()Gets the JSON representation of a list of suggestion that are in draft for the user behind the service call.Collection<SuggestionEntity>SuggestionBoxResource. getSuggestionsInPendingValidation()Gets the JSON representation of a list of suggestion that are pending validation.Collection<SuggestionEntity>SuggestionBoxResource. getSuggestionsOutOfDraft()Gets the JSON representation of a list of suggestion that are out of draft for the user behind the service call.
-