Class CustomerModel
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
B2BCustomerModel
Generated model class for type Customer first defined at extension core.
- 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 relation code constant for relationTmaEligibilityContext2Customerdefining source attributeeligibilityContextsin extensionb2ctelcoservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCustomer.contactEmailattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofCustomer.customerIDattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofCustomer.defaultPaymentInfoattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofCustomer.eligibilityContextsattribute defined at extensionb2ctelcoservices.static final StringGenerated constant - Attribute key ofCustomer.originalUidattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofCustomer.previewCatalogVersionsattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofCustomer.ticketsattribute defined at extensionticketsystem.static final StringGenerated constant - Attribute key ofCustomer.titleattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofCustomer.tokenattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofCustomer.typeattribute defined at extensioncommerceservices.Fields 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, USERPROFILEFields 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.CustomerModel(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 parametersCustomerModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextCustomerModel(Collection<CustomerReviewModel> _customerReviews, 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 theCustomer.contactEmaildynamic attribute defined at extensioncommerceservices.Generated method - Getter of theCustomer.customerIDattribute defined at extensioncore.Generated method - Getter of theCustomer.defaultPaymentInfoattribute defined at extensioncommerceservices.Generated method - Getter of theCustomer.eligibilityContextsattribute defined at extensionb2ctelcoservices.Generated method - Getter of theCustomer.originalUidattribute defined at extensioncommerceservices.Generated method - Getter of theCustomer.previewCatalogVersionsattribute defined at extensioncatalog.Generated method - Getter of theCustomer.ticketsdynamic attribute defined at extensionticketsystem.getTitle()Generated method - Getter of theCustomer.titleattribute defined at extensioncommerceservices.getToken()Generated method - Getter of theCustomer.tokenattribute defined at extensioncommerceservices.getType()Generated method - Getter of theCustomer.typeattribute defined at extensioncommerceservices.voidsetCustomerID(String value) Generated method - Setter ofCustomer.customerIDattribute defined at extensioncore.voidGenerated method - Setter ofCustomer.defaultPaymentInfoattribute defined at extensioncommerceservices.voidGenerated method - Setter ofCustomer.eligibilityContextsattribute defined at extensionb2ctelcoservices.voidsetOriginalUid(String value) Generated method - Setter ofCustomer.originalUidattribute defined at extensioncommerceservices.voidGenerated method - Setter ofCustomer.previewCatalogVersionsattribute defined at extensioncatalog.voidsetTickets(List<CsTicketModel> value) Generated method - Setter ofCustomer.ticketsdynamic attribute defined at extensionticketsystem.voidsetTitle(TitleModel value) Generated method - Setter ofCustomer.titleattribute defined at extensioncommerceservices.voidGenerated method - Setter ofCustomer.tokenattribute defined at extensioncommerceservices.voidsetType(CustomerType value) Generated method - Setter ofCustomer.typeattribute defined at extensioncommerceservices.Methods 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, 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, setUserprofileMethods 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:
-
_TMAELIGIBILITYCONTEXT2CUSTOMER
Generated relation code constant for relationTmaEligibilityContext2Customerdefining source attributeeligibilityContextsin extensionb2ctelcoservices.- See Also:
-
CUSTOMERID
Generated constant - Attribute key ofCustomer.customerIDattribute defined at extensioncore.- See Also:
-
PREVIEWCATALOGVERSIONS
Generated constant - Attribute key ofCustomer.previewCatalogVersionsattribute defined at extensioncatalog.- See Also:
-
TITLE
Generated constant - Attribute key ofCustomer.titleattribute defined at extensioncommerceservices.- See Also:
-
DEFAULTPAYMENTINFO
Generated constant - Attribute key ofCustomer.defaultPaymentInfoattribute defined at extensioncommerceservices.- See Also:
-
TOKEN
Generated constant - Attribute key ofCustomer.tokenattribute defined at extensioncommerceservices.- See Also:
-
CONTACTEMAIL
Generated constant - Attribute key ofCustomer.contactEmailattribute defined at extensioncommerceservices.- See Also:
-
ORIGINALUID
Generated constant - Attribute key ofCustomer.originalUidattribute defined at extensioncommerceservices.- See Also:
-
TYPE
Generated constant - Attribute key ofCustomer.typeattribute defined at extensioncommerceservices.- See Also:
-
TICKETS
Generated constant - Attribute key ofCustomer.ticketsattribute defined at extensionticketsystem.- See Also:
-
ELIGIBILITYCONTEXTS
Generated constant - Attribute key ofCustomer.eligibilityContextsattribute defined at extensionb2ctelcoservices.- See Also:
-
-
Constructor Details
-
CustomerModel
public CustomerModel()Generated constructor - Default constructor for generic creation. -
CustomerModel
public CustomerModel(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
-
CustomerModel
@Deprecated(since="4.1.1", forRemoval=true) public CustomerModel(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:
_loginDisabled- initial attribute declared by typeUserat extensioncore_uid- initial attribute declared by typePrincipalat extensioncore
-
CustomerModel
@Deprecated(since="4.1.1", forRemoval=true) public CustomerModel(Collection<CustomerReviewModel> _customerReviews, 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_loginDisabled- initial attribute declared by typeUserat extensioncore_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typePrincipalat extensioncore
-
-
Method Details
-
getContactEmail
Generated method - Getter of theCustomer.contactEmaildynamic attribute defined at extensioncommerceservices.- Returns:
- the contactEmail - Contact email is a dynamic attribute that is used to determine contact email address.
-
getCustomerID
Generated method - Getter of theCustomer.customerIDattribute defined at extensioncore.- Returns:
- the customerID
-
getDefaultPaymentInfo
@Accessor(qualifier="defaultPaymentInfo", type=GETTER) public PaymentInfoModel getDefaultPaymentInfo()Generated method - Getter of theCustomer.defaultPaymentInfoattribute defined at extensioncommerceservices.- Returns:
- the defaultPaymentInfo - It holds information about default payment that is used by the customer.
-
getEligibilityContexts
@Accessor(qualifier="eligibilityContexts", type=GETTER) public Set<TmaEligibilityContextModel> getEligibilityContexts()Generated method - Getter of theCustomer.eligibilityContextsattribute defined at extensionb2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the eligibilityContexts
-
getOriginalUid
Generated method - Getter of theCustomer.originalUidattribute defined at extensioncommerceservices.- Returns:
- the originalUid
-
getPreviewCatalogVersions
@Accessor(qualifier="previewCatalogVersions", type=GETTER) public Collection<CatalogVersionModel> getPreviewCatalogVersions()Generated method - Getter of theCustomer.previewCatalogVersionsattribute defined at extensioncatalog. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the previewCatalogVersions
-
getTickets
Generated method - Getter of theCustomer.ticketsdynamic attribute defined at extensionticketsystem. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the tickets - Tickets is a dynamic attribute.
-
getTitle
Generated method - Getter of theCustomer.titleattribute defined at extensioncommerceservices.- Returns:
- the title - It holds information about customer title (i.e. Mr, Dr, etc.)
-
getToken
Generated method - Getter of theCustomer.tokenattribute defined at extensioncommerceservices.- Returns:
- the token - Attribute is used during forgotten password to ensure that the link can be used only once.
-
getType
Generated method - Getter of theCustomer.typeattribute defined at extensioncommerceservices.- Returns:
- the type - Customer type
-
setCustomerID
Generated method - Setter ofCustomer.customerIDattribute defined at extensioncore.- Parameters:
value- the customerID
-
setDefaultPaymentInfo
@Accessor(qualifier="defaultPaymentInfo", type=SETTER) public void setDefaultPaymentInfo(PaymentInfoModel value) Generated method - Setter ofCustomer.defaultPaymentInfoattribute defined at extensioncommerceservices.- Parameters:
value- the defaultPaymentInfo - It holds information about default payment that is used by the customer.
-
setEligibilityContexts
@Accessor(qualifier="eligibilityContexts", type=SETTER) public void setEligibilityContexts(Set<TmaEligibilityContextModel> value) Generated method - Setter ofCustomer.eligibilityContextsattribute defined at extensionb2ctelcoservices.- Parameters:
value- the eligibilityContexts
-
setOriginalUid
Generated method - Setter ofCustomer.originalUidattribute defined at extensioncommerceservices.- Parameters:
value- the originalUid
-
setPreviewCatalogVersions
@Accessor(qualifier="previewCatalogVersions", type=SETTER) public void setPreviewCatalogVersions(Collection<CatalogVersionModel> value) Generated method - Setter ofCustomer.previewCatalogVersionsattribute defined at extensioncatalog.- Parameters:
value- the previewCatalogVersions
-
setTickets
Generated method - Setter ofCustomer.ticketsdynamic attribute defined at extensionticketsystem.- Parameters:
value- the tickets - Tickets is a dynamic attribute.
-
setTitle
Generated method - Setter ofCustomer.titleattribute defined at extensioncommerceservices.- Parameters:
value- the title - It holds information about customer title (i.e. Mr, Dr, etc.)
-
setToken
Generated method - Setter ofCustomer.tokenattribute defined at extensioncommerceservices.- Parameters:
value- the token - Attribute is used during forgotten password to ensure that the link can be used only once.
-
setType
Generated method - Setter ofCustomer.typeattribute defined at extensioncommerceservices.- Parameters:
value- the type - Customer type
-