Package de.hybris.platform.b2b.model
Class B2BCustomerModel
- All Implemented Interfaces:
Serializable
Generated model class for type B2BCustomer first defined at extension b2bcommerce.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofB2BCustomer.activeattribute defined at extensionb2bcommerce.static final StringGenerated constant - Attribute key ofB2BCustomer.ApproverGroupsattribute defined at extensionb2bapprovalprocess.static final StringGenerated constant - Attribute key ofB2BCustomer.Approversattribute defined at extensionb2bapprovalprocess.static final StringGenerated constant - Attribute key ofB2BCustomer.defaultB2BUnitattribute defined at extensionb2bcommerce.static final StringGenerated constant - Attribute key ofB2BCustomer.emailattribute defined at extensionb2bcommerce.static final StringGenerated constant - Attribute key ofB2BCustomer.PermissionGroupsattribute defined at extensionb2bapprovalprocess.static final StringGenerated 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, TYPEFields inherited from class de.hybris.platform.core.model.user.UserModel
_ABSTRACTCOMMENTAUTHORRELATION, _COMMENTASSIGNEERELATION, _COMMENTUSERSETTINGUSERRELATION, _USERSFORRESTRICTION, _WIDGETPREFERENCESTOUSERRELATION, ADDRESSES, ALLWRITEABLECATALOGVERSIONS, ASSIGNEDCOMMENTS, ASSIGNEDQUOTES, AUTHORIZEDTOUNLOCKPAGES, AVATAR, CARTS, COCKPITFAVORITECATEGORIES, COCKPITSAVEDQUERIES, COLLECTIONPKS, COLLECTIONS, COMMENTUSERSETTINGS, 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, THEMEFORBACKOFFICE, TOKENS, USERPROFILE, USERTOSEGMENTS, WIDGETPREFERENCES, WISHLISTFields 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, WRITECOLLECTIONSFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextB2BCustomerModel(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 parametersB2BCustomerModel(Collection<CustomerReviewModel> _customerReviews, String _email, boolean _loginDisabled, ItemModel _owner, 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
Modifier and TypeMethodDescriptionGenerated method - Getter of theB2BCustomer.activeattribute defined at extensionb2bcommerce.Generated method - Getter of theB2BCustomer.ApproverGroupsattribute defined at extensionb2bapprovalprocess.Generated method - Getter of theB2BCustomer.Approversattribute defined at extensionb2bapprovalprocess.Generated method - Getter of theB2BCustomer.defaultB2BUnitattribute defined at extensionb2bcommerce.getEmail()Generated method - Getter of theB2BCustomer.emailattribute defined at extensionb2bcommerce.Generated method - Getter of theB2BCustomer.PermissionGroupsattribute defined at extensionb2bapprovalprocess.Generated method - Getter of theB2BCustomer.Permissionsattribute defined at extensionb2bapprovalprocess.voidGenerated method - Setter ofB2BCustomer.activeattribute defined at extensionb2bcommerce.voidsetApproverGroups(Set<B2BUserGroupModel> value) Generated method - Setter ofB2BCustomer.ApproverGroupsattribute defined at extensionb2bapprovalprocess.voidsetApprovers(Set<B2BCustomerModel> value) Generated method - Setter ofB2BCustomer.Approversattribute defined at extensionb2bapprovalprocess.voidsetDefaultB2BUnit(B2BUnitModel value) Generated method - Setter ofB2BCustomer.defaultB2BUnitattribute defined at extensionb2bcommerce.voidGenerated method - Setter ofB2BCustomer.emailattribute defined at extensionb2bcommerce.voidsetPermissionGroups(Set<B2BUserGroupModel> value) Generated method - Setter ofB2BCustomer.PermissionGroupsattribute defined at extensionb2bapprovalprocess.voidsetPermissions(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, setTypeMethods inherited from class de.hybris.platform.core.model.user.UserModel
getAddresses, getAllWriteableCatalogVersions, getAssignedComments, getAssignedQuotes, getAvatar, getCarts, getCockpitFavoriteCategories, getCockpitSavedQueries, getCollectionPks, getCollections, 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, getThemeForBackoffice, getTokens, getUserprofile, getUserToSegments, getWidgetPreferences, getWishlist, isAuthorizedToUnlockPages, isLoginDisabled, setAddresses, setAssignedComments, setAssignedQuotes, setAuthorizedToUnlockPages, setAvatar, setCarts, setCockpitFavoriteCategories, setCockpitSavedQueries, setCollectionPks, setCollections, 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, setThemeForBackoffice, setTokens, setUserprofile, setUserToSegments, setWidgetPreferences, setWishlistMethods 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, setWriteCollectionsMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
ACTIVE
Generated constant - Attribute key ofB2BCustomer.activeattribute defined at extensionb2bcommerce.- See Also:
-
EMAIL
Generated constant - Attribute key ofB2BCustomer.emailattribute defined at extensionb2bcommerce.- See Also:
-
DEFAULTB2BUNIT
Generated constant - Attribute key ofB2BCustomer.defaultB2BUnitattribute defined at extensionb2bcommerce.- See Also:
-
APPROVERGROUPS
Generated constant - Attribute key ofB2BCustomer.ApproverGroupsattribute defined at extensionb2bapprovalprocess.- See Also:
-
APPROVERS
Generated constant - Attribute key ofB2BCustomer.Approversattribute defined at extensionb2bapprovalprocess.- See Also:
-
PERMISSIONGROUPS
Generated constant - Attribute key ofB2BCustomer.PermissionGroupsattribute defined at extensionb2bapprovalprocess.- See Also:
-
PERMISSIONS
Generated constant - Attribute key ofB2BCustomer.Permissionsattribute defined at extensionb2bapprovalprocess.- See Also:
-
-
Constructor Details
-
B2BCustomerModel
public B2BCustomerModel()Generated constructor - Default constructor for generic creation. -
B2BCustomerModel
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 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(Collection<CustomerReviewModel> _customerReviews, String _email, boolean _loginDisabled, ItemModel _owner, 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 Details
-
getActive
Generated method - Getter of theB2BCustomer.activeattribute defined at extensionb2bcommerce.- Returns:
- the active
-
getApproverGroups
@Accessor(qualifier="ApproverGroups", type=GETTER) public 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
Generated method - Getter of theB2BCustomer.Approversattribute defined at extensionb2bapprovalprocess. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the Approvers
-
getDefaultB2BUnit
Generated method - Getter of theB2BCustomer.defaultB2BUnitattribute defined at extensionb2bcommerce.- Returns:
- the defaultB2BUnit
-
getEmail
Generated method - Getter of theB2BCustomer.emailattribute defined at extensionb2bcommerce.- Returns:
- the email
-
getPermissionGroups
@Accessor(qualifier="PermissionGroups", type=GETTER) public 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
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
Generated method - Setter ofB2BCustomer.activeattribute defined at extensionb2bcommerce.- Parameters:
value- the active
-
setApproverGroups
@Accessor(qualifier="ApproverGroups", type=SETTER) public void setApproverGroups(Set<B2BUserGroupModel> value) Generated method - Setter ofB2BCustomer.ApproverGroupsattribute defined at extensionb2bapprovalprocess.- Parameters:
value- the ApproverGroups
-
setApprovers
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
Generated method - Setter ofB2BCustomer.emailattribute defined at extensionb2bcommerce.- Parameters:
value- the email
-
setPermissionGroups
@Accessor(qualifier="PermissionGroups", type=SETTER) public void setPermissionGroups(Set<B2BUserGroupModel> value) Generated method - Setter ofB2BCustomer.PermissionGroupsattribute defined at extensionb2bapprovalprocess.- Parameters:
value- the PermissionGroups
-
setPermissions
@Accessor(qualifier="Permissions", type=SETTER) public void setPermissions(Set<B2BPermissionModel> value) Generated method - Setter ofB2BCustomer.Permissionsattribute defined at extensionb2bapprovalprocess.- Parameters:
value- the Permissions - Permissions associated to a B2BCustomer
-