Enum CustomFieldType

    • Enum Constant Detail

      • STRING

        public static final CustomFieldType STRING
        Single line string or masked text
      • SINGLE_SELECTION

        public static final CustomFieldType SINGLE_SELECTION
        An enumerated value which allows a single selection
      • MULTI_SELECTION

        public static final CustomFieldType MULTI_SELECTION
        An enumerated value which allows a multiple selection
      • DYNAMIC_SELECTION

        public static final CustomFieldType DYNAMIC_SELECTION
        An enumerated value whose possible values are dynamically generated by a script
      • DYNAMIC_MULTI_SELECTION

        public static final CustomFieldType DYNAMIC_MULTI_SELECTION
        An enumerated value whose possible values are dynamically generated by a script and allows multiple selection
      • LINKED_ENTITY

        public static final CustomFieldType LINKED_ENTITY
        A linked entity
    • Method Detail

      • values

        public static CustomFieldType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CustomFieldType c : CustomFieldType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CustomFieldType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • canHaveLoadValuesScript

        public boolean canHaveLoadValuesScript()
        Returns whether this field type can have a script to load possible values
      • canHaveValuesOnSearch

        public boolean canHaveValuesOnSearch()
        Returns whether this field type, when used as search filter, can have possible values loaded
      • hasMultipleValues

        public boolean hasMultipleValues()
        Returns whether this type supports multiple values
      • isAllowedToBeOnResultList

        public boolean isAllowedToBeOnResultList()
        Returns whether this field type is allowed to be in a result list
      • isAllowedToBeOnSearchFilters

        public boolean isAllowedToBeOnSearchFilters()
        Returns whether this field type is allowed to be on search filters
      • isBinary

        public boolean isBinary()
        Returns whether this field is a binary file (or image)
      • isDynamic

        public boolean isDynamic()
        Returns whether this field type has dynamic enumerated values
      • isEnumerated

        public boolean isEnumerated()
        Returns whether this field type allows enumerated values
      • isSearchable

        public boolean isSearchable()
        Returns whether this field can be used in keywords search
      • isSingleString

        public boolean isSingleString()
        Returns whether values of this type represents simple strings
      • isSortable

        public boolean isSortable()
      • isString

        public boolean isString()
        Returns whether values of this type are strings
      • isUseSize

        public boolean isUseSize​(CustomFieldControl control)
        Returns whether this field type uses size taking into account the given control