Package de.hybris.platform.core.model
Class ItemModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractActionModel,AbstractAdvancedSavedQuerySearchParameterModel,AbstractAsConfigurationModel,AbstractAsSearchProfileModel,AbstractBundleRuleModel,AbstractCommentModel,AbstractConfiguratorSettingModel,AbstractConstraintModel,AbstractContactInfoModel,AbstractCouponModel,AbstractCredentialModel,AbstractDestinationModel,AbstractDynamicContentModel,AbstractIntegrationObjectItemAttributeModel,AbstractMediaModel,AbstractMerchPropertyModel,AbstractOrderEntryModel,AbstractOrderEntryProductInfoModel,AbstractOrderModel,AbstractPromotionActionModel,AbstractPromotionModel,AbstractPromotionRestrictionModel,AbstractRetentionRuleModel,AbstractRuleEngineContextModel,AbstractRuleEngineRuleModel,AbstractRuleModel,AbstractRulesModuleModel,AbstractRuleTemplateModel,AbstractSnIndexerItemSourceModel,AbstractSnSearchProviderConfigurationModel,AbstractUserAuditModel,AbstractWorkflowActionModel,AbstractWorkflowDecisionModel,AddressModel,AdvancedShippingNoticeEntryModel,AdvancedShippingNoticeModel,AgreementModel,AsSearchProfileActivationSetModel,AtpFormulaModel,AttributeValueAssignmentModel,B2BBookingLineEntryModel,B2BBudgetModel,B2BCommentModel,B2BCostCenterModel,B2BCustomerPunchOutCredentialMappingModel,B2BDocumentModel,B2BDocumentPaymentInfoModel,B2BDocumentTypeModel,B2BMerchantCheckModel,B2BMerchantCheckResultModel,B2BPermissionModel,B2BPermissionResultModel,B2BQuoteLimitModel,B2BRegistrationModel,B2BReportingSetModel,BackofficeIndexedTypeToSearchservicesIndexConfigModel,BackofficeIndexedTypeToSolrFacetSearchConfigModel,BackofficeObjectCollectionItemReferenceModel,BackofficeObjectSpecialCollectionModel,BackofficeSavedQueryModel,BackofficeSearchConditionModel,BaseSiteModel,BaseStoreModel,BatchModel,BillingPlanModel,BillingTimeModel,BruteForceLoginAttemptsModel,BundleSelectionCriteriaModel,BundleTemplateModel,BundleTemplateStatusModel,BusinessProcessModel,BusinessProcessParameterModel,C2LItemModel,CampaignModel,CarrierModel,CatalogModel,CatalogOverviewModel,CatalogVersionDifferenceModel,CatalogVersionModel,CatalogVersionToRuleEngineContextMappingModel,CategoryModel,CatForPromotionSourceRuleModel,CCPaySubValidationModel,ChangeDescriptorModel,ChargeEntryModel,ClassAttributeAssignmentModel,ClassFeatureGroupAssignmentModel,ClassFeatureGroupModel,ClassificationAttributeModel,ClassificationAttributeUnitModel,ClassificationAttributeValueModel,CMSItemModel,CMSItemTypeAttributeFilterConfigModel,CMSPreviewTicketModel,CMSRelationModel,CMSVersionModel,CockpitFavoriteCategoryModel,CockpitItemTemplateModel,CockpitObjectAbstractCollectionModel,CockpitSavedFacetValueModel,CockpitSavedParameterValueModel,CockpitSavedQueryModel,CockpitSavedSortCriterionModel,CockpitUIComponentAccessRightModel,CockpitUIComponentConfigurationModel,CodeGenerationConfigurationModel,CombinedCatsForRuleModel,CommentAttachmentModel,CommentMetadataModel,CommentTypeModel,CommentUserSettingModel,ComplexTypeAttributePredicateTest.SubTypeOfItemModel,ComponentModel,ComponentTypeGroupModel,ComposedIndexedTypeModel,CompositeEntryModel,ConsentModel,ConsentTemplateModel,ConsignmentEntryEventModel,ConsignmentEntryModel,ConsignmentModel,ConstraintGroupModel,ContentSlotNameModel,ConversationModel,ConversionErrorLogModel,ConversionGroupModel,CorsConfigurationPropertyModel,CouponNotificationModel,CouponRedemptionModel,CronJobHistoryModel,CronJobModel,CsTicketChangeEventEntryModel,CsTicketEmailModel,CsTicketEventEmailConfigurationModel,CsTicketModel,CustomerCouponForPromotionSourceRuleModel,CustomerOrderOverviewModel,CustomerReviewModel,CustomerVendorReviewModel,CxAbstractCalcConfigModel,CxAbstractTriggerModel,CxConfigModel,CxCustomizationModel,CxCustomizationsGroupModel,CxResultsModel,CxSegmentModel,CxUserToSegmentModel,CxVariationModel,DataHubInstanceModelModel,DeeplinkUrlModel,DeeplinkUrlRuleModel,DefaultAttributeDescriptorModelHelperServiceTest.TestType,DefaultAttributeDescriptorModelHelperServiceTest.TestTypeThatHasCollection,DefaultCMSItemConverterSemiIntegrationTest.MainClass,DefaultCMSItemConverterSemiIntegrationTest.SubClass,DeliveryModeModel,DeliveryTimeSlotModel,DestinationTargetModel,DiscountModel,DistributedProcessModel,DomainModel,DroolsKIEBaseModel,DroolsKIESessionModel,DuplicateCatalogItemCodesViewModel,EmailAddressModel,EmailMessageModel,EndpointModel,EntitlementModel,EnumerationValueModel,EventConfigurationModel,EventExportDeadLetterModel,EventPropertyConfigurationModel,ExcludedCatForRuleModel,ExcludedProductForRuleModel,ExecutedPublicationsViewModel,ExportDataHistoryEntryModel,ExportModel,ExternalImportKeyModel,FormatModel,FraudReportModel,FraudSymptomScoringModel,FutureStockModel,GenericDataSupplierGenerationWizardModel,GenericTestItemModel,ImpexDocumentIdModel,ImportBatchContentModel,InboundChannelConfigurationModel,InboxViewModel,IndexTestItemModel,IntegrationObjectItemModel,IntegrationObjectModel,IntegrationObjectVirtualAttributeDescriptorModel,InventoryEventModel,ItemSourceVersionViewModel,ItemSyncTimestampModel,ItemTargetVersionViewModel,ItemVersionMarkerModel,JaloTranslatorConfigurationModel,JaloVelocityRendererModel,JobLogModel,JobModel,JobSearchRestrictionModel,KeywordModel,LDAPConfigProxyItemModel,LinkModel,MediaContainerModel,MediaContextModel,MediaFolderModel,MediaFormatMappingModel,MediaFormatModel,MediaMetaDataModel,MerchIndexingConfigModel,MerchProductDirectoryConfigModel,MerchSynchronizationConfigModel,MerchSynchronizationModel,MobileNumberVerificationModel,ModifiedCatalogItemsViewModel,MonitoredRequestErrorModel,MonitoredRequestModel,OAuthAccessTokenModel,OAuthAuthorizationCodeModel,OAuthClientDetailsModel,OAuthRefreshTokenModel,ObjectCollectionElementModel,OpenIDExternalScopesModel,OpeningDayModel,OpeningScheduleModel,OrderCancelConfigModel,OrderEntryModificationRecordEntryModel,OrderFormEntryModel,OrderFormModel,OrderHistoryEntryModel,OrderModificationRecordEntryModel,OrderModificationRecordModel,OutboundChannelConfigurationModel,OutboundSyncRetryModel,PackagingInfoModel,ParserPropertyModel,PatchExecutionModel,PatchExecutionUnitModel,PaymentInfoModel,PaymentModeModel,PaymentSubscriptionResultModel,PaymentTransactionEntryModel,PaymentTransactionModel,PDTRowModel,PointOfServiceModel,PreviewDataModel,PreviewTicketModel,PrincipalModel,ProcessTaskLogModel,ProductConfigurationModel,ProductEntitlementModel,ProductFeatureModel,ProductForPromotionSourceRuleModel,ProductInterestModel,ProductModel,ProductOrderLimitModel,ProductReferenceModel,ProductTaxCodeModel,PromotionActionParameterModel,PromotionGroupModel,PromotionOrderEntryConsumedModel,PromotionPriceRowModel,PromotionQuantityAndPricesRowModel,PromotionResultModel,PunchOutCredentialModel,RelationTypeUsageViewModel,RenderersPropertyModel,RendererTemplateModel,RestockConfigModel,RestrictionModel,ReturnEntryModel,ReturnRequestModel,RuleActionDefinitionCategoryModel,RuleActionDefinitionModel,RuleActionDefinitionParameterModel,RuleActionDefinitionRuleTypeMappingModel,RuleConditionDefinitionCategoryModel,RuleConditionDefinitionModel,RuleConditionDefinitionParameterModel,RuleConditionDefinitionRuleTypeMappingModel,RuleGroupModel,RuleToEngineRuleTypeMappingModel,SamlUserGroupModel,SavedQueryModel,SavedValueEntryModel,SavedValuesModel,SessionEventModel,SiteMapConfigModel,SiteMapLanguageCurrencyModel,SiteMapPageModel,SiteMessageForCustomerModel,SiteMessageModel,SmarteditConfigurationModel,SnFieldModel,SnIndexConfigurationModel,SnIndexerItemSourceOperationModel,SnIndexerOperationModel,SnIndexModel,SnIndexTypeModel,SnSynonymDictionaryModel,SnSynonymEntryModel,SolrAbstractKeywordRedirectModel,SolrEndpointUrlModel,SolrFacetSearchConfigModel,SolrFacetSearchKeywordRedirectModel,SolrIndexConfigModel,SolrIndexedCoresRecordModel,SolrIndexedPropertyModel,SolrIndexedTypeModel,SolrIndexerQueryModel,SolrIndexerQueryParameterModel,SolrIndexModel,SolrIndexOperationModel,SolrIndexOperationRecordModel,SolrModifiedItemModel,SolrQueryAggregatedStatsModel,SolrSearchConfigModel,SolrSearchQueryPropertyModel,SolrSearchQuerySortModel,SolrSearchQueryTemplateModel,SolrServerConfigModel,SolrSortFieldModel,SolrSortModel,SolrStopWordModel,SolrSynonymConfigModel,SolrValueRangeModel,SolrValueRangeSetModel,SourcingBanModel,SourcingConfigModel,StandardPaymentModeValueModel,StepModel,StockLevelHistoryEntryModel,StockLevelModel,StockLevelReservationHistoryEntryModel,StoredHttpSessionModel,StoredPunchOutSessionModel,StoreLocatorFeatureModel,StreamConfigurationContainerModel,StreamConfigurationModel,SubscriptionModel,SubscriptionTermModel,SyncAttributeDescriptorConfigModel,SystemSetupAuditModel,TaskConditionModel,TaskModel,TaxInvoiceModel,TaxModel,TestItemModel,ThemeModel,TitleModel,TriggerModel,TypeManagerManagedModel,UniqueIdentifierDataToAttributeAttributeContentConverterTest.ModelClass,UnitModel,UsageChargeModel,UsageUnitModel,UserProfileModel,UserRightModel,VendorModel,VoucherInvalidationModel,WarehouseBinEntryModel,WarehouseBinModel,WarehouseModel,WarehouseTransferEntryModel,WarehouseTransferModel,WebhookConfigurationModel,WebhookPayloadModel,WherePartModel,WidgetParameterModel,WidgetPreferencesModel,Wishlist2EntryModel,Wishlist2Model,WorkflowActionCommentModel,WorkflowItemAttachmentModel,Y2YColumnDefinitionModel,YFormDataHistoryModel,YFormDataModel,YFormDefinitionModel,ZoneDeliveryModeValueModel,ZoneModel
Generated model class for type Item first defined at extension core.
- 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 relation code constant for relationCommentItemRelationdefining source attributecommentsin extensioncomments.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofItem.commentsattribute defined at extensioncomments.static final StringGenerated constant - Attribute key ofItem.creationtimeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofItem.itemtypeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofItem.modifiedtimeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofItem.ownerattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofItem.pkattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofItem.sealedattribute defined at extensioncore.Fields 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.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 - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theItem.commentsattribute defined at extensioncomments.Generated method - Getter of theItem.creationtimeattribute defined at extensioncore.Generated method - Getter of theItem.modifiedtimeattribute defined at extensioncore.getOwner()Generated method - Getter of theItem.ownerattribute defined at extensioncore.booleanisSealed()Generated method - Getter of theItem.sealedattribute defined at extensioncore.voidsetComments(List<CommentModel> value) Generated method - Setter ofItem.commentsattribute defined at extensioncomments.voidsetCreationtime(Date value) Generated method - Initial setter ofItem.creationtimeattribute defined at extensioncore.voidsetModifiedtime(Date value) Generated method - Setter ofItem.modifiedtimeattribute defined at extensioncore.voidGenerated method - Initial setter ofItem.ownerattribute defined at extensioncore.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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_COMMENTITEMRELATION
Generated relation code constant for relationCommentItemRelationdefining source attributecommentsin extensioncomments.- See Also:
-
CREATIONTIME
Generated constant - Attribute key ofItem.creationtimeattribute defined at extensioncore.- See Also:
-
MODIFIEDTIME
Generated constant - Attribute key ofItem.modifiedtimeattribute defined at extensioncore.- See Also:
-
ITEMTYPE
Generated constant - Attribute key ofItem.itemtypeattribute defined at extensioncore.- See Also:
-
OWNER
Generated constant - Attribute key ofItem.ownerattribute defined at extensioncore.- See Also:
-
PK
Generated constant - Attribute key ofItem.pkattribute defined at extensioncore.- See Also:
-
SEALED
Generated constant - Attribute key ofItem.sealedattribute defined at extensioncore.- See Also:
-
COMMENTS
Generated constant - Attribute key ofItem.commentsattribute defined at extensioncomments.- See Also:
-
-
Constructor Details
-
ItemModel
public ItemModel()Generated constructor - Default constructor for generic creation. -
ItemModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ItemModel
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:
_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getComments
Generated method - Getter of theItem.commentsattribute defined at extensioncomments. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the comments
-
getCreationtime
Generated method - Getter of theItem.creationtimeattribute defined at extensioncore.- Returns:
- the creationtime
-
getModifiedtime
Generated method - Getter of theItem.modifiedtimeattribute defined at extensioncore.- Returns:
- the modifiedtime
-
getOwner
Generated method - Getter of theItem.ownerattribute defined at extensioncore.- Returns:
- the owner
-
isSealed
Generated method - Getter of theItem.sealedattribute defined at extensioncore.- Returns:
- the sealed
-
setComments
Generated method - Setter ofItem.commentsattribute defined at extensioncomments.- Parameters:
value- the comments
-
setCreationtime
Generated method - Initial setter ofItem.creationtimeattribute defined at extensioncore. Can only be used at creation of model - before first save.- Parameters:
value- the creationtime
-
setModifiedtime
Generated method - Setter ofItem.modifiedtimeattribute defined at extensioncore.- Parameters:
value- the modifiedtime
-
setOwner
Generated method - Initial setter ofItem.ownerattribute defined at extensioncore. Can only be used at creation of model - before first save.- Parameters:
value- the owner
-