Class CustomerGroup


  • @Embeddable
    public class CustomerGroup
    extends DomainObject
    CustomerGroup
    • Constructor Detail

      • CustomerGroup

        public CustomerGroup()
    • Method Detail

      • getLabel

        public String getLabel()
      • setLabel

        public void setLabel​(String label)
      • getCustomerFieldName

        public String getCustomerFieldName()
      • setCustomerFieldName

        public void setCustomerFieldName​(String customerFieldName)
      • getCustomerFieldLabel

        public String getCustomerFieldLabel()
      • setCustomerFieldLabel

        public void setCustomerFieldLabel​(String customerFieldLabel)
      • getCustomerFieldValue

        public String getCustomerFieldValue()
      • setCustomerFieldValue

        public void setCustomerFieldValue​(String customerFieldValue)
      • getCustomerFilterCriteriaJson

        protected String getCustomerFilterCriteriaJson()
      • setCustomerFilterCriteriaJson

        protected void setCustomerFilterCriteriaJson​(String customerFilterCriteria)
      • getCustomerFilterCriteria

        public Map<String,​Object> getCustomerFilterCriteria()
      • setCustomerFilterCriteria

        public void setCustomerFilterCriteria​(Map<String,​Object> customerFilterCriteriaMap)
      • asFilter

        public Filter asFilter()
      • asFilterWithCXSubQuery

        public Filter asFilterWithCXSubQuery()
        Converts CustomerGroup into filter including converting any CX searchable items into custom filter. Not intended for PA.
        Returns:
        filter
      • asFilter

        public Filter asFilter​(DMDataSource customerDS)
                        throws DMFieldNotFoundException
        Throws:
        DMFieldNotFoundException
      • asFilter

        public Filter asFilter​(DMDataSource customerDS,
                               Collection<DMDataSource> cxExtDS)
                        throws DMFieldNotFoundException
        Throws:
        DMFieldNotFoundException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validate

        public boolean validate​(ValidationVisitor validationVisitor,
                                PersistedObjectService objService)