Uses of Class
org.exoplatform.news.model.News
Packages that use News
Package
Description
-
Uses of News in org.exoplatform.news.listener
Method parameters in org.exoplatform.news.listener with type arguments of type News -
Uses of News in org.exoplatform.news.notification.utils
Methods in org.exoplatform.news.notification.utils with parameters of type NewsModifier and TypeMethodDescriptionstatic 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 NewsMethods in org.exoplatform.news.rest with parameters of type NewsModifier and TypeMethodDescriptionjavax.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 -
Uses of News in org.exoplatform.news.service
Methods in org.exoplatform.news.service that return NewsModifier and TypeMethodDescriptionNewsService.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.NewsService.getNewsByActivityId(String activityId, org.exoplatform.services.security.Identity currentIdentity) Retrieves a news item identified by originating Activity identifier or a shared activity identifierNewsService.getNewsById(String newsId, boolean editMode) Retrives a news identified by its technical identifierNewsService.getNewsById(String newsId, org.exoplatform.services.security.Identity currentIdentity, boolean editMode) Retrives a news identified by its technical identifierCreate and publish a News A news is composed of an activity and a CMS node containing the data.NewsService.scheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity) Schedule publishing a NewsNewsService.unScheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity) Un-schedule publishing a 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 NewsModifier and TypeMethodDescriptionNewsService.getNews(NewsFilter filter, org.exoplatform.services.security.Identity currentIdentity) Get all newsNewsService.getNewsByTargetName(NewsFilter filter, String targetName, org.exoplatform.services.security.Identity currentIdentity) Get list of news by a given target nameNewsService.searchNews(NewsFilter filter, String lang) Search news with the given textMethods in org.exoplatform.news.service with parameters of type NewsModifier and TypeMethodDescriptionbooleanNewsService.canViewNews(News news, String authenticatedUser) Checks if the user can view the 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.voidNewsTargetingService.deleteNewsTargets(News news, String currentUserId) voidNewsService.markAsRead(News news, String userId) Increment the number of views for a newsCreate 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 newsvoidNewsTargetingService.saveNewsTarget(News news, boolean displayed, List<String> targets, String currentUser) NewsService.scheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity) Schedule publishing a NewsvoidNewsService.shareNews(News news, org.exoplatform.social.core.space.model.Space space, org.exoplatform.social.core.identity.model.Identity userIdentity, String sharedActivityId) Shares a news item into a dedicated spaceNewsService.unScheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity) Un-schedule publishing a 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 NewsModifier and TypeMethodDescriptionNewsServiceImpl.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.NewsServiceImpl.getNewsByActivityId(String activityId, org.exoplatform.services.security.Identity currentIdentity) Retrieves a news item identified by originating Activity identifier or a shared activity identifierNewsServiceImpl.getNewsById(String newsId, boolean editMode) Retrives a news identified by its technical identifierNewsServiceImpl.getNewsById(String newsId, org.exoplatform.services.security.Identity currentIdentity, boolean editMode) Retrives a news identified by its technical identifierCreate and publish a News A news is composed of an activity and a CMS node containing the data.NewsServiceImpl.scheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity) Schedule publishing a NewsNewsServiceImpl.unScheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity) Un-schedule publishing a 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 NewsModifier and TypeMethodDescriptionNewsServiceImpl.getNews(NewsFilter newsFilter, org.exoplatform.services.security.Identity currentIdentity) Get all newsNewsServiceImpl.getNewsByTargetName(NewsFilter newsFilter, String targetName, org.exoplatform.services.security.Identity currentIdentity) Get list of news by a given target nameNewsServiceImpl.searchNews(NewsFilter filter, String lang) Search news with the given textMethods in org.exoplatform.news.service.impl with parameters of type NewsModifier and TypeMethodDescriptionbooleanNewsServiceImpl.canViewNews(News news, String username) Checks if the user can view the 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.voidNewsTargetingServiceImpl.deleteNewsTargets(News news, String currentUserId) voidNewsServiceImpl.markAsRead(News news, String userId) Increment the number of views for a newsCreate and publish a News A news is composed of an activity and a CMS node containing the data.voidNewsServiceImpl.publishNews(News publishedNews, String publisher) Publish a newsvoidNewsTargetingServiceImpl.saveNewsTarget(News news, boolean displayed, List<String> targets, String currentUserId) NewsServiceImpl.scheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity) Schedule publishing a NewsvoidNewsServiceImpl.shareNews(News news, org.exoplatform.social.core.space.model.Space space, org.exoplatform.social.core.identity.model.Identity userIdentity, String sharedActivityId) Shares a news item into a dedicated spaceNewsServiceImpl.unScheduleNews(News news, org.exoplatform.services.security.Identity currentIdentity) Un-schedule publishing a 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 NewsModifier and TypeMethodDescriptionNewsStorage.createNews(News news) NewsStorage.getNewsById(String newsId, boolean editMode) NewsStorage.scheduleNews(News news) NewsStorage.unScheduleNews(News news) NewsStorage.updateNews(News news, String updater) Methods in org.exoplatform.news.storage that return types with arguments of type NewsModifier and TypeMethodDescriptionNewsStorage.getNews(NewsFilter newsFilter) NewsStorage.searchNews(NewsFilter filter, String lang) Methods in org.exoplatform.news.storage with parameters of type NewsModifier and TypeMethodDescriptionNewsStorage.createNews(News news) NewsStorage.getNewsIllustration(News news) voidNewsStorage.markAsRead(News news, String userId) voidNewsStorage.publishNews(News news) NewsStorage.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) NewsStorage.unScheduleNews(News news) NewsStorage.updateNews(News news, String updater) voidNewsStorage.updateNewsActivities(String newsActivityId, News news) 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 NewsModifier and TypeMethodDescriptionJcrNewsStorage.createNews(News news) Create the exo:news draft node in CMSJcrNewsStorage.getNewsById(String newsId, boolean editMode) JcrNewsStorage.scheduleNews(News news) JcrNewsStorage.unScheduleNews(News news) JcrNewsStorage.updateNews(News news, String updater) Methods in org.exoplatform.news.storage.jcr that return types with arguments of type NewsModifier and TypeMethodDescriptionJcrNewsStorage.getNews(NewsFilter newsFilter) Get all newsJcrNewsStorage.searchNews(NewsFilter filter, String lang) Search news with the given textMethods in org.exoplatform.news.storage.jcr with parameters of type NewsModifier and TypeMethodDescriptionJcrNewsStorage.createNews(News news) Create the exo:news draft node in CMSJcrNewsStorage.getNewsIllustration(News news) voidJcrNewsStorage.markAsRead(News news, String userId) voidJcrNewsStorage.publishNews(News news) Publish a newsJcrNewsStorage.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) JcrNewsStorage.unScheduleNews(News news) JcrNewsStorage.updateNews(News news, String updater) voidJcrNewsStorage.updateNewsActivities(String newsActivityId, News news) JcrNewsAttachmentsStorage.updateNewsAttachments(News updatedNews, javax.jcr.Node newsNode) Adds new attachments to the News and remove the attachments to remove.