Class StoreSetLanguagesActionImpl
java.lang.Object
com.commercetools.api.models.store.StoreSetLanguagesActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<StoreUpdateAction>
,StoreSetLanguagesAction
,StoreUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class StoreSetLanguagesActionImpl
extends Object
implements StoreSetLanguagesAction, io.vrap.rmf.base.client.ModelBase
This update action produces the StoreLanguagesChanged Message. Adding a language other than the ones defined in the Project returns a ProjectNotConfiguredForLanguages error.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.store.StoreSetLanguagesAction
SET_LANGUAGES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set.int
hashCode()
void
setLanguages
(String... languages) Value to set.void
setLanguages
(List<String> languages) Value to set.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.store.StoreSetLanguagesAction
withStoreSetLanguagesAction
Methods inherited from interface com.commercetools.api.models.store.StoreUpdateAction
withStoreUpdateAction
-
Constructor Details
-
StoreSetLanguagesActionImpl
public StoreSetLanguagesActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StoreUpdateAction>
- Specified by:
getAction
in interfaceStoreUpdateAction
- Returns:
- action
-
getLanguages
Value to set.
- Specified by:
getLanguages
in interfaceStoreSetLanguagesAction
- Returns:
- languages
-
setLanguages
Description copied from interface:StoreSetLanguagesAction
Value to set.
- Specified by:
setLanguages
in interfaceStoreSetLanguagesAction
- Parameters:
languages
- values to be set
-
setLanguages
Description copied from interface:StoreSetLanguagesAction
Value to set.
- Specified by:
setLanguages
in interfaceStoreSetLanguagesAction
- Parameters:
languages
- values to be set
-
equals
-
hashCode
-