Package de.hybris.platform.b2b.model
Class B2BCustomerModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.security.PrincipalModel
de.hybris.platform.core.model.user.UserModel
de.hybris.platform.core.model.user.CustomerModel
de.hybris.platform.b2b.model.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
de.hybris.platform.servicelayer.model.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
_TMAELIGIBILITYCONTEXT2CUSTOMER, CONTACTEMAIL, CUSTOMERID, DEFAULTPAYMENTINFO, ELIGIBILITYCONTEXTS, ORIGINALUID, PREVIEWCATALOGVERSIONS, SAVEDCARTS, SESSIONCARTS, SITE, SITEPREFERENCES, TICKETS, TITLE, TOKEN, TYPE, UNDECORATEDUIDFields inherited from class de.hybris.platform.core.model.user.UserModel
_ABSTRACTCOMMENTAUTHORRELATION, _COMMENTASSIGNEERELATION, _COMMENTUSERSETTINGUSERRELATION, _USERSFORRESTRICTION, ADDRESSES, ALLWRITEABLECATALOGVERSIONS, ASSIGNEDCOMMENTS, ASSIGNEDQUOTES, AUTHORIZEDTOUNLOCKPAGES, AVATAR, CARTS, COLLECTIONPKS, COMMENTUSERSETTINGS, CONTACTINFOS, CREATEDCOMMENTS, CURRENTDATE, CURRENTTIME, CUSTOMERREVIEWS, DEACTIVATIONDATE, DEFAULTPAYMENTADDRESS, DEFAULTSHIPMENTADDRESS, ENCODEDPASSWORD, EUROPE1DISCOUNTS, EUROPE1PRICEFACTORY_UDG, EUROPE1PRICEFACTORY_UPG, EUROPE1PRICEFACTORY_UTG, HMCLOGINDISABLED, LASTLOGIN, LOCKEDPAGES, LOGINDISABLED, ORDERS, OWNEUROPE1DISCOUNTS, PASSWORD, PASSWORDANSWER, PASSWORDENCODING, PASSWORDQUESTION, PAYMENTINFOS, QUOTES, RANDOMTOKEN, RESTRICTIONS, RETENTIONSTATE, SESSIONCURRENCY, SESSIONLANGUAGE, THEMEFORBACKOFFICE, TOKENS, USERPROFILE, WIDGETSCONFIGFORBACKOFFICEFields inherited from class de.hybris.platform.core.model.security.PrincipalModel
_AGRPARTY2PRINCIPALRELATION, _BAPARTY2PRINCIPALRELATION, _BMPARTY2PRINCIPALRELATION, _CATEGORY2PRINCIPALRELATION, _COMMENTWATCHERRELATION, _PMPARTY2PRINCIPALRELATION, _PRODUCTOFFERING2PRINCIPALRELATION, _PRPARTY2PRINCIPALRELATION, _SPIPARTY2PRINCIPALRELATION, _SYNCITEMJOB2PRINCIPAL, _TUAPARTY2PRINCIPALRELATION, _UCPARTY2PRINCIPALRELATION, _WORKFLOWTEMPLATE2PRINCIPALRELATION, ACCESSIBLECATEGORIES, ACCESSIBLEOFFERINGS, AGRPARTY, ALLGROUPS, ALLSEARCHRESTRICTIONS, BACKOFFICELOGINDISABLED, BAPARTY, BMPARTY, DESCRIPTION, DISPLAYNAME, GROUPS, IDENTIFICATIONS, NAME, PMPARTY, PROFILEPICTURE, PRPARTY, READABLECATALOGVERSIONS, SEARCHRESTRICTIONS, SPIPARTY, SUBSCRIPTIONACCESSES, SYNCJOBS, TUAPARTY, UCPARTY, UID, VISIBLETEMPLATES, WATCHEDCOMMENTS, WRITABLECATALOGVERSIONSFields 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.B2BCustomerModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) 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, 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 -
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, getCustomerID, getDefaultPaymentInfo, getEligibilityContexts, getOriginalUid, getPreviewCatalogVersions, getSavedCarts, getSessionCarts, getSite, getSitePreferences, getTickets, getTitle, getToken, getType, getUndecoratedUid, setCustomerID, setDefaultPaymentInfo, setEligibilityContexts, setOriginalUid, setPreviewCatalogVersions, setSite, setSitePreferences, setTickets, setTitle, setToken, setType, setUndecoratedUidMethods inherited from class de.hybris.platform.core.model.user.UserModel
getAddresses, getAllWriteableCatalogVersions, getAssignedComments, getAssignedQuotes, getAvatar, getCarts, getCollectionPks, getContactInfos, getCreatedComments, getCurrentDate, getCurrentTime, getCustomerReviews, getDeactivationDate, getDefaultPaymentAddress, getDefaultShipmentAddress, getEncodedPassword, getEurope1Discounts, getEurope1PriceFactory_UDG, getEurope1PriceFactory_UPG, getEurope1PriceFactory_UTG, getHmcLoginDisabled, getLastLogin, getLockedPages, getOrders, getOwnEurope1Discounts, getPasswordAnswer, getPasswordEncoding, getPasswordQuestion, getPaymentInfos, getQuotes, getRandomToken, getRestrictions, getRetentionState, getSessionCurrency, getSessionLanguage, getThemeForBackoffice, getTokens, getUserprofile, getWidgetsConfigForBackoffice, isAuthorizedToUnlockPages, isLoginDisabled, setAddresses, setAssignedComments, setAssignedQuotes, setAuthorizedToUnlockPages, setAvatar, setCarts, setCollectionPks, setContactInfos, setCreatedComments, setCustomerReviews, setDeactivationDate, setDefaultPaymentAddress, setDefaultShipmentAddress, setEncodedPassword, setEurope1Discounts, setEurope1PriceFactory_UDG, setEurope1PriceFactory_UPG, setEurope1PriceFactory_UTG, setHmcLoginDisabled, setLastLogin, setLockedPages, setLoginDisabled, setOrders, setOwnEurope1Discounts, setPassword, setPasswordAnswer, setPasswordEncoding, setPasswordQuestion, setPaymentInfos, setQuotes, setRandomToken, setRestrictions, setRetentionState, setSessionCurrency, setSessionLanguage, setThemeForBackoffice, setTokens, setUserprofile, setWidgetsConfigForBackofficeMethods inherited from class de.hybris.platform.core.model.security.PrincipalModel
getAccessibleCategories, getAccessibleOfferings, getAgrParty, getAllgroups, getAllGroups, getAllsearchrestrictions, getAllSearchRestrictions, getBackOfficeLoginDisabled, getBaParty, getBmParty, getDescription, getDisplayName, getDisplayName, getGroups, getIdentifications, getName, getPmParty, getProfilePicture, getPrParty, getReadableCatalogVersions, getSearchrestrictions, getSearchRestrictions, getSpiParty, getSubscriptionAccesses, getSyncJobs, getTuaParty, getUcParty, getUid, getVisibleTemplates, getWatchedComments, getWritableCatalogVersions, setAgrParty, setBackOfficeLoginDisabled, setBaParty, setBmParty, setDescription, setGroups, setIdentifications, setName, setPmParty, setProfilePicture, setPrParty, setReadableCatalogVersions, setSpiParty, setSubscriptionAccesses, setSyncJobs, setTuaParty, setUcParty, setUid, setVisibleTemplates, setWatchedComments, setWritableCatalogVersionsMethods 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
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 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, 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 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_site- initial attribute declared by typeCustomerat extensioncommerceservices_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
-