Interface StoreSetCountriesAction

All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>, StoreUpdateAction

public interface StoreSetCountriesAction extends StoreUpdateAction

This update action produces the StoreCountriesChanged Message.


Example to create an instance using the builder pattern

     StoreSetCountriesAction storeSetCountriesAction = StoreSetCountriesAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getCountries

      @Valid @Valid List<StoreCountry> getCountries()

      New value to set.

      Returns:
      countries
    • setCountries

      void setCountries(StoreCountry... countries)

      New value to set.

      Parameters:
      countries - values to be set
    • setCountries

      void setCountries(List<StoreCountry> countries)

      New value to set.

      Parameters:
      countries - values to be set
    • of

      factory method
      Returns:
      instance of StoreSetCountriesAction
    • of

      factory method to create a shallow copy StoreSetCountriesAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of StoreSetCountriesAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for StoreSetCountriesAction
      Returns:
      builder
    • builder

      create builder for StoreSetCountriesAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withStoreSetCountriesAction

      default <T> T withStoreSetCountriesAction(Function<StoreSetCountriesAction,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<StoreSetCountriesAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference