Interface CategoryUpdateAction
- All Superinterfaces:
ResourceUpdateAction<CategoryUpdateAction>
- All Known Subinterfaces:
CategoryAddAssetAction
,CategoryChangeAssetNameAction
,CategoryChangeAssetOrderAction
,CategoryChangeNameAction
,CategoryChangeOrderHintAction
,CategoryChangeParentAction
,CategoryChangeSlugAction
,CategoryRemoveAssetAction
,CategorySetAssetCustomFieldAction
,CategorySetAssetCustomTypeAction
,CategorySetAssetDescriptionAction
,CategorySetAssetKeyAction
,CategorySetAssetSourcesAction
,CategorySetAssetTagsAction
,CategorySetCustomFieldAction
,CategorySetCustomTypeAction
,CategorySetDescriptionAction
,CategorySetExternalIdAction
,CategorySetKeyAction
,CategorySetMetaDescriptionAction
,CategorySetMetaKeywordsAction
,CategorySetMetaTitleAction
CategoryUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
CategoryUpdateAction categoryUpdateAction = CategoryUpdateAction.addAssetBuilder()
asset(assetBuilder -> assetBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for addAsset subtypebuilder for changeAssetName subtypebuilder for changeAssetOrder subtypebuilder for changeName subtypebuilder for changeOrderHint subtypebuilder for changeParent subtypebuilder for changeSlug subtypestatic CategoryUpdateAction
deepCopy
(CategoryUpdateAction template) factory method to create a deep copy of CategoryUpdateAction@NotNull String
builder for removeAsset subtypebuilder for setAssetCustomField subtypebuilder for setAssetCustomType subtypebuilder for setAssetDescription subtypebuilder for setAssetKey subtypebuilder for setAssetSources subtypebuilder for setAssetTags subtypebuilder for setCustomField subtypebuilder for setCustomType subtypebuilder for setDescription subtypebuilder for setExternalId subtypestatic CategorySetKeyActionBuilder
builder for setKey subtypebuilder for setMetaDescription subtypebuilder for setMetaKeywords subtypebuilder for setMetaTitle subtypestatic com.fasterxml.jackson.core.type.TypeReference<CategoryUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withCategoryUpdateAction
(Function<CategoryUpdateAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CategoryUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of CategoryUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addAssetBuilder
builder for addAsset subtype- Returns:
- builder
-
changeAssetNameBuilder
builder for changeAssetName subtype- Returns:
- builder
-
changeAssetOrderBuilder
builder for changeAssetOrder subtype- Returns:
- builder
-
changeNameBuilder
builder for changeName subtype- Returns:
- builder
-
changeOrderHintBuilder
builder for changeOrderHint subtype- Returns:
- builder
-
changeParentBuilder
builder for changeParent subtype- Returns:
- builder
-
changeSlugBuilder
builder for changeSlug subtype- Returns:
- builder
-
removeAssetBuilder
builder for removeAsset subtype- Returns:
- builder
-
setAssetCustomFieldBuilder
builder for setAssetCustomField subtype- Returns:
- builder
-
setAssetCustomTypeBuilder
builder for setAssetCustomType subtype- Returns:
- builder
-
setAssetDescriptionBuilder
builder for setAssetDescription subtype- Returns:
- builder
-
setAssetKeyBuilder
builder for setAssetKey subtype- Returns:
- builder
-
setAssetSourcesBuilder
builder for setAssetSources subtype- Returns:
- builder
-
setAssetTagsBuilder
builder for setAssetTags subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setCustomTypeBuilder
builder for setCustomType subtype- Returns:
- builder
-
setDescriptionBuilder
builder for setDescription subtype- Returns:
- builder
-
setExternalIdBuilder
builder for setExternalId subtype- Returns:
- builder
-
setKeyBuilder
builder for setKey subtype- Returns:
- builder
-
setMetaDescriptionBuilder
builder for setMetaDescription subtype- Returns:
- builder
-
setMetaKeywordsBuilder
builder for setMetaKeywords subtype- Returns:
- builder
-
setMetaTitleBuilder
builder for setMetaTitle subtype- Returns:
- builder
-
withCategoryUpdateAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-