Class XItemPropertiesHelper


  • public final class XItemPropertiesHelper
    extends Object
    Helper for working with properties of XItem.
    Since:
    8.1.0
    • Method Detail

      • getAvailableFormProperties

        public static Iterable<XItemPropertyDesc> getAvailableFormProperties​(Mandant client,
                                                                             Locale locale)
        Gets all properties available for a form. This includes the default form properties from the formcycle core, as well as additional properties provided by plugins such as IPluginFormPropertiesExtension.
        Parameters:
        client - The client scope, if available, for finding client plugins.
        locale - The locale for which to the properties.
        Returns:
        All available properties for forms.
        Since:
        8.2.0
      • getAvailableProperties

        public static Iterable<XItemPropertyDesc> getAvailableProperties​(IXItemBasic item,
                                                                         Mandant client,
                                                                         Locale locale)
        Gets all properties available for an XItem. This includes the base properties of the item, as well as additional properties provided by plugins such as IPluginFormElementPropertiesExtension.
        Parameters:
        item - An item for which to retrieve the properties.
        client - The client scope, if available, for finding client plugins.
        locale - The locale for which to the properties.
        Returns:
        All available properties for the item.