Uses of Class
org.exoplatform.news.model.News
-
-
Uses of News in org.exoplatform.news.listener
Method parameters in org.exoplatform.news.listener with type arguments of type News Modifier and Type Method Description voidAnalyticsNewsListener. onEvent(org.exoplatform.services.listener.Event<String,News> event)voidAttachedActivityCacheUpdater. onEvent(org.exoplatform.services.listener.Event<String,News> event)voidNewsGamificationIntegrationListener. onEvent(org.exoplatform.services.listener.Event<String,News> event)voidNewsMetadataListener. onEvent(org.exoplatform.services.listener.Event<String,News> event) -
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(String id, boolean post, 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) -
Uses of News in org.exoplatform.news.service
Methods in org.exoplatform.news.service that return News Modifier and Type Method Description NewsNewsService. createNews(News news, org.exoplatform.services.security.Identity currentIdentity)Create and publish a News A news is composed of an activity and a CMS node containing the data.NewsNewsService. getNewsByActivityId(String activityId, org.exoplatform.services.security.Identity currentIdentity)Retrives a news identified by originating Activity identifier or a shared activity identifierNewsNewsService. getNewsById(String newsId, boolean editMode)Retrives a news identified by its technical identifierNewsNewsService. getNewsById(String newsId, org.exoplatform.services.security.Identity currentIdentity, boolean editMode)Retrives a news identified by its technical identifierNewsNewsService. postNews(News news, String poster)Create and publish a News A news is composed of an activity and a CMS node containing the data.NewsNewsService. scheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity)NewsNewsService. unScheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity)NewsNewsService. updateNews(News news, String updater, Boolean post, boolean publish)Update a news If the uploadId of the news is null, the illustration is not updated.Methods in org.exoplatform.news.service that return types with arguments of type News Modifier and Type Method Description List<News>NewsService. getNews(NewsFilter filter, org.exoplatform.services.security.Identity currentIdentity)Get all newsList<News>NewsService. getNewsByTargetName(NewsFilter filter, String targetName, org.exoplatform.services.security.Identity currentIdentity)Get list of news by a given target nameList<News>NewsService. searchNews(NewsFilter filter, String lang)Search news with the given textMethods in org.exoplatform.news.service with parameters of type News Modifier and Type Method Description booleanNewsService. canViewNews(News news, String authenticatedUser)NewsNewsService. createNews(News news, org.exoplatform.services.security.Identity currentIdentity)Create and publish a News A news is composed of an activity and a CMS node containing the data.voidNewsService. markAsRead(News news, String userId)Increment the number of views for a newsNewsNewsService. postNews(News news, String poster)Create and publish a News A news is composed of an activity and a CMS node containing the data.voidNewsService. publishNews(News news, String publisher)Publish a newsNewsNewsService. scheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity)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 spaceNewsNewsService. unScheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity)NewsNewsService. updateNews(News news, String updater, Boolean post, boolean publish)Update a news If the uploadId of the news is null, the illustration is not updated. -
Uses of News in org.exoplatform.news.service.impl
Methods in org.exoplatform.news.service.impl that return News Modifier and Type Method Description NewsNewsServiceImpl. createNews(News news, org.exoplatform.services.security.Identity currentIdentity)Create and publish a News A news is composed of an activity and a CMS node containing the data.NewsNewsServiceImpl. getNewsByActivityId(String activityId, org.exoplatform.services.security.Identity currentIdentity)Retrives a news identified by originating Activity identifier or a shared activity identifierNewsNewsServiceImpl. getNewsById(String newsId, boolean editMode)Retrives a news identified by its technical identifierNewsNewsServiceImpl. getNewsById(String newsId, org.exoplatform.services.security.Identity currentIdentity, boolean editMode)Retrives a news identified by its technical identifierNewsNewsServiceImpl. postNews(News news, String poster)Create and publish a News A news is composed of an activity and a CMS node containing the data.NewsNewsServiceImpl. scheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity)NewsNewsServiceImpl. unScheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity)NewsNewsServiceImpl. updateNews(News news, String updater, Boolean post, boolean publish)Update a news If the uploadId of the news is null, the illustration is not updated.Methods in org.exoplatform.news.service.impl that return types with arguments of type News Modifier and Type Method Description List<News>NewsServiceImpl. getNews(NewsFilter newsFilter, org.exoplatform.services.security.Identity currentIdentity)Get all newsList<News>NewsServiceImpl. getNewsByTargetName(NewsFilter newsFilter, String targetName, org.exoplatform.services.security.Identity currentIdentity)Get list of news by a given target nameList<News>NewsServiceImpl. searchNews(NewsFilter filter, String lang)Search news with the given textMethods in org.exoplatform.news.service.impl with parameters of type News Modifier and Type Method Description booleanNewsServiceImpl. canViewNews(News news, String username)NewsNewsServiceImpl. createNews(News news, org.exoplatform.services.security.Identity currentIdentity)Create and publish a News A news is composed of an activity and a CMS node containing the data.voidNewsServiceImpl. markAsRead(News news, String userId)Increment the number of views for a newsNewsNewsServiceImpl. postNews(News news, String poster)Create and publish a News A news is composed of an activity and a CMS node containing the data.voidNewsServiceImpl. postNewsActivity(News news)Post the news activity in the given spacevoidNewsServiceImpl. publishNews(News publishedNews, String publisher)Publish a newsNewsNewsServiceImpl. scheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity)voidNewsServiceImpl. sendNotification(String currentUserId, News news, NotificationConstants.NOTIFICATION_CONTEXT context)voidNewsServiceImpl. 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 spaceNewsNewsServiceImpl. unScheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity)NewsNewsServiceImpl. updateNews(News news, String updater, Boolean post, boolean publish)Update a news If the uploadId of the news is null, the illustration is not updated. -
Uses of News in org.exoplatform.news.storage
Methods in org.exoplatform.news.storage that return News Modifier and Type Method Description NewsNewsStorage. createNews(News news)NewsNewsStorage. getNewsById(String newsId, boolean editMode)NewsNewsStorage. scheduleNews(News news)NewsNewsStorage. unScheduleNews(News news)NewsNewsStorage. updateNews(News news, String updater)Methods in org.exoplatform.news.storage that return types with arguments of type News Modifier and Type Method Description List<News>NewsStorage. getNews(NewsFilter newsFilter)List<News>NewsStorage. searchNews(NewsFilter filter, String lang)Methods in org.exoplatform.news.storage with parameters of type News Modifier and Type Method Description NewsNewsStorage. createNews(News news)StringNewsStorage. getNewsIllustration(News news)voidNewsStorage. markAsRead(News news, String userId)voidNewsStorage. publishNews(News news)NewsNewsStorage. scheduleNews(News news)voidNewsStorage. shareNews(News news, org.exoplatform.social.core.space.model.Space space, org.exoplatform.social.core.identity.model.Identity userIdentity, String sharedActivityId)NewsNewsStorage. unScheduleNews(News news)NewsNewsStorage. updateNews(News news, String updater)voidNewsStorage. updateNewsActivities(String newsActivityId, News news)List<NewsAttachment>NewsAttachmentsStorage. updateNewsAttachments(News updatedNews, javax.jcr.Node newsNode) -
Uses of News in org.exoplatform.news.storage.jcr
Methods in org.exoplatform.news.storage.jcr that return News Modifier and Type Method Description NewsJcrNewsStorage. createNews(News news)Create the exo:news draft node in CMSNewsJcrNewsStorage. getNewsById(String newsId, boolean editMode)NewsJcrNewsStorage. scheduleNews(News news)NewsJcrNewsStorage. unScheduleNews(News news)NewsJcrNewsStorage. updateNews(News news, String updater)Methods in org.exoplatform.news.storage.jcr that return types with arguments of type News Modifier and Type Method Description List<News>JcrNewsStorage. getNews(NewsFilter newsFilter)Get all newsList<News>JcrNewsStorage. searchNews(NewsFilter filter, String lang)Search news with the given textMethods in org.exoplatform.news.storage.jcr with parameters of type News Modifier and Type Method Description NewsJcrNewsStorage. createNews(News news)Create the exo:news draft node in CMSStringJcrNewsStorage. getNewsIllustration(News news)voidJcrNewsStorage. markAsRead(News news, String userId)voidJcrNewsStorage. publishNews(News news)Publish a newsNewsJcrNewsStorage. scheduleNews(News news)voidJcrNewsStorage. shareNews(News news, org.exoplatform.social.core.space.model.Space space, org.exoplatform.social.core.identity.model.Identity userIdentity, String sharedActivityId)NewsJcrNewsStorage. unScheduleNews(News news)NewsJcrNewsStorage. updateNews(News news, String updater)voidJcrNewsStorage. updateNewsActivities(String newsActivityId, News news)List<NewsAttachment>JcrNewsAttachmentsStorage. updateNewsAttachments(News updatedNews, javax.jcr.Node newsNode)Adds new attachments to the News and remove the attachments to remove.
-