Class NewsMetadataListener

  • All Implemented Interfaces:
    org.exoplatform.container.component.ComponentPlugin

    public class NewsMetadataListener
    extends org.exoplatform.services.listener.Listener<Long,​org.exoplatform.social.metadata.model.MetadataItem>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String NEWS_METADATA_OBJECT_TYPE  
      • Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

        desc, name
    • Constructor Summary

      Constructors 
      Constructor Description
      NewsMetadataListener​(org.exoplatform.commons.search.index.IndexingService indexingService, NewsService newsService, org.exoplatform.social.metadata.favorite.FavoriteService favoriteService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.social.metadata.tag.TagService tagService)  
    • Constructor Detail

      • NewsMetadataListener

        public NewsMetadataListener​(org.exoplatform.commons.search.index.IndexingService indexingService,
                                    NewsService newsService,
                                    org.exoplatform.social.metadata.favorite.FavoriteService favoriteService,
                                    org.exoplatform.social.core.manager.IdentityManager identityManager,
                                    org.exoplatform.social.core.manager.ActivityManager activityManager,
                                    org.exoplatform.social.metadata.tag.TagService tagService)
    • Method Detail

      • onEvent

        public void onEvent​(org.exoplatform.services.listener.Event<Long,​org.exoplatform.social.metadata.model.MetadataItem> event)
                     throws Exception
        Specified by:
        onEvent in class org.exoplatform.services.listener.Listener<Long,​org.exoplatform.social.metadata.model.MetadataItem>
        Throws:
        Exception