Package de.hybris.platform.b2b.model
Class B2BCustomerModel
- java.lang.Object
-
- 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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringACTIVEGenerated constant - Attribute key ofB2BCustomer.activeattribute defined at extensionb2bcommerce.static java.lang.StringAPPROVERGROUPSGenerated constant - Attribute key ofB2BCustomer.ApproverGroupsattribute defined at extensionb2bapprovalprocess.static java.lang.StringAPPROVERSGenerated constant - Attribute key ofB2BCustomer.Approversattribute defined at extensionb2bapprovalprocess.static java.lang.StringDEFAULTB2BUNITGenerated constant - Attribute key ofB2BCustomer.defaultB2BUnitattribute defined at extensionb2bcommerce.static java.lang.StringEMAILGenerated constant - Attribute key ofB2BCustomer.emailattribute defined at extensionb2bcommerce.static java.lang.StringPERMISSIONGROUPSGenerated constant - Attribute key ofB2BCustomer.PermissionGroupsattribute defined at extensionb2bapprovalprocess.static java.lang.StringPERMISSIONSGenerated constant - Attribute key ofB2BCustomer.Permissionsattribute defined at extensionb2bapprovalprocess.-
Fields inherited from class de.hybris.platform.core.model.user.CustomerModel
_CUSTOMERCOUPON2CUSTOMER, CONTACTEMAIL, CUSTOMERCOUPONS, CUSTOMERID, DEFAULTPAYMENTINFO, EMAILLANGUAGE, EMAILPREFERENCE, MOBILENUMBER, NOTIFICATIONCHANNELS, ORIGINALUID, PREVIEWCATALOGVERSIONS, PRODUCTINTERESTS, SMSPREFERENCE, TICKETS, TITLE, TOKEN, TYPE
-
Fields inherited from class de.hybris.platform.core.model.user.UserModel
_ABSTRACTCOMMENTAUTHORRELATION, _COMMENTASSIGNEERELATION, _COMMENTUSERSETTINGUSERRELATION, _USERSFORRESTRICTION, _WIDGETPREFERENCESTOUSERRELATION, ADDRESSES, ALLWRITEABLECATALOGVERSIONS, ASSIGNEDCOMMENTS, ASSIGNEDQUOTES, AUTHORIZEDTOUNLOCKPAGES, CARTS, COCKPITFAVORITECATEGORIES, COCKPITSAVEDQUERIES, COLLECTIONPKS, COLLECTIONS, COMMENTUSERSETTINGS, CONSENTREFERENCE, CONTACTINFOS, CREATEDCOMMENTS, CURRENTDATE, CURRENTTIME, CUSTOMERREVIEWS, CXRESULTS, DEACTIVATIONDATE, DEFAULTPAYMENTADDRESS, DEFAULTSHIPMENTADDRESS, DOMAIN, ENCODEDPASSWORD, EUROPE1DISCOUNTS, EUROPE1PRICEFACTORY_UDG, EUROPE1PRICEFACTORY_UPG, EUROPE1PRICEFACTORY_UTG, HMCLOGINDISABLED, LASTLOGIN, LDAPACCOUNT, LDAPLOGIN, LOCKEDPAGES, LOGINDISABLED, ORDERS, OWNEUROPE1DISCOUNTS, PASSWORD, PASSWORDANSWER, PASSWORDENCODING, PASSWORDQUESTION, PAYMENTINFOS, PRODUCTCONFIGURATION, PROFILETAGDEBUG, QUOTES, RANDOMTOKEN, RESTRICTIONS, RETENTIONSTATE, SESSIONCURRENCY, SESSIONLANGUAGE, TOKENS, USERPROFILE, USERTOSEGMENTS, WIDGETPREFERENCES, WISHLIST
-
Fields inherited from class de.hybris.platform.core.model.security.PrincipalModel
_CATEGORY2PRINCIPALRELATION, _COMMENTWATCHERRELATION, _PRINCIPAL2COCKPITUICOMPONENTREADACCESSRELATION, _PRINCIPAL2COCKPITUICOMPONENTWRITEACCESSRELATION, _SYNCITEMJOB2PRINCIPAL, _WORKFLOWTEMPLATE2PRINCIPALRELATION, ACCESSIBLECATEGORIES, ALLGROUPS, ALLSEARCHRESTRICTIONS, BACKOFFICELOGINDISABLED, CN, COCKPITUICONFIGURATIONS, DESCRIPTION, DISPLAYNAME, DN, GROUPS, LDAPSEARCHBASE, NAME, PROFILEPICTURE, READABLECATALOGVERSIONS, READABLECOCKPITUICOMPONENTS, READCOLLECTIONS, READSAVEDQUERIES, SEARCHRESTRICTIONS, SYNCJOBS, UID, VISIBLETEMPLATES, WATCHEDCOMMENTS, WRITABLECATALOGVERSIONS, WRITABLECOCKPITUICOMPONENTS, WRITECOLLECTIONS
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description B2BCustomerModel()Generated constructor - Default constructor for generic creation.B2BCustomerModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextB2BCustomerModel(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 parametersB2BCustomerModel(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetActive()Generated method - Getter of theB2BCustomer.activeattribute defined at extensionb2bcommerce.java.util.Set<B2BUserGroupModel>getApproverGroups()Generated method - Getter of theB2BCustomer.ApproverGroupsattribute defined at extensionb2bapprovalprocess.java.util.Set<B2BCustomerModel>getApprovers()Generated method - Getter of theB2BCustomer.Approversattribute defined at extensionb2bapprovalprocess.B2BUnitModelgetDefaultB2BUnit()Generated method - Getter of theB2BCustomer.defaultB2BUnitattribute defined at extensionb2bcommerce.java.lang.StringgetEmail()Generated method - Getter of theB2BCustomer.emailattribute defined at extensionb2bcommerce.java.util.Set<B2BUserGroupModel>getPermissionGroups()Generated method - Getter of theB2BCustomer.PermissionGroupsattribute defined at extensionb2bapprovalprocess.java.util.Set<B2BPermissionModel>getPermissions()Generated method - Getter of theB2BCustomer.Permissionsattribute defined at extensionb2bapprovalprocess.voidsetActive(java.lang.Boolean value)Generated method - Setter ofB2BCustomer.activeattribute defined at extensionb2bcommerce.voidsetApproverGroups(java.util.Set<B2BUserGroupModel> value)Generated method - Setter ofB2BCustomer.ApproverGroupsattribute defined at extensionb2bapprovalprocess.voidsetApprovers(java.util.Set<B2BCustomerModel> value)Generated method - Setter ofB2BCustomer.Approversattribute defined at extensionb2bapprovalprocess.voidsetDefaultB2BUnit(B2BUnitModel value)Generated method - Setter ofB2BCustomer.defaultB2BUnitattribute defined at extensionb2bcommerce.voidsetEmail(java.lang.String value)Generated method - Setter ofB2BCustomer.emailattribute defined at extensionb2bcommerce.voidsetPermissionGroups(java.util.Set<B2BUserGroupModel> value)Generated method - Setter ofB2BCustomer.PermissionGroupsattribute defined at extensionb2bapprovalprocess.voidsetPermissions(java.util.Set<B2BPermissionModel> value)Generated method - Setter ofB2BCustomer.Permissionsattribute defined at extensionb2bapprovalprocess.-
Methods inherited from class de.hybris.platform.core.model.user.CustomerModel
getContactEmail, getCustomerCoupons, getCustomerID, getDefaultPaymentInfo, getEmailLanguage, getEmailPreference, getMobileNumber, getNotificationChannels, getOriginalUid, getPreviewCatalogVersions, getProductInterests, getSmsPreference, getTickets, getTitle, getToken, getType, setCustomerCoupons, setCustomerID, setDefaultPaymentInfo, setEmailLanguage, setEmailPreference, setMobileNumber, setNotificationChannels, setOriginalUid, setPreviewCatalogVersions, setProductInterests, setSmsPreference, setTickets, setTitle, setToken, setType
-
Methods inherited from class de.hybris.platform.core.model.user.UserModel
getAddresses, getAllWriteableCatalogVersions, getAssignedComments, getAssignedQuotes, getCarts, getCockpitFavoriteCategories, getCockpitSavedQueries, getCollectionPks, getCollections, getConsentReference, getContactInfos, getCreatedComments, getCurrentDate, getCurrentTime, getCustomerReviews, getCxResults, getDeactivationDate, getDefaultPaymentAddress, getDefaultShipmentAddress, getDomain, getEncodedPassword, getEurope1Discounts, getEurope1PriceFactory_UDG, getEurope1PriceFactory_UPG, getEurope1PriceFactory_UTG, getHmcLoginDisabled, getLastLogin, getLdapaccount, getLdaplogin, getLockedPages, getOrders, getOwnEurope1Discounts, getPasswordAnswer, getPasswordEncoding, getPasswordQuestion, getPaymentInfos, getProductConfiguration, getProfileTagDebug, getQuotes, getRandomToken, getRestrictions, getRetentionState, getSessionCurrency, getSessionLanguage, getTokens, getUserprofile, getUserToSegments, getWidgetPreferences, getWishlist, isAuthorizedToUnlockPages, isLoginDisabled, setAddresses, setAssignedComments, setAssignedQuotes, setAuthorizedToUnlockPages, setCarts, setCockpitFavoriteCategories, setCockpitSavedQueries, setCollectionPks, setCollections, setConsentReference, setContactInfos, setCreatedComments, setCustomerReviews, setCxResults, setDeactivationDate, setDefaultPaymentAddress, setDefaultShipmentAddress, setDomain, setEncodedPassword, setEurope1Discounts, setEurope1PriceFactory_UDG, setEurope1PriceFactory_UPG, setEurope1PriceFactory_UTG, setHmcLoginDisabled, setLastLogin, setLdapaccount, setLdaplogin, setLockedPages, setLoginDisabled, setOrders, setOwnEurope1Discounts, setPassword, setPasswordAnswer, setPasswordEncoding, setPasswordQuestion, setPaymentInfos, setProductConfiguration, setProfileTagDebug, setQuotes, setRandomToken, setRestrictions, setRetentionState, setSessionCurrency, setSessionLanguage, setTokens, setUserprofile, setUserToSegments, setWidgetPreferences, setWishlist
-
Methods inherited from class de.hybris.platform.core.model.security.PrincipalModel
getAccessibleCategories, getAllgroups, getAllGroups, getAllsearchrestrictions, getAllSearchRestrictions, getBackOfficeLoginDisabled, getCN, getCockpitUIConfigurations, getDescription, getDisplayName, getDisplayName, getDN, getGroups, getLdapsearchbase, getName, getProfilePicture, getReadableCatalogVersions, getReadableCockpitUIComponents, getReadCollections, getReadSavedQueries, getSearchrestrictions, getSearchRestrictions, getSyncJobs, getUid, getVisibleTemplates, getWatchedComments, getWritableCatalogVersions, getWritableCockpitUIComponents, getWriteCollections, setBackOfficeLoginDisabled, setCN, setCockpitUIConfigurations, setDescription, setDN, setGroups, setLdapsearchbase, setName, setProfilePicture, setReadableCatalogVersions, setReadableCockpitUIComponents, setReadCollections, setReadSavedQueries, setSyncJobs, setUid, setVisibleTemplates, setWatchedComments, setWritableCatalogVersions, setWritableCockpitUIComponents, setWriteCollections
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
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 ofB2BCustomer.activeattribute defined at extensionb2bcommerce.- See Also:
- Constant Field Values
-
EMAIL
public static final java.lang.String EMAIL
Generated constant - Attribute key ofB2BCustomer.emailattribute defined at extensionb2bcommerce.- See Also:
- Constant Field Values
-
DEFAULTB2BUNIT
public static final java.lang.String DEFAULTB2BUNIT
Generated constant - Attribute key ofB2BCustomer.defaultB2BUnitattribute defined at extensionb2bcommerce.- See Also:
- Constant Field Values
-
APPROVERGROUPS
public static final java.lang.String APPROVERGROUPS
Generated constant - Attribute key ofB2BCustomer.ApproverGroupsattribute defined at extensionb2bapprovalprocess.- See Also:
- Constant Field Values
-
APPROVERS
public static final java.lang.String APPROVERS
Generated constant - Attribute key ofB2BCustomer.Approversattribute defined at extensionb2bapprovalprocess.- See Also:
- Constant Field Values
-
PERMISSIONGROUPS
public static final java.lang.String PERMISSIONGROUPS
Generated constant - Attribute key ofB2BCustomer.PermissionGroupsattribute defined at extensionb2bapprovalprocess.- See Also:
- Constant Field Values
-
PERMISSIONS
public static final java.lang.String PERMISSIONS
Generated constant - Attribute key ofB2BCustomer.Permissionsattribute defined at extensionb2bapprovalprocess.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_email- initial attribute declared by typeB2BCustomerat extensionb2bcommerce_loginDisabled- initial attribute declared by typeUserat extensioncore_uid- initial attribute declared by typePrincipalat extensioncore
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_customerReviews- initial attribute declared by typeUserat extensioncustomerreview_email- initial attribute declared by typeB2BCustomerat extensionb2bcommerce_loginDisabled- initial attribute declared by typeUserat extensioncore_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typePrincipalat extensioncore
-
-
Method Detail
-
getActive
@Accessor(qualifier="active", type=GETTER) public java.lang.Boolean getActive()
Generated method - Getter of theB2BCustomer.activeattribute defined at extensionb2bcommerce.- Returns:
- the active
-
getApproverGroups
@Accessor(qualifier="ApproverGroups", type=GETTER) public java.util.Set<B2BUserGroupModel> getApproverGroups()
Generated method - Getter of theB2BCustomer.ApproverGroupsattribute defined at extensionb2bapprovalprocess. 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 theB2BCustomer.Approversattribute defined at extensionb2bapprovalprocess. 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 theB2BCustomer.defaultB2BUnitattribute defined at extensionb2bcommerce.- Returns:
- the defaultB2BUnit
-
getEmail
@Accessor(qualifier="email", type=GETTER) public java.lang.String getEmail()
Generated method - Getter of theB2BCustomer.emailattribute defined at extensionb2bcommerce.- Returns:
- the email
-
getPermissionGroups
@Accessor(qualifier="PermissionGroups", type=GETTER) public java.util.Set<B2BUserGroupModel> getPermissionGroups()
Generated method - Getter of theB2BCustomer.PermissionGroupsattribute defined at extensionb2bapprovalprocess. 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 theB2BCustomer.Permissionsattribute defined at extensionb2bapprovalprocess. 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(java.lang.Boolean value)
Generated method - Setter ofB2BCustomer.activeattribute defined at extensionb2bcommerce.- Parameters:
value- the active
-
setApproverGroups
@Accessor(qualifier="ApproverGroups", type=SETTER) public void setApproverGroups(java.util.Set<B2BUserGroupModel> value)
Generated method - Setter ofB2BCustomer.ApproverGroupsattribute defined at extensionb2bapprovalprocess.- Parameters:
value- the ApproverGroups
-
setApprovers
@Accessor(qualifier="Approvers", type=SETTER) public void setApprovers(java.util.Set<B2BCustomerModel> value)
Generated method - Setter ofB2BCustomer.Approversattribute defined at extensionb2bapprovalprocess.- Parameters:
value- the Approvers
-
setDefaultB2BUnit
@Accessor(qualifier="defaultB2BUnit", type=SETTER) public void setDefaultB2BUnit(B2BUnitModel value)
Generated method - Setter ofB2BCustomer.defaultB2BUnitattribute defined at extensionb2bcommerce.- Parameters:
value- the defaultB2BUnit
-
setEmail
@Accessor(qualifier="email", type=SETTER) public void setEmail(java.lang.String value)
Generated method - Setter ofB2BCustomer.emailattribute defined at extensionb2bcommerce.- Parameters:
value- the email
-
setPermissionGroups
@Accessor(qualifier="PermissionGroups", type=SETTER) public void setPermissionGroups(java.util.Set<B2BUserGroupModel> value)
Generated method - Setter ofB2BCustomer.PermissionGroupsattribute defined at extensionb2bapprovalprocess.- Parameters:
value- the PermissionGroups
-
setPermissions
@Accessor(qualifier="Permissions", type=SETTER) public void setPermissions(java.util.Set<B2BPermissionModel> value)
Generated method - Setter ofB2BCustomer.Permissionsattribute defined at extensionb2bapprovalprocess.- Parameters:
value- the Permissions - Permissions associated to a B2BCustomer
-
-