Class DefaultCMSAttributeTypeService

    • Constructor Detail

      • DefaultCMSAttributeTypeService

        public DefaultCMSAttributeTypeService()
    • Method Detail

      • getAttributeContainedType

        public TypeModel getAttributeContainedType​(AttributeDescriptorModel attribute)
        Description copied from interface: CMSAttributeTypeService
        Retrieves the TypeModel of 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:
        getAttributeContainedType in interface CMSAttributeTypeService
        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)