Class DefaultCMSAttributeTypeService
- java.lang.Object
-
- de.hybris.platform.cmsfacades.types.service.impl.DefaultCMSAttributeTypeService
-
- All Implemented Interfaces:
CMSAttributeTypeService
public class DefaultCMSAttributeTypeService extends java.lang.Object implements CMSAttributeTypeService
Default implementation ofCMSAttributeTypeService
-
-
Constructor Summary
Constructors Constructor Description DefaultCMSAttributeTypeService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeModelgetAttributeContainedType(AttributeDescriptorModel attribute)Retrieves theTypeModelof the attribute.protected TypeServicegetTypeService()protected booleanisCollection(TypeModel type)voidsetTypeService(TypeService typeService)
-
-
-
Method Detail
-
getAttributeContainedType
public TypeModel getAttributeContainedType(AttributeDescriptorModel attribute)
Description copied from interface:CMSAttributeTypeServiceRetrieves theTypeModelof the attribute. For primitive/atomic attributes, the attribute's type is returned. For collection or localized attributes, look into the data structure to inspect the containing type.- Specified by:
getAttributeContainedTypein interfaceCMSAttributeTypeService- Parameters:
attribute- - The descriptor that specifies the attribute whose read permission to check.- Returns:
- the type of the attribute or the contained type
-
isCollection
protected boolean isCollection(TypeModel type)
-
getTypeService
protected TypeService getTypeService()
-
setTypeService
public void setTypeService(TypeService typeService)
-
-