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:
java.io.Serializable
- Direct Known Subclasses:
AbstractActionModel,AbstractAdvancedSavedQuerySearchParameterModel,AbstractAsConfigurationModel,AbstractAsSearchProfileModel,AbstractBundleRuleModel,AbstractCecServiceMappingModel,AbstractCommentModel,AbstractConfiguratorSettingModel,AbstractConstraintModel,AbstractContactInfoModel,AbstractCouponModel,AbstractCredentialModel,AbstractDestinationModel,AbstractDynamicContentModel,AbstractMediaModel,AbstractMerchPropertyModel,AbstractOrderEntryModel,AbstractOrderEntryProductInfoModel,AbstractOrderModel,AbstractPromotionActionModel,AbstractPromotionModel,AbstractPromotionRestrictionModel,AbstractRetentionRuleModel,AbstractRuleEngineContextModel,AbstractRuleEngineRuleModel,AbstractRuleModel,AbstractRulesModuleModel,AbstractRuleTemplateModel,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,BackofficeIndexedTypeToSolrFacetSearchConfigModel,BackofficeSavedQueryModel,BackofficeSearchConditionModel,BaseSiteModel,BaseStoreModel,BatchModel,BillingPlanModel,BillingTimeModel,BruteForceLoginAttemptsModel,BundleSelectionCriteriaModel,BundleTemplateModel,BundleTemplateStatusModel,BusinessProcessModel,BusinessProcessParameterModel,C2LItemModel,CampaignModel,CarrierModel,CatalogModel,CatalogOverviewModel,CatalogVersionDifferenceModel,CatalogVersionModel,CatalogVersionToRuleEngineContextMappingModel,CategoryModel,CatForPromotionSourceRuleModel,CCPaySubValidationModel,CecServiceModel,CecTechnicalUserModel,ChangeDescriptorModel,CharacteristicValueRulesResultModel,ChargeEntryModel,ClassAttributeAssignmentModel,ClassificationAttributeModel,ClassificationAttributeUnitModel,ClassificationAttributeValueModel,CMSItemModel,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,CPQDataloadStatusModel,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,DiscountMessageRulesResultModel,DiscountModel,DistributedProcessModel,DomainModel,DroolsKIEBaseModel,DroolsKIESessionModel,DuplicateCatalogItemCodesViewModel,EmailAddressModel,EmailMessageModel,EndpointModel,EntitlementModel,EnumerationValueModel,EventConfigurationModel,EventExportDeadLetterModel,EventPropertyConfigurationModel,ExcludedCatForRuleModel,ExcludedProductForRuleModel,ExecutedPublicationsViewModel,ExportDataHistoryEntryModel,ExportModel,ExtendedSAPHTTPDestinationModel,ExternalDiscountValueModel,ExternalImportKeyModel,FormatModel,FraudReportModel,FraudSymptomScoringModel,FutureStockModel,GenericDataSupplierGenerationWizardModel,GenericTestItemModel,GigyaConfigModel,GigyaFieldMappingModel,IflowConfigurationModel,ImpexDocumentIdModel,ImportBatchContentModel,InboxViewModel,IndexTestItemModel,IntegrationObjectItemAttributeModel,IntegrationObjectItemModel,IntegrationObjectModel,InventoryEventModel,ItemSourceVersionViewModel,ItemSyncTimestampModel,ItemTargetVersionViewModel,ItemVersionMarkerModel,JaloTranslatorConfigurationModel,JaloVelocityRendererModel,JobLogModel,JobModel,JobSearchRestrictionModel,KeywordModel,LDAPConfigProxyItemModel,LinkModel,MaterialModel,MediaContainerModel,MediaContextModel,MediaFolderModel,MediaFormatMappingModel,MediaFormatModel,MediaMetaDataModel,MerchIndexingConfigModel,MerchSynchronizationConfigModel,MobileNumberVerificationModel,ModifiedCatalogItemsViewModel,MonitoredRequestErrorModel,MonitoredRequestModel,OAuthAccessTokenModel,OAuthAuthorizationCodeModel,OAuthClientDetailsModel,OAuthRefreshTokenModel,ObjectCollectionElementModel,OndemandBaseStorePreferenceModel,OndemandGlobalPreferenceModel,OpenIDExternalScopesModel,OpeningDayModel,OpeningScheduleModel,OrderCancelConfigModel,OrderEntryModificationRecordEntryModel,OrderFormEntryModel,OrderFormModel,OrderHistoryEntryModel,OrderModificationRecordEntryModel,OrderModificationRecordModel,OutboundChannelConfigurationModel,OutboundSyncRetryModel,PackagingInfoModel,ParserPropertyModel,PartnerAddressModel,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,ReferenceDistributionChannelMappingModel,ReferenceDivisionMappingModel,RelationTypeUsageViewModel,RenderersPropertyModel,RendererTemplateModel,RestockConfigModel,RestrictionModel,ReturnEntryModel,ReturnRequestModel,RFCDestinationAttributeModel,RuleActionDefinitionCategoryModel,RuleActionDefinitionModel,RuleActionDefinitionParameterModel,RuleActionDefinitionRuleTypeMappingModel,RuleConditionDefinitionCategoryModel,RuleConditionDefinitionModel,RuleConditionDefinitionParameterModel,RuleConditionDefinitionRuleTypeMappingModel,RuleGroupModel,RuleToEngineRuleTypeMappingModel,SamlUserGroupModel,SAPAdministrationModel,SAPConfigurationModel,SAPCPIConfigurationModel,SAPCpiOutboundAddressModel,SAPCpiOutboundCardPaymentModel,SAPCpiOutboundConfigModel,SAPCpiOutboundCustomerModel,SAPCpiOutboundOrderItemConfigConditionModel,SAPCpiOutboundOrderItemConfigHeaderModel,SAPCpiOutboundOrderItemConfigHierarchyModel,SAPCpiOutboundOrderItemConfigInstanceModel,SAPCpiOutboundOrderItemConfigValueModel,SAPCpiOutboundOrderItemModel,SAPCpiOutboundOrderModel,SAPCpiOutboundPartnerRoleModel,SAPCpiOutboundPriceComponentModel,SAPCpiOutboundQuoteCommentModel,SAPCpiOutboundQuoteCustomerModel,SAPCpiOutboundQuoteItemModel,SAPCpiOutboundQuoteModel,SAPCpiOutboundQuoteStatusModel,SAPDeliveryModeModel,SAPDigitalPaymentClientModel,SAPDigitalPaymentConfigurationModel,SAPGlobalConfigurationModel,SAPHTTPDestinationModel,SAPInboundProductModel,SAPInboundVariantModel,SAPLogicalSystemModel,SAPMarketToCatalogMappingModel,SAPOfferInteractionModel,SAPOrderModel,SAPPaymentModeModel,SAPPlantLogSysOrgModel,SAPPricingConditionModel,SAPPricingSalesAreaToCatalogModel,SAPProductIDDataConversionModel,SAPProductSalesAreaToCatalogMappingModel,SAPRatePlanElementModel,SAPRecoClickthroughModel,SAPRecoImpressionAggrModel,SAPRecoImpressionModel,SAPRecommendationBufferModel,SAPRecommendationMappingModel,SAPRecoTypeMappingModel,SapReturnOrderReasonModel,SAPReturnRequestsModel,SAPRevenueCloudConfigurationModel,SAPRFCDestinationModel,SAPSalesOrganizationModel,SavedQueryModel,SavedValueEntryModel,SavedValuesModel,ScimUserGroupModel,SessionEventModel,SiteMapConfigModel,SiteMapLanguageCurrencyModel,SiteMapPageModel,SiteMessageForCustomerModel,SiteMessageModel,SmarteditConfigurationModel,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,TitleModel,TriggerModel,TypeManagerManagedModel,UniqueIdentifierDataToAttributeAttributeContentConverterTest.ModelClass,UnitModel,UsageChargeModel,UsageUnitModel,UserProfileModel,UserRightModel,VendorModel,VoucherInvalidationModel,WarehouseBinEntryModel,WarehouseBinModel,WarehouseModel,WarehouseTransferEntryModel,WarehouseTransferModel,WherePartModel,WidgetParameterModel,WidgetPreferencesModel,Wishlist2EntryModel,Wishlist2Model,WorkflowActionCommentModel,WorkflowItemAttachmentModel,Y2YColumnDefinitionModel,YFormDataHistoryModel,YFormDataModel,YFormDefinitionModel,ZoneDeliveryModeValueModel,ZoneModel
public class ItemModel extends AbstractItemModel
Generated model class for type Item first defined at extension core.- 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_COMMENTITEMRELATIONGenerated relation code constant for relationCommentItemRelationdefining source attributecommentsin extensioncomments.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCOMMENTSGenerated constant - Attribute key ofItem.commentsattribute defined at extensioncomments.static java.lang.StringCREATIONTIMEGenerated constant - Attribute key ofItem.creationtimeattribute defined at extensioncore.static java.lang.StringITEMTYPEGenerated constant - Attribute key ofItem.itemtypeattribute defined at extensioncore.static java.lang.StringMODIFIEDTIMEGenerated constant - Attribute key ofItem.modifiedtimeattribute defined at extensioncore.static java.lang.StringOWNERGenerated constant - Attribute key ofItem.ownerattribute defined at extensioncore.static java.lang.StringPKGenerated constant - Attribute key ofItem.pkattribute defined at extensioncore.static java.lang.StringSEALEDGenerated 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
Constructors Constructor Description ItemModel()Generated constructor - Default constructor for generic creation.ItemModel(ItemModel _owner)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersItemModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CommentModel>getComments()Generated method - Getter of theItem.commentsattribute defined at extensioncomments.java.util.DategetCreationtime()Generated method - Getter of theItem.creationtimeattribute defined at extensioncore.java.util.DategetModifiedtime()Generated method - Getter of theItem.modifiedtimeattribute defined at extensioncore.ItemModelgetOwner()Generated method - Getter of theItem.ownerattribute defined at extensioncore.booleanisSealed()Generated method - Getter of theItem.sealedattribute defined at extensioncore.voidsetComments(java.util.List<CommentModel> value)Generated method - Setter ofItem.commentsattribute defined at extensioncomments.voidsetCreationtime(java.util.Date value)Generated method - Initial setter ofItem.creationtimeattribute defined at extensioncore.voidsetModifiedtime(java.util.Date value)Generated method - Setter ofItem.modifiedtimeattribute defined at extensioncore.voidsetOwner(ItemModel value)Generated 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_COMMENTITEMRELATION
public static final java.lang.String _COMMENTITEMRELATION
Generated relation code constant for relationCommentItemRelationdefining source attributecommentsin extensioncomments.- See Also:
- Constant Field Values
-
CREATIONTIME
public static final java.lang.String CREATIONTIME
Generated constant - Attribute key ofItem.creationtimeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
MODIFIEDTIME
public static final java.lang.String MODIFIEDTIME
Generated constant - Attribute key ofItem.modifiedtimeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
ITEMTYPE
public static final java.lang.String ITEMTYPE
Generated constant - Attribute key ofItem.itemtypeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
OWNER
public static final java.lang.String OWNER
Generated constant - Attribute key ofItem.ownerattribute defined at extensioncore.- See Also:
- Constant Field Values
-
PK
public static final java.lang.String PK
Generated constant - Attribute key ofItem.pkattribute defined at extensioncore.- See Also:
- Constant Field Values
-
SEALED
public static final java.lang.String SEALED
Generated constant - Attribute key ofItem.sealedattribute defined at extensioncore.- See Also:
- Constant Field Values
-
COMMENTS
public static final java.lang.String COMMENTS
Generated constant - Attribute key ofItem.commentsattribute defined at extensioncomments.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ItemModel
public ItemModel()
Generated constructor - Default constructor for generic creation.
-
ItemModel
public ItemModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ItemModel
@Deprecated(since="4.1.1", forRemoval=true) public ItemModel(ItemModel _owner)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 Detail
-
getComments
@Accessor(qualifier="comments", type=GETTER) public java.util.List<CommentModel> 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
@Accessor(qualifier="creationtime", type=GETTER) public java.util.Date getCreationtime()
Generated method - Getter of theItem.creationtimeattribute defined at extensioncore.- Returns:
- the creationtime
-
getModifiedtime
@Accessor(qualifier="modifiedtime", type=GETTER) public java.util.Date getModifiedtime()
Generated method - Getter of theItem.modifiedtimeattribute defined at extensioncore.- Returns:
- the modifiedtime
-
getOwner
@Accessor(qualifier="owner", type=GETTER) public ItemModel getOwner()
Generated method - Getter of theItem.ownerattribute defined at extensioncore.- Returns:
- the owner
-
isSealed
@Accessor(qualifier="sealed", type=GETTER) public boolean isSealed()
Generated method - Getter of theItem.sealedattribute defined at extensioncore.- Returns:
- the sealed
-
setComments
@Accessor(qualifier="comments", type=SETTER) public void setComments(java.util.List<CommentModel> value)
Generated method - Setter ofItem.commentsattribute defined at extensioncomments.- Parameters:
value- the comments
-
setCreationtime
@Accessor(qualifier="creationtime", type=SETTER) public void setCreationtime(java.util.Date value)
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
@Accessor(qualifier="modifiedtime", type=SETTER) public void setModifiedtime(java.util.Date value)
Generated method - Setter ofItem.modifiedtimeattribute defined at extensioncore.- Parameters:
value- the modifiedtime
-
-