Class DefaultCMSVersionHelper
java.lang.Object
de.hybris.platform.cms2.version.service.impl.DefaultCMSVersionHelper
- All Implemented Interfaces:
CMSVersionHelper
Default implementation of
CMSVersionHelper-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttributesNotVersion(ItemModel itemModel) Return itemModel's attributes which should not been versionedgetSerializableAttributes(ItemModel itemModel) Returns a list of all local and super attributes for a givenItemModel.protected TypeServicebooleanisCollectionAttribute(AttributeDescriptorModel attribute) Will return true if this property is a collection (localized or not) as per our platform type system.voidvoidsetTypeService(TypeService typeService)
-
Constructor Details
-
DefaultCMSVersionHelper
public DefaultCMSVersionHelper()
-
-
Method Details
-
isCollectionAttribute
Description copied from interface:CMSVersionHelperWill return true if this property is a collection (localized or not) as per our platform type system.- Specified by:
isCollectionAttributein interfaceCMSVersionHelper- Parameters:
attribute- theAttributeDescriptorModeldescribing the metadata of the property of a class.- Returns:
- a boolean
-
getSerializableAttributes
Description copied from interface:CMSVersionHelperReturns a list of all local and super attributes for a givenItemModel.- Specified by:
getSerializableAttributesin interfaceCMSVersionHelper- Parameters:
itemModel- theItemModel.- Returns:
- List of attributes
-
getAttributesNotVersion
Description copied from interface:CMSVersionHelperReturn itemModel's attributes which should not been versioned- Specified by:
getAttributesNotVersionin interfaceCMSVersionHelper- Parameters:
itemModel-ItemModelto be searched for.- Returns:
- List of attributes will not been versioned
-
getTypeService
-
setTypeService
-
getCmsAttributesNotVersion
-
setCmsAttributesNotVersion
-