Class CustomerListModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CustomerListModel
    extends UserGroupModel
    Generated model class for type CustomerList first defined at extension commerceservices.

    A CustomerList are visible to certain Employees and represents an implementation specific search query to find customer based on different criteria.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • IMPLEMENTATIONTYPE

        public static final java.lang.String IMPLEMENTATIONTYPE
        Generated constant - Attribute key of CustomerList.implementationType attribute defined at extension commerceservices.
        See Also:
        Constant Field Values
      • PRIORITY

        public static final java.lang.String PRIORITY
        Generated constant - Attribute key of CustomerList.priority attribute defined at extension commerceservices.
        See Also:
        Constant Field Values
      • ADDITIONALCOLUMNSKEYS

        public static final java.lang.String ADDITIONALCOLUMNSKEYS
        Generated constant - Attribute key of CustomerList.additionalColumnsKeys attribute defined at extension commerceservices.
        See Also:
        Constant Field Values
      • SEARCHBOXENABLED

        public static final java.lang.String SEARCHBOXENABLED
        Generated constant - Attribute key of CustomerList.searchBoxEnabled attribute defined at extension commerceservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CustomerListModel

        public CustomerListModel()
        Generated constructor - Default constructor for generic creation.
      • CustomerListModel

        public CustomerListModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • CustomerListModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CustomerListModel​(java.lang.String _uid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _uid - initial attribute declared by type Principal at extension core
      • CustomerListModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CustomerListModel​(ItemModel _owner,
                                 java.lang.String _uid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _owner - initial attribute declared by type Item at extension core
        _uid - initial attribute declared by type Principal at extension core
    • Method Detail

      • getAdditionalColumnsKeys

        @Accessor(qualifier="additionalColumnsKeys",
                  type=GETTER)
        public java.util.Collection<java.lang.String> getAdditionalColumnsKeys()
        Generated method - Getter of the CustomerList.additionalColumnsKeys attribute defined at extension commerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the additionalColumnsKeys - Additional columns keys to add columns dynamically. Header localization will be done via properties and EL syntax can be added in facade layer via spring bean customerListAdditionalColumnsMap.
      • getImplementationType

        @Accessor(qualifier="implementationType",
                  type=GETTER)
        public java.lang.String getImplementationType()
        Generated method - Getter of the CustomerList.implementationType attribute defined at extension commerceservices.
        Returns:
        the implementationType - The implementation type for this customer list
      • getPriority

        @Accessor(qualifier="priority",
                  type=GETTER)
        public java.lang.Integer getPriority()
        Generated method - Getter of the CustomerList.priority attribute defined at extension commerceservices.
        Returns:
        the priority - Priority for the customer list and zero by default, this will affect the position of the list when getting list of customer lists,higher values are displayed first
      • isSearchBoxEnabled

        @Accessor(qualifier="searchBoxEnabled",
                  type=GETTER)
        public boolean isSearchBoxEnabled()
        Generated method - Getter of the CustomerList.searchBoxEnabled attribute defined at extension commerceservices.
        Returns:
        the searchBoxEnabled - Determines if the customer list UI should display a search box or not. False by default
      • setAdditionalColumnsKeys

        @Accessor(qualifier="additionalColumnsKeys",
                  type=SETTER)
        public void setAdditionalColumnsKeys​(java.util.Collection<java.lang.String> value)
        Generated method - Setter of CustomerList.additionalColumnsKeys attribute defined at extension commerceservices.
        Parameters:
        value - the additionalColumnsKeys - Additional columns keys to add columns dynamically. Header localization will be done via properties and EL syntax can be added in facade layer via spring bean customerListAdditionalColumnsMap.
      • setImplementationType

        @Accessor(qualifier="implementationType",
                  type=SETTER)
        public void setImplementationType​(java.lang.String value)
        Generated method - Setter of CustomerList.implementationType attribute defined at extension commerceservices.
        Parameters:
        value - the implementationType - The implementation type for this customer list
      • setPriority

        @Accessor(qualifier="priority",
                  type=SETTER)
        public void setPriority​(java.lang.Integer value)
        Generated method - Setter of CustomerList.priority attribute defined at extension commerceservices.
        Parameters:
        value - the priority - Priority for the customer list and zero by default, this will affect the position of the list when getting list of customer lists,higher values are displayed first
      • setSearchBoxEnabled

        @Accessor(qualifier="searchBoxEnabled",
                  type=SETTER)
        public void setSearchBoxEnabled​(boolean value)
        Generated method - Setter of CustomerList.searchBoxEnabled attribute defined at extension commerceservices.
        Parameters:
        value - the searchBoxEnabled - Determines if the customer list UI should display a search box or not. False by default