Class AugmentedContainer
java.lang.Object
com.broadleafcommerce.metadata.core.domain.AugmentedContainer
Composition of a
Component along with all of the Augmentations that
were applied to it- Author:
- Phillip Verheyden (phillipuniverse)
-
Constructor Summary
ConstructorsConstructorDescriptionAugmentedContainer(com.broadleafcommerce.metadata.dsl.core.Component<?> component, List<Augmentation> augmentations, List<Augmentation> appliedAugmentations) AugmentedContainer(com.broadleafcommerce.metadata.dsl.core.Component<?> component, List<com.broadleafcommerce.metadata.dsl.core.Component<?>> globalComponents, List<Augmentation> augmentations, List<Augmentation> appliedAugmentations, List<com.broadleafcommerce.metadata.dsl.core.ViewFilter<?>> availableFilters) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe augmentations that were actually applied to the container component.The Augmentations targeting the containercomponent.List<com.broadleafcommerce.metadata.dsl.core.ViewFilter<?>>The list of available view filterscom.broadleafcommerce.metadata.dsl.core.Component<?>The container component that might have been augmentedList<com.broadleafcommerce.metadata.dsl.core.Component<?>>Any global components that were applied to this container component.inthashCode()voidsetAppliedAugmentations(List<Augmentation> appliedAugmentations) The augmentations that were actually applied to the container component.voidsetAugmentations(List<Augmentation> augmentations) The Augmentations targeting the containercomponent.voidsetAvailableFilters(List<com.broadleafcommerce.metadata.dsl.core.ViewFilter<?>> availableFilters) The list of available view filtersvoidsetComponent(com.broadleafcommerce.metadata.dsl.core.Component<?> component) The container component that might have been augmentedvoidsetGlobalComponents(List<com.broadleafcommerce.metadata.dsl.core.Component<?>> globalComponents) Any global components that were applied to this container component.toString()
-
Constructor Details
-
AugmentedContainer
public AugmentedContainer(com.broadleafcommerce.metadata.dsl.core.Component<?> component, List<Augmentation> augmentations, List<Augmentation> appliedAugmentations) -
AugmentedContainer
public AugmentedContainer() -
AugmentedContainer
public AugmentedContainer(com.broadleafcommerce.metadata.dsl.core.Component<?> component, List<com.broadleafcommerce.metadata.dsl.core.Component<?>> globalComponents, List<Augmentation> augmentations, List<Augmentation> appliedAugmentations, List<com.broadleafcommerce.metadata.dsl.core.ViewFilter<?>> availableFilters)
-
-
Method Details
-
getComponent
public com.broadleafcommerce.metadata.dsl.core.Component<?> getComponent()The container component that might have been augmented -
getGlobalComponents
Any global components that were applied to this container component. These are not necessarily applied to the container component itself, but rather can be used by the container component or its subcomponents.- Since:
- Admin Services 2.3.0, Release Train 2.3.0
-
getAugmentations
The Augmentations targeting the containercomponent. This may or may not have actually been applied to itself or subcomponents- See Also:
-
appliedAugmentations
-
getAppliedAugmentations
The augmentations that were actually applied to the container component. This could be different thanaugmentationsif there were some augmentations that could not be applied. For example if a PATCH attempted to be applied on top of a REMOVE; only the REMOVE would show up here, whereas both would show up inaugmentations -
getAvailableFilters
The list of available view filters -
setComponent
public void setComponent(com.broadleafcommerce.metadata.dsl.core.Component<?> component) The container component that might have been augmented -
setGlobalComponents
public void setGlobalComponents(List<com.broadleafcommerce.metadata.dsl.core.Component<?>> globalComponents) Any global components that were applied to this container component. These are not necessarily applied to the container component itself, but rather can be used by the container component or its subcomponents.- Since:
- Admin Services 2.3.0, Release Train 2.3.0
-
setAugmentations
The Augmentations targeting the containercomponent. This may or may not have actually been applied to itself or subcomponents- See Also:
-
appliedAugmentations
-
setAppliedAugmentations
The augmentations that were actually applied to the container component. This could be different thanaugmentationsif there were some augmentations that could not be applied. For example if a PATCH attempted to be applied on top of a REMOVE; only the REMOVE would show up here, whereas both would show up inaugmentations -
setAvailableFilters
public void setAvailableFilters(List<com.broadleafcommerce.metadata.dsl.core.ViewFilter<?>> availableFilters) The list of available view filters -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-