Class NewsIndexingServiceConnector

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

    public class NewsIndexingServiceConnector
    extends org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String TYPE  
      • Fields inherited from class org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector

        currentIndex, indexAlias, mapping, replicas, shards
      • Fields inherited from class org.exoplatform.commons.search.index.IndexingServiceConnector

        connectorName, enable
      • Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

        desc, name
    • Constructor Summary

      Constructors 
      Constructor Description
      NewsIndexingServiceConnector​(org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.container.xml.InitParams initParams, NewsService newsService, org.exoplatform.social.core.manager.ActivityManager activityManager)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.exoplatform.commons.search.domain.Document create​(String id)  
      List<String> getAllIds​(int offset, int limit)  
      String getConnectorName()  
      org.exoplatform.commons.search.domain.Document update​(String id)  
      • Methods inherited from class org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector

        delete, getAttachmentProcessor, getCurrentIndex, getIndexAlias, getMapping, getPipelineName, getReplicas, getShards, isNeedIngestPipeline, setReplicas, setShards
      • Methods inherited from class org.exoplatform.commons.search.index.IndexingServiceConnector

        isEnable, setEnable
      • Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

        getDescription, getName, setDescription, setName
    • Constructor Detail

      • NewsIndexingServiceConnector

        public NewsIndexingServiceConnector​(org.exoplatform.social.core.manager.IdentityManager identityManager,
                                            org.exoplatform.container.xml.InitParams initParams,
                                            NewsService newsService,
                                            org.exoplatform.social.core.manager.ActivityManager activityManager)
    • Method Detail

      • getConnectorName

        public String getConnectorName()
        Specified by:
        getConnectorName in class org.exoplatform.commons.search.index.IndexingServiceConnector
      • create

        public org.exoplatform.commons.search.domain.Document create​(String id)
        Specified by:
        create in class org.exoplatform.commons.search.index.IndexingServiceConnector
      • update

        public org.exoplatform.commons.search.domain.Document update​(String id)
        Specified by:
        update in class org.exoplatform.commons.search.index.IndexingServiceConnector
      • getAllIds

        public List<String> getAllIds​(int offset,
                                      int limit)
        Specified by:
        getAllIds in class org.exoplatform.commons.search.index.IndexingServiceConnector