## Uses of Class
org.silverpeas.components.quickinfo.model.News

- Packages that use News
  Package | Description
  --- | ---
  org.silverpeas.components.quickinfo |
  org.silverpeas.components.quickinfo.model |
  org.silverpeas.components.quickinfo.notification |
  org.silverpeas.components.quickinfo.repository |
  org.silverpeas.components.quickinfo.service |

- - ### Uses of News in org.silverpeas.components.quickinfo

    Methods in org.silverpeas.components.quickinfo that return types with arguments of type News
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<News>` | NewsByStatus.`getDrafts()` |
    `List<News>` | NewsByStatus.`getNoMoreVisibles()` |
    `List<News>` | NewsByStatus.`getNotYetVisibles()` |
    `List<News>` | NewsByStatus.`getVisibles()` |

    Constructor parameters in org.silverpeas.components.quickinfo with type arguments of type News
    Constructor | Description
    --- | ---
    `NewsByStatus​(List<News> allNews, String userId)` |

  - ### Uses of News in org.silverpeas.components.quickinfo.model

    Methods in org.silverpeas.components.quickinfo.model that return News
    Modifier and Type | Method | Description
    --- | --- | ---
    `News` | News.Builder.`build()` | Builds a `News` instance from the properties that were previously set with this builder.
    `News` | DefaultQuickInfoService.`copyNews​(News newsToCopy, org.silverpeas.core.admin.component.model.PasteDetail pasteDetail)` |
    `News` | QuickInfoService.`copyNews​(News newsToCopy, org.silverpeas.core.admin.component.model.PasteDetail pasteDetail)` | Creating new news from an existing one.
    `News` | DefaultQuickInfoService.`create​(News news)` |
    `News` | QuickInfoService.`create​(News news)` |
    `News` | DefaultQuickInfoService.`getNews​(String id)` |
    `News` | QuickInfoService.`getNews​(String id)` |
    `News` | DefaultQuickInfoService.`getNewsByForeignId​(String foreignId)` |
    `News` | QuickInfoService.`getNewsByForeignId​(String id)` |
    `News` | News.`setId​(String id)` |

    Methods in org.silverpeas.components.quickinfo.model that return types with arguments of type News
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<News>` | DefaultQuickInfoService.`getAllNews​(String componentId)` |
    `List<News>` | QuickInfoService.`getAllNews​(String componentId)` |
    `Optional<News>` | DefaultQuickInfoService.`getContributionById​(org.silverpeas.core.contribution.model.ContributionIdentifier contributionId)` |
    `Optional<News>` | QuickInfoService.`getContributionById​(org.silverpeas.core.contribution.model.ContributionIdentifier contributionId)` |
    `List<News>` | DefaultQuickInfoService.`getNewsForTicker​(String userId)` |
    `List<News>` | QuickInfoService.`getNewsForTicker​(String userId)` |
    `List<News>` | DefaultQuickInfoService.`getPlatformNews​(String userId)` |
    `List<News>` | QuickInfoService.`getPlatformNews​(String userId)` |
    `List<News>` | DefaultQuickInfoService.`getUnreadBlockingNews​(String userId)` |
    `List<News>` | QuickInfoService.`getUnreadBlockingNews​(String userId)` |
    `List<News>` | DefaultQuickInfoService.`getVisibleNews​(String componentId)` |
    `List<News>` | QuickInfoService.`getVisibleNews​(String componentId)` |

    Methods in org.silverpeas.components.quickinfo.model with parameters of type News
    Modifier and Type | Method | Description
    --- | --- | ---
    `static News.Builder` | News.`builder​(News news)` | Gets a builder of `News` instances from data of another one.
    `News` | DefaultQuickInfoService.`copyNews​(News newsToCopy, org.silverpeas.core.admin.component.model.PasteDetail pasteDetail)` |
    `News` | QuickInfoService.`copyNews​(News newsToCopy, org.silverpeas.core.admin.component.model.PasteDetail pasteDetail)` | Creating new news from an existing one.
    `News` | DefaultQuickInfoService.`create​(News news)` |
    `News` | QuickInfoService.`create​(News news)` |
    `void` | DefaultQuickInfoService.`update​(News news, List<org.silverpeas.core.pdc.pdc.model.PdcPosition> positions, Collection<org.silverpeas.core.io.upload.UploadedFile> uploadedFiles, boolean forcePublishing)` |
    `void` | QuickInfoService.`update​(News news, List<org.silverpeas.core.pdc.pdc.model.PdcPosition> positions, Collection<org.silverpeas.core.io.upload.UploadedFile> uploadedFiles, boolean forcePublishing)` |

    Constructors in org.silverpeas.components.quickinfo.model with parameters of type News
    Constructor | Description
    --- | ---
    `NewsSelection​(News news)` |

  - ### Uses of News in org.silverpeas.components.quickinfo.notification

    Methods in org.silverpeas.components.quickinfo.notification with parameters of type News
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected NewsEvent` | NewsEventNotifier.`createResourceEventFrom​(org.silverpeas.core.notification.system.ResourceEvent.Type type, News... resource)` |
    `protected void` | AbstractNewsUserNotification.`performNotificationResource​(String language, News resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData)` |
    `protected void` | AbstractNewsUserNotification.`performTemplateData​(String language, News resource, org.silverpeas.core.template.SilverpeasTemplate template)` |
    `boolean` | QuickInfoDelayedVisibilityUserNotificationReminder.`setAbout​(News news)` | Initialize the reminder for the given news if possible.

    Constructors in org.silverpeas.components.quickinfo.notification with parameters of type News
    Constructor | Description
    --- | ---
    `AbstractNewsUserNotification​(News resource, org.silverpeas.core.notification.user.client.constant.NotifAction action)` |
    `NewsEvent​(org.silverpeas.core.notification.system.ResourceEvent.Type type, News... news)` |
    `NewsManualUserNotification​(News resource, org.silverpeas.core.admin.user.model.User sender)` |
    `QuickInfoSubscriptionUserNotification​(News resource, org.silverpeas.core.notification.user.client.constant.NotifAction action)` |

  - ### Uses of News in org.silverpeas.components.quickinfo.repository

    Methods in org.silverpeas.components.quickinfo.repository that return News
    Modifier and Type | Method | Description
    --- | --- | ---
    `News` | NewsRepository.`getByForeignId​(String foreignId)` |

    Methods in org.silverpeas.components.quickinfo.repository that return types with arguments of type News
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<News>` | NewsRepository.`getBlockingNews()` |
    `List<News>` | NewsRepository.`getByComponentId​(String componentId)` |
    `List<News>` | NewsRepository.`getByComponentIds​(List<String> componentIds)` |
    `List<News>` | NewsRepository.`getTickerNews()` |

  - ### Uses of News in org.silverpeas.components.quickinfo.service

    Methods in org.silverpeas.components.quickinfo.service with parameters of type News
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | QuickInfoDateComparatorDesc.`compare​(News pd1, News pd2)` | This result is reversed as we want a descending sort.