Uses of Class
org.exoplatform.news.model.News
-
Packages that use News Package Description org.exoplatform.news org.exoplatform.news.notification.utils org.exoplatform.news.rest -
-
Uses of News in org.exoplatform.news
Methods in org.exoplatform.news that return News Modifier and Type Method Description NewsNewsService. cancelScheduleNews(News news)NewsNewsServiceImpl. cancelScheduleNews(News news)NewsNewsService. convertNodeToNews(javax.jcr.Node node, boolean editMode)NewsNewsServiceImpl. convertNodeToNews(javax.jcr.Node node, boolean editMode)NewsNewsService. createNews(News news)NewsNewsService. createNews(News news, javax.jcr.Session session)NewsNewsServiceImpl. createNews(News news)Create and publish a News A news is composed of an activity and a CMS node containing the data.NewsNewsServiceImpl. createNews(News news, javax.jcr.Session session)NewsNewsService. createNewsDraft(News news)NewsNewsServiceImpl. createNewsDraft(News news)Create the exo:news draft node in CMSNewsNewsService. getNewsByActivityId(String activityId, String authenticatedUser)Retrives a news identified by originating Activity identifier or a shared activity identifierNewsNewsServiceImpl. getNewsByActivityId(String activityId, String authenticatedUser)NewsNewsService. getNewsById(String newsId, boolean editMode)Retrives a news identified by its technical identifierNewsNewsService. getNewsById(String newsId, String authenticatedUser, boolean editMode)Retrives a news identified by its technical identifierNewsNewsServiceImpl. getNewsById(String newsId, boolean editMode)NewsNewsServiceImpl. getNewsById(String newsId, String authenticatedUser, boolean editMode)NewsNewsService. scheduleNews(News news)NewsNewsServiceImpl. scheduleNews(News news)NewsNewsService. updateNews(News news)NewsNewsServiceImpl. updateNews(News news)Update a news If the uploadId of the news is null, the illustration is not updated.Methods in org.exoplatform.news that return types with arguments of type News Modifier and Type Method Description List<News>NewsService. getNews(NewsFilter filter)List<News>NewsServiceImpl. getNews(NewsFilter filter)Get all newsList<News>NewsService. searchNews(NewsFilter filter, String lang)List<News>NewsServiceImpl. searchNews(NewsFilter filter, String lang)Search news with the given textMethods in org.exoplatform.news with parameters of type News Modifier and Type Method Description NewsNewsService. cancelScheduleNews(News news)NewsNewsServiceImpl. cancelScheduleNews(News news)booleanNewsService. canEditNews(News news, String authenticatedUser)booleanNewsServiceImpl. canEditNews(News news, String authenticatedUser)booleanNewsService. canViewNews(News news, String authenticatedUser)booleanNewsServiceImpl. canViewNews(News news, String username)NewsNewsService. createNews(News news)NewsNewsService. createNews(News news, javax.jcr.Session session)NewsNewsServiceImpl. createNews(News news)Create and publish a News A news is composed of an activity and a CMS node containing the data.NewsNewsServiceImpl. createNews(News news, javax.jcr.Session session)NewsNewsService. createNewsDraft(News news)NewsNewsServiceImpl. createNewsDraft(News news)Create the exo:news draft node in CMSvoidNewsService. markAsRead(News news, String userId)voidNewsServiceImpl. markAsRead(News news, String userId)Increment the number of views for a newsNewsNewsService. scheduleNews(News news)NewsNewsServiceImpl. scheduleNews(News news)protected voidNewsServiceImpl. sendNotification(News news, NotificationConstants.NOTIFICATION_CONTEXT context, javax.jcr.Session session)voidNewsService. shareNews(News news, org.exoplatform.social.core.space.model.Space space, org.exoplatform.social.core.identity.model.Identity userIdentity, String sharedActivityId)Shares a news into a dedicated spacevoidNewsServiceImpl. shareNews(News news, org.exoplatform.social.core.space.model.Space space, org.exoplatform.social.core.identity.model.Identity userIdentity, String sharedActivityId)NewsNewsService. updateNews(News news)NewsNewsServiceImpl. updateNews(News news)Update a news If the uploadId of the news is null, the illustration is not updated.protected voidNewsServiceImpl. updateNewsActivities(org.exoplatform.social.core.activity.model.ExoSocialActivity activity, News news, javax.jcr.Session session)List<NewsAttachment>NewsAttachmentsService. updateNewsAttachments(News updatedNews, javax.jcr.Node newsNode)List<NewsAttachment>NewsAttachmentsServiceImpl. updateNewsAttachments(News updatedNews, javax.jcr.Node newsNode)Adds new attachments to the News and remove the attachments to remove. -
Uses of News in org.exoplatform.news.notification.utils
Methods in org.exoplatform.news.notification.utils with parameters of type News Modifier and Type Method Description static StringNotificationUtils. getNewsIllustration(News news, javax.jcr.Session session) -
Uses of News in org.exoplatform.news.rest
Methods in org.exoplatform.news.rest that return types with arguments of type News Modifier and Type Method Description List<News>NewsEntity. getNews()Methods in org.exoplatform.news.rest with parameters of type News Modifier and Type Method Description javax.ws.rs.core.ResponseNewsRestResourcesV1. createNews(javax.servlet.http.HttpServletRequest request, News news)javax.ws.rs.core.ResponseNewsRestResourcesV1. patchNews(javax.servlet.http.HttpServletRequest request, String id, News updatedNews)javax.ws.rs.core.ResponseNewsRestResourcesV1. scheduleNews(javax.servlet.http.HttpServletRequest request, News scheduledNews)javax.ws.rs.core.ResponseNewsRestResourcesV1. updateNews(javax.servlet.http.HttpServletRequest request, String id, News updatedNews)Method parameters in org.exoplatform.news.rest with type arguments of type News Modifier and Type Method Description voidNewsEntity. setNews(List<News> news)
-