Class SolrWorkflowIndexer

    • Method Detail

      • indexAmetysObjectWorkflow

        public void indexAmetysObjectWorkflow​(WorkflowAwareAmetysObject object,
                                              String workspaceName)
                                       throws org.apache.solr.client.solrj.SolrServerException,
                                              IOException
        Index the workflow history of an Ametys object.
        Parameters:
        object - The ametys object.
        workspaceName - The workspace where to work in
        Throws:
        org.apache.solr.client.solrj.SolrServerException - If a solr error occurs.
        IOException - If an I/O error occurs while indexing.
      • indexAmetysObjectWorkflow

        public void indexAmetysObjectWorkflow​(WorkflowAwareAmetysObject object,
                                              String workspaceName,
                                              org.apache.solr.client.solrj.SolrClient solrClient)
                                       throws org.apache.solr.client.solrj.SolrServerException,
                                              IOException
        Index the workflow history of an Ametys object.
        Parameters:
        object - The ametys object.
        workspaceName - The workspace where to work in
        solrClient - The solr client to use
        Throws:
        org.apache.solr.client.solrj.SolrServerException - If a solr error occurs.
        IOException - If an I/O error occurs while indexing.
      • unindexAmetysObjectWorkflow

        public void unindexAmetysObjectWorkflow​(String objectId,
                                                String workspaceName,
                                                org.apache.solr.client.solrj.SolrClient solrClient)
                                         throws org.apache.solr.client.solrj.SolrServerException,
                                                IOException
        Unindex the workflow history of an Ametys object.
        Parameters:
        objectId - The Ametys object ID.
        workspaceName - The workspace where to work in
        solrClient - The solr client to use
        Throws:
        org.apache.solr.client.solrj.SolrServerException - If a solr error occurs.
        IOException - If an I/O error occurs while indexing.