Interface CMSVersionHelper
- All Known Implementing Classes:
DefaultCMSVersionHelper
public interface CMSVersionHelper
Interface for
AttributeDescriptorModel helper functions related to versioning.-
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.booleanisCollectionAttribute(AttributeDescriptorModel attribute) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
isCollectionAttribute
@Deprecated(since="1811", forRemoval=true) boolean isCollectionAttribute(AttributeDescriptorModel attribute) Deprecated, for removal: This API element is subject to removal in a future version.since 1811, please useIsCollectionAttributePredicateWill return true if this property is a collection (localized or not) as per our platform type system.- Parameters:
attribute- theAttributeDescriptorModeldescribing the metadata of the property of a class.- Returns:
- a boolean
-
getSerializableAttributes
Returns a list of all local and super attributes for a givenItemModel.- Parameters:
itemModel- theItemModel.- Returns:
- List of attributes
-
getAttributesNotVersion
Return itemModel's attributes which should not been versioned- Parameters:
itemModel-ItemModelto be searched for.- Returns:
- List of attributes will not been versioned
-
IsCollectionAttributePredicate