Interface AbstractBundleComponentEditableChecker<O extends AbstractOrderModel>
-
- All Known Implementing Classes:
AutoPickBundleComponentEditableChecker,AutoPickCartBundleComponentEditableChecker,DefaultAbstractBundleComponentEditableChecker,DefaultCartBundleComponentEditableChecker
public interface AbstractBundleComponentEditableChecker<O extends AbstractOrderModel>Checks if a bundle component (BundleTemplateModel) can be edited
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanisAutoPickComponent(BundleTemplateModel bundleTemplate)Deprecated, for removal: This API element is subject to removal in a future version.since 1811 - auto pick components were moved to subscriptionbundlesbooleanisRequiredDependencyMet(O order, BundleTemplateModel bundleTemplate, java.lang.Integer entryGroupNumber)Checks if the selection dependency of the given componentbundleTemplatein given bundlebundleTemplateandorderis fulfilled.
-
-
-
Method Detail
-
isRequiredDependencyMet
boolean isRequiredDependencyMet(@Nonnull O order, @Nonnull BundleTemplateModel bundleTemplate, @Nonnull java.lang.Integer entryGroupNumber)Checks if the selection dependency of the given componentbundleTemplatein given bundlebundleTemplateandorderis fulfilled. Returns the result of that check instead of throwing an exception.- Parameters:
order- the order specified bundle is a part ofbundleTemplate- the component to check selection dependency forentryGroupNumber- number of the entry group created from bundle template
-
isAutoPickComponent
@Deprecated(since="1811", forRemoval=true) boolean isAutoPickComponent(@Nullable BundleTemplateModel bundleTemplate)Deprecated, for removal: This API element is subject to removal in a future version.since 1811 - auto pick components were moved to subscriptionbundlesChecks ifBundleTemplateModelhas a selection criteria of auto pick type.- Parameters:
bundleTemplate-- Returns:
trueif selection criteria has auto pick type, otherwisefalse
-
-