Class B2BCustomerModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • ACTIVE

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

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

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

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

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

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

      public static final String PERMISSIONS
      Generated constant - Attribute key of B2BCustomer.Permissions attribute defined at extension b2bapprovalprocess.
      See Also:
  • Constructor Details

    • B2BCustomerModel

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

      public B2BCustomerModel(de.hybris.platform.servicelayer.model.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(String _email, boolean _loginDisabled, 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(Collection<CustomerReviewModel> _customerReviews, String _email, boolean _loginDisabled, ItemModel _owner, BaseSiteModel _site, 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
      _site - initial attribute declared by type Customer at extension commerceservices
      _uid - initial attribute declared by type Principal at extension core
  • Method Details

    • getActive

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

      @Accessor(qualifier="ApproverGroups", type=GETTER) public 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 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
    • 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 String getEmail()
      Generated method - Getter of the B2BCustomer.email attribute defined at extension b2bcommerce.
      Returns:
      the email
    • getPermissionGroups

      @Accessor(qualifier="PermissionGroups", type=GETTER) public 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 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
    • setActive

      @Accessor(qualifier="active", type=SETTER) public void setActive(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(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(Set<B2BCustomerModel> value)
      Generated method - Setter of B2BCustomer.Approvers attribute defined at extension b2bapprovalprocess.
      Parameters:
      value - the Approvers
    • 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(String value)
      Generated method - Setter of B2BCustomer.email attribute defined at extension b2bcommerce.
      Parameters:
      value - the email
    • setPermissionGroups

      @Accessor(qualifier="PermissionGroups", type=SETTER) public void setPermissionGroups(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(Set<B2BPermissionModel> value)
      Generated method - Setter of B2BCustomer.Permissions attribute defined at extension b2bapprovalprocess.
      Parameters:
      value - the Permissions - Permissions associated to a B2BCustomer