Class ProjectChangeProductSearchIndexingEnabledActionImpl

java.lang.Object
com.commercetools.api.models.project.ProjectChangeProductSearchIndexingEnabledActionImpl
All Implemented Interfaces:
ProjectChangeProductSearchIndexingEnabledAction, ProjectUpdateAction, ResourceUpdateAction<ProjectUpdateAction>, io.vrap.rmf.base.client.ModelBase

ProjectChangeProductSearchIndexingEnabledAction
  • Constructor Details

  • Method Details

    • getAction

      public String getAction()
      Specified by:
      getAction in interface ProjectUpdateAction
      Specified by:
      getAction in interface ResourceUpdateAction<ProjectUpdateAction>
      Returns:
      action
    • getEnabled

      public Boolean getEnabled()
      • If false, the indexing of Product information will stop and the Product Projection Search as well as the Product Suggestions endpoint will not be available anymore for this Project. The Project's SearchIndexingConfiguration status for products will be changed to "Deactivated".
      • If true, the indexing of Product information will start and the Product Projection Search as well as the Product Suggestions endpoint will become available soon after for this Project. Proportional to the amount of information being indexed, the Project's SearchIndexingConfiguration status for products will be shown as "Indexing" during this time. As soon as the indexing has finished, the configuration status will be changed to "Activated" making the aforementioned endpoints fully available for this Project.
      Specified by:
      getEnabled in interface ProjectChangeProductSearchIndexingEnabledAction
      Returns:
      enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
      Description copied from interface: ProjectChangeProductSearchIndexingEnabledAction
      • If false, the indexing of Product information will stop and the Product Projection Search as well as the Product Suggestions endpoint will not be available anymore for this Project. The Project's SearchIndexingConfiguration status for products will be changed to "Deactivated".
      • If true, the indexing of Product information will start and the Product Projection Search as well as the Product Suggestions endpoint will become available soon after for this Project. Proportional to the amount of information being indexed, the Project's SearchIndexingConfiguration status for products will be shown as "Indexing" during this time. As soon as the indexing has finished, the configuration status will be changed to "Activated" making the aforementioned endpoints fully available for this Project.
      Specified by:
      setEnabled in interface ProjectChangeProductSearchIndexingEnabledAction
      Parameters:
      enabled - value to be set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object