Class B2BCustomerModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class B2BCustomerModel
    extends CustomerModel
    Generated model class for type B2BCustomer first defined at extension b2bcommerce.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String ACTIVE
        Generated constant - Attribute key of B2BCustomer.active attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
      • EMAIL

        public static final java.lang.String EMAIL
        Generated constant - Attribute key of B2BCustomer.email attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
      • DEFAULTB2BUNIT

        public static final java.lang.String DEFAULTB2BUNIT
        Generated constant - Attribute key of B2BCustomer.defaultB2BUnit attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
      • APPROVERGROUPS

        public static final java.lang.String APPROVERGROUPS
        Generated constant - Attribute key of B2BCustomer.ApproverGroups attribute defined at extension b2bapprovalprocess.
        See Also:
        Constant Field Values
      • APPROVERS

        public static final java.lang.String APPROVERS
        Generated constant - Attribute key of B2BCustomer.Approvers attribute defined at extension b2bapprovalprocess.
        See Also:
        Constant Field Values
      • PERMISSIONGROUPS

        public static final java.lang.String PERMISSIONGROUPS
        Generated constant - Attribute key of B2BCustomer.PermissionGroups attribute defined at extension b2bapprovalprocess.
        See Also:
        Constant Field Values
      • PERMISSIONS

        public static final java.lang.String PERMISSIONS
        Generated constant - Attribute key of B2BCustomer.Permissions attribute defined at extension b2bapprovalprocess.
        See Also:
        Constant Field Values
      • ISSEALED

        public static final java.lang.String ISSEALED
        Generated constant - Attribute key of B2BCustomer.isSealed attribute defined at extension agentdesktopdataexchangeb2b.
        See Also:
        Constant Field Values
      • ISDELETE

        public static final java.lang.String ISDELETE
        Generated constant - Attribute key of B2BCustomer.isDelete attribute defined at extension agentdesktopdataexchangeb2b.
        See Also:
        Constant Field Values
      • ISGUEST

        public static final java.lang.String ISGUEST
        Generated constant - Attribute key of B2BCustomer.isGuest attribute defined at extension agentdesktopdataexchangeb2b.
        See Also:
        Constant Field Values
      • B2BCUSTOMERPK

        public static final java.lang.String B2BCUSTOMERPK
        Generated constant - Attribute key of B2BCustomer.b2bCustomerPk attribute defined at extension agentdesktopdataexchangeb2b.
        See Also:
        Constant Field Values
      • FIRSTNAME

        public static final java.lang.String FIRSTNAME
        Generated constant - Attribute key of B2BCustomer.firstName attribute defined at extension agentdesktopdataexchangeb2b.
        See Also:
        Constant Field Values
      • LASTNAME

        public static final java.lang.String LASTNAME
        Generated constant - Attribute key of B2BCustomer.lastName attribute defined at extension agentdesktopdataexchangeb2b.
        See Also:
        Constant Field Values
      • PREFERREDLANGUAGE

        public static final java.lang.String PREFERREDLANGUAGE
        Generated constant - Attribute key of B2BCustomer.preferredLanguage attribute defined at extension agentdesktopdataexchangeb2b.
        See Also:
        Constant Field Values
      • PREFERREDCURRENCY

        public static final java.lang.String PREFERREDCURRENCY
        Generated constant - Attribute key of B2BCustomer.preferredCurrency attribute defined at extension agentdesktopdataexchangeb2b.
        See Also:
        Constant Field Values
      • B2BITEMTYPE

        public static final java.lang.String B2BITEMTYPE
        Generated constant - Attribute key of B2BCustomer.b2bItemType attribute defined at extension agentdesktopdataexchangeb2b.
        See Also:
        Constant Field Values
      • CECGROUPS

        public static final java.lang.String CECGROUPS
        Generated constant - Attribute key of B2BCustomer.cecGroups attribute defined at extension agentdesktopdataexchangeb2b.
        See Also:
        Constant Field Values
    • Constructor Detail

      • B2BCustomerModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public B2BCustomerModel​(java.lang.String _email,
                                boolean _loginDisabled,
                                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:
        _email - initial attribute declared by type B2BCustomer at extension b2bcommerce
        _loginDisabled - initial attribute declared by type User at extension core
        _uid - initial attribute declared by type Principal at extension core
      • B2BCustomerModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public B2BCustomerModel​(java.util.Collection<CustomerReviewModel> _customerReviews,
                                java.lang.String _email,
                                boolean _loginDisabled,
                                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:
        _customerReviews - initial attribute declared by type User at extension customerreview
        _email - initial attribute declared by type B2BCustomer at extension b2bcommerce
        _loginDisabled - initial attribute declared by type User at extension core
        _owner - initial attribute declared by type Item at extension core
        _uid - initial attribute declared by type Principal at extension core
    • Method Detail

      • getActive

        @Accessor(qualifier="active",
                  type=GETTER)
        public java.lang.Boolean getActive()
        Generated method - Getter of the B2BCustomer.active attribute defined at extension b2bcommerce.
        Returns:
        the active
      • getApproverGroups

        @Accessor(qualifier="ApproverGroups",
                  type=GETTER)
        public java.util.Set<B2BUserGroupModel> getApproverGroups()
        Generated method - Getter of the B2BCustomer.ApproverGroups attribute defined at extension b2bapprovalprocess. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the ApproverGroups
      • getApprovers

        @Accessor(qualifier="Approvers",
                  type=GETTER)
        public java.util.Set<B2BCustomerModel> getApprovers()
        Generated method - Getter of the B2BCustomer.Approvers attribute defined at extension b2bapprovalprocess. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the Approvers
      • getB2bCustomerPk

        @Accessor(qualifier="b2bCustomerPk",
                  type=GETTER)
        public java.lang.String getB2bCustomerPk()
        Generated method - Getter of the B2BCustomer.b2bCustomerPk attribute defined at extension agentdesktopdataexchangeb2b.
        Returns:
        the b2bCustomerPk - b2bCustomerPk from the Commerce System
      • getB2bItemType

        @Accessor(qualifier="b2bItemType",
                  type=GETTER)
        public java.lang.String getB2bItemType()
        Generated method - Getter of the B2BCustomer.b2bItemType attribute defined at extension agentdesktopdataexchangeb2b.
        Returns:
        the b2bItemType - Preferred Currency from the Commerce System
      • getCecGroups

        @Accessor(qualifier="cecGroups",
                  type=GETTER)
        public java.util.List<PrincipalGroupModel> getCecGroups()
        Generated method - Getter of the B2BCustomer.cecGroups attribute defined at extension agentdesktopdataexchangeb2b. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the cecGroups
      • getDefaultB2BUnit

        @Accessor(qualifier="defaultB2BUnit",
                  type=GETTER)
        public B2BUnitModel getDefaultB2BUnit()
        Generated method - Getter of the B2BCustomer.defaultB2BUnit attribute defined at extension b2bcommerce.
        Returns:
        the defaultB2BUnit
      • getEmail

        @Accessor(qualifier="email",
                  type=GETTER)
        public java.lang.String getEmail()
        Generated method - Getter of the B2BCustomer.email attribute defined at extension b2bcommerce.
        Returns:
        the email
      • getFirstName

        @Accessor(qualifier="firstName",
                  type=GETTER)
        public java.lang.String getFirstName()
        Generated method - Getter of the B2BCustomer.firstName attribute defined at extension agentdesktopdataexchangeb2b.
        Returns:
        the firstName - first name from the Commerce System
      • getIsDelete

        @Accessor(qualifier="isDelete",
                  type=GETTER)
        public java.lang.Boolean getIsDelete()
        Generated method - Getter of the B2BCustomer.isDelete attribute defined at extension agentdesktopdataexchangeb2b.
        Returns:
        the isDelete - is delete from the Commerce System
      • getIsGuest

        @Accessor(qualifier="isGuest",
                  type=GETTER)
        public java.lang.Boolean getIsGuest()
        Generated method - Getter of the B2BCustomer.isGuest attribute defined at extension agentdesktopdataexchangeb2b.
        Returns:
        the isGuest - is guest from the Commerce System
      • getIsSealed

        @Accessor(qualifier="isSealed",
                  type=GETTER)
        public java.lang.Boolean getIsSealed()
        Generated method - Getter of the B2BCustomer.isSealed attribute defined at extension agentdesktopdataexchangeb2b.
        Returns:
        the isSealed - is sealed from the Commerce System
      • getLastName

        @Accessor(qualifier="lastName",
                  type=GETTER)
        public java.lang.String getLastName()
        Generated method - Getter of the B2BCustomer.lastName attribute defined at extension agentdesktopdataexchangeb2b.
        Returns:
        the lastName - last name from the Commerce System
      • getPermissionGroups

        @Accessor(qualifier="PermissionGroups",
                  type=GETTER)
        public java.util.Set<B2BUserGroupModel> getPermissionGroups()
        Generated method - Getter of the B2BCustomer.PermissionGroups attribute defined at extension b2bapprovalprocess. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the PermissionGroups
      • getPermissions

        @Accessor(qualifier="Permissions",
                  type=GETTER)
        public java.util.Set<B2BPermissionModel> getPermissions()
        Generated method - Getter of the B2BCustomer.Permissions attribute defined at extension b2bapprovalprocess. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the Permissions - Permissions associated to a B2BCustomer
      • getPreferredCurrency

        @Accessor(qualifier="preferredCurrency",
                  type=GETTER)
        public java.lang.String getPreferredCurrency()
        Generated method - Getter of the B2BCustomer.preferredCurrency attribute defined at extension agentdesktopdataexchangeb2b.
        Returns:
        the preferredCurrency - Preferred Currency from the Commerce System
      • getPreferredLanguage

        @Accessor(qualifier="preferredLanguage",
                  type=GETTER)
        public java.lang.String getPreferredLanguage()
        Generated method - Getter of the B2BCustomer.preferredLanguage attribute defined at extension agentdesktopdataexchangeb2b.
        Returns:
        the preferredLanguage - Preferred Language from the Commerce System
      • setActive

        @Accessor(qualifier="active",
                  type=SETTER)
        public void setActive​(java.lang.Boolean value)
        Generated method - Setter of B2BCustomer.active attribute defined at extension b2bcommerce.
        Parameters:
        value - the active
      • setApproverGroups

        @Accessor(qualifier="ApproverGroups",
                  type=SETTER)
        public void setApproverGroups​(java.util.Set<B2BUserGroupModel> value)
        Generated method - Setter of B2BCustomer.ApproverGroups attribute defined at extension b2bapprovalprocess.
        Parameters:
        value - the ApproverGroups
      • setApprovers

        @Accessor(qualifier="Approvers",
                  type=SETTER)
        public void setApprovers​(java.util.Set<B2BCustomerModel> value)
        Generated method - Setter of B2BCustomer.Approvers attribute defined at extension b2bapprovalprocess.
        Parameters:
        value - the Approvers
      • setB2bCustomerPk

        @Accessor(qualifier="b2bCustomerPk",
                  type=SETTER)
        public void setB2bCustomerPk​(java.lang.String value)
        Generated method - Setter of B2BCustomer.b2bCustomerPk attribute defined at extension agentdesktopdataexchangeb2b.
        Parameters:
        value - the b2bCustomerPk - b2bCustomerPk from the Commerce System
      • setB2bItemType

        @Accessor(qualifier="b2bItemType",
                  type=SETTER)
        public void setB2bItemType​(java.lang.String value)
        Generated method - Setter of B2BCustomer.b2bItemType attribute defined at extension agentdesktopdataexchangeb2b.
        Parameters:
        value - the b2bItemType - Preferred Currency from the Commerce System
      • setCecGroups

        @Accessor(qualifier="cecGroups",
                  type=SETTER)
        public void setCecGroups​(java.util.List<PrincipalGroupModel> value)
        Generated method - Setter of B2BCustomer.cecGroups attribute defined at extension agentdesktopdataexchangeb2b.
        Parameters:
        value - the cecGroups
      • setDefaultB2BUnit

        @Accessor(qualifier="defaultB2BUnit",
                  type=SETTER)
        public void setDefaultB2BUnit​(B2BUnitModel value)
        Generated method - Setter of B2BCustomer.defaultB2BUnit attribute defined at extension b2bcommerce.
        Parameters:
        value - the defaultB2BUnit
      • setEmail

        @Accessor(qualifier="email",
                  type=SETTER)
        public void setEmail​(java.lang.String value)
        Generated method - Setter of B2BCustomer.email attribute defined at extension b2bcommerce.
        Parameters:
        value - the email
      • setFirstName

        @Accessor(qualifier="firstName",
                  type=SETTER)
        public void setFirstName​(java.lang.String value)
        Generated method - Setter of B2BCustomer.firstName attribute defined at extension agentdesktopdataexchangeb2b.
        Parameters:
        value - the firstName - first name from the Commerce System
      • setIsDelete

        @Accessor(qualifier="isDelete",
                  type=SETTER)
        public void setIsDelete​(java.lang.Boolean value)
        Generated method - Setter of B2BCustomer.isDelete attribute defined at extension agentdesktopdataexchangeb2b.
        Parameters:
        value - the isDelete - is delete from the Commerce System
      • setIsGuest

        @Accessor(qualifier="isGuest",
                  type=SETTER)
        public void setIsGuest​(java.lang.Boolean value)
        Generated method - Setter of B2BCustomer.isGuest attribute defined at extension agentdesktopdataexchangeb2b.
        Parameters:
        value - the isGuest - is guest from the Commerce System
      • setIsSealed

        @Accessor(qualifier="isSealed",
                  type=SETTER)
        public void setIsSealed​(java.lang.Boolean value)
        Generated method - Setter of B2BCustomer.isSealed attribute defined at extension agentdesktopdataexchangeb2b.
        Parameters:
        value - the isSealed - is sealed from the Commerce System
      • setLastName

        @Accessor(qualifier="lastName",
                  type=SETTER)
        public void setLastName​(java.lang.String value)
        Generated method - Setter of B2BCustomer.lastName attribute defined at extension agentdesktopdataexchangeb2b.
        Parameters:
        value - the lastName - last name from the Commerce System
      • setPermissionGroups

        @Accessor(qualifier="PermissionGroups",
                  type=SETTER)
        public void setPermissionGroups​(java.util.Set<B2BUserGroupModel> value)
        Generated method - Setter of B2BCustomer.PermissionGroups attribute defined at extension b2bapprovalprocess.
        Parameters:
        value - the PermissionGroups
      • setPermissions

        @Accessor(qualifier="Permissions",
                  type=SETTER)
        public void setPermissions​(java.util.Set<B2BPermissionModel> value)
        Generated method - Setter of B2BCustomer.Permissions attribute defined at extension b2bapprovalprocess.
        Parameters:
        value - the Permissions - Permissions associated to a B2BCustomer
      • setPreferredCurrency

        @Accessor(qualifier="preferredCurrency",
                  type=SETTER)
        public void setPreferredCurrency​(java.lang.String value)
        Generated method - Setter of B2BCustomer.preferredCurrency attribute defined at extension agentdesktopdataexchangeb2b.
        Parameters:
        value - the preferredCurrency - Preferred Currency from the Commerce System
      • setPreferredLanguage

        @Accessor(qualifier="preferredLanguage",
                  type=SETTER)
        public void setPreferredLanguage​(java.lang.String value)
        Generated method - Setter of B2BCustomer.preferredLanguage attribute defined at extension agentdesktopdataexchangeb2b.
        Parameters:
        value - the preferredLanguage - Preferred Language from the Commerce System