Uses of Interface
de.hybris.platform.inboundservices.persistence.PersistenceContext
-
-
Uses of PersistenceContext in de.hybris.platform.inboundservices.persistence
Methods in de.hybris.platform.inboundservices.persistence that return PersistenceContext Modifier and Type Method Description PersistenceContextPersistenceContext. getReferencedContext(TypeAttributeDescriptor attribute)Retrieves the persistence context for an item referenced by the specified attributePersistenceContextPersistenceContext. getRootContext()Retrieves the top most persistence contextMethods in de.hybris.platform.inboundservices.persistence that return types with arguments of type PersistenceContext Modifier and Type Method Description java.util.Collection<PersistenceContext>PersistenceContext. getReferencedContexts(TypeAttributeDescriptor attribute)Retrieves the persistence contexts for the items referenced by the specified attributejava.util.Optional<PersistenceContext>PersistenceContext. getSourceContext()Retrieves the persistence context that the referenced context was gotten fromMethods in de.hybris.platform.inboundservices.persistence with parameters of type PersistenceContext Modifier and Type Method Description ItemModelItemModelFactory. createItem(PersistenceContext context)Creates newItemModelinstance.ItemModelContextItemModelService. findOrCreateItem(PersistenceContext context)Using the context searches for anItemModelexisting in context or in the platform; if not found creates a new item model from the information available in the context.voidAttributePopulator. populate(ItemModel model, PersistenceContext context)Populates attributes of the specifiedItemModel.voidItemModelPopulator. populate(ItemModel item, PersistenceContext context)Populates the specified item with the values available in the persistence context.Constructors in de.hybris.platform.inboundservices.persistence with parameters of type PersistenceContext Constructor Description CannotCreateReferencedItemException(TypeAttributeDescriptor attrDescriptor, PersistenceContext context) -
Uses of PersistenceContext in de.hybris.platform.inboundservices.persistence.impl
Classes in de.hybris.platform.inboundservices.persistence.impl that implement PersistenceContext Modifier and Type Class Description classDefaultPersistenceContextContext which contains details about the item(s) for persistence.Methods in de.hybris.platform.inboundservices.persistence.impl that return PersistenceContext Modifier and Type Method Description PersistenceContextDefaultPersistenceContext. getReferencedContext(TypeAttributeDescriptor attribute)PersistenceContextDefaultPersistenceContext. getRootContext()Methods in de.hybris.platform.inboundservices.persistence.impl that return types with arguments of type PersistenceContext Modifier and Type Method Description java.util.Collection<PersistenceContext>DefaultPersistenceContext. getReferencedContexts(TypeAttributeDescriptor attribute)java.util.Optional<PersistenceContext>DefaultPersistenceContext. getSourceContext()Methods in de.hybris.platform.inboundservices.persistence.impl with parameters of type PersistenceContext Modifier and Type Method Description ItemModelDefaultItemModelFactory. createItem(PersistenceContext context)Creates newItemModelinstance.java.util.Collection<ItemModel>DefaultContextReferencedItemModelService. deriveItemsReferencedInAttributeValue(PersistenceContext context, TypeAttributeDescriptor attribute)ItemModelDefaultContextReferencedItemModelService. deriveReferencedItemModel(TypeAttributeDescriptor attribute, PersistenceContext referencedItemContext)ItemModelDefaultContextItemModelService. findOrCreateItem(PersistenceContext context)DefaultPersistenceContext.DefaultPersistenceContextBuilderDefaultPersistenceContext.DefaultPersistenceContextBuilder. withSourceContext(PersistenceContext sourceContext) -
Uses of PersistenceContext in de.hybris.platform.inboundservices.persistence.populator
Methods in de.hybris.platform.inboundservices.persistence.populator that return PersistenceContext Modifier and Type Method Description PersistenceContextAttributePersistenceException. getPersistenceContext()Provides context associated with the attribute persistence failure.Methods in de.hybris.platform.inboundservices.persistence.populator with parameters of type PersistenceContext Modifier and Type Method Description java.util.Collection<ItemModel>ContextReferencedItemModelService. deriveItemsReferencedInAttributeValue(PersistenceContext context, TypeAttributeDescriptor attribute)Derives a collection ofItemModels referenced by the specified attribute in the item payload present in the provided persistence context.ItemModelContextReferencedItemModelService. deriveReferencedItemModel(TypeAttributeDescriptor attribute, PersistenceContext referencedItemContext)Using the context derives an existingItemModelthat is referenced in the payload of the item to be persisted.protected abstract java.util.Collection<java.lang.Object>AbstractCollectionAttributePopulator. getNewCollection(ItemModel item, TypeAttributeDescriptor attributeDescriptor, PersistenceContext context)Get the collection of values from the context to be persistedprotected java.util.Collection<java.lang.Object>ItemModelCollectionAttributePopulator. getNewCollection(ItemModel item, TypeAttributeDescriptor collectionAttribute, PersistenceContext context)protected java.util.Collection<java.lang.Object>PrimitiveCollectionAttributePopulator. getNewCollection(ItemModel item, TypeAttributeDescriptor attributeDescriptor, PersistenceContext context)protected abstract booleanAbstractAttributePopulator. isApplicable(TypeAttributeDescriptor attribute, PersistenceContext context)Determines whether a specific implementation can provide value for the specified attribute.protected booleanItemModelAttributePopulator. isApplicable(TypeAttributeDescriptor attribute, PersistenceContext context)protected booleanItemModelCollectionAttributePopulator. isApplicable(TypeAttributeDescriptor attribute, PersistenceContext context)protected booleanMapAttributePopulator. isApplicable(TypeAttributeDescriptor attribute, PersistenceContext context)protected booleanPartOfAttributePopulator. isApplicable(TypeAttributeDescriptor attribute, PersistenceContext context)protected booleanPrimitiveAttributePopulator. isApplicable(TypeAttributeDescriptor attribute, PersistenceContext context)protected booleanPrimitiveCollectionAttributePopulator. isApplicable(TypeAttributeDescriptor attribute, PersistenceContext context)protected booleanReplaceItemModelCollectionAttributePopulator. isApplicable(TypeAttributeDescriptor attribute, PersistenceContext context)protected booleanReplaceMapAttributePopulator. isApplicable(TypeAttributeDescriptor attribute, PersistenceContext context)protected booleanReplacePrimitiveCollectionAttributePopulator. isApplicable(TypeAttributeDescriptor attribute, PersistenceContext context)voidAbstractAttributePopulator. populate(ItemModel model, PersistenceContext context)Populates attributes of the specifiedItemModel.voidDefaultItemModelPopulator. populate(ItemModel item, PersistenceContext context)protected abstract voidAbstractAttributePopulator. populateAttribute(ItemModel item, TypeAttributeDescriptor attribute, PersistenceContext context)Populates value of the specified item attribute.protected voidAbstractCollectionAttributePopulator. populateAttribute(ItemModel item, TypeAttributeDescriptor attribute, PersistenceContext context)protected voidAbstractMapAttributePopulator. populateAttribute(ItemModel item, TypeAttributeDescriptor attribute, PersistenceContext context)protected voidItemModelAttributePopulator. populateAttribute(ItemModel item, TypeAttributeDescriptor attribute, PersistenceContext context)protected voidPartOfAttributePopulator. populateAttribute(ItemModel item, TypeAttributeDescriptor attribute, PersistenceContext context)protected voidPrimitiveAttributePopulator. populateAttribute(ItemModel item, TypeAttributeDescriptor attribute, PersistenceContext context)protected voidReplaceItemModelCollectionAttributePopulator. populateAttribute(ItemModel item, TypeAttributeDescriptor attribute, PersistenceContext context)protected voidReplacePrimitiveCollectionAttributePopulator. populateAttribute(ItemModel item, TypeAttributeDescriptor attribute, PersistenceContext context)Constructors in de.hybris.platform.inboundservices.persistence.populator with parameters of type PersistenceContext Constructor Description AttributePersistenceException(java.lang.String message, TypeAttributeDescriptor descriptor, PersistenceContext context)Instantiates this exceptionAttributePersistenceException(java.lang.String message, TypeAttributeDescriptor descriptor, PersistenceContext context, java.lang.Throwable cause)Instantiates this exceptionMissingRequiredAttributeValueException(TypeAttributeDescriptor descriptor, PersistenceContext context)Instantiates the exceptionMissingRequiredMapKeyValueException(TypeAttributeDescriptor descriptor, PersistenceContext context)UnmodifiableAttributeException(TypeAttributeDescriptor descriptor, PersistenceContext context, java.lang.Throwable cause) -
Uses of PersistenceContext in de.hybris.platform.inboundservices.persistence.validation
Methods in de.hybris.platform.inboundservices.persistence.validation with parameters of type PersistenceContext Modifier and Type Method Description voidInstanceCreationOfAbstractTypeValidator. validate(PersistenceContext context)voidItemPersistRequestPermissionValidator. validate(PersistenceContext context, ItemModel itemModel)voidItemPersistRequestValidator. validate(PersistenceContext context, ItemModel itemModel)Validates the item can be persisted with the given context and rejects it by throwing an exception, if the specified request does not meet certain criteria.voidPersistenceContextValidator. validate(PersistenceContext context)Validates the context is valid before persistence.voidRequiredAttributePersistenceContextValidator. validate(PersistenceContext context) -
Uses of PersistenceContext in de.hybris.platform.odata2services.odata.persistence
Classes in de.hybris.platform.odata2services.odata.persistence that implement PersistenceContext Modifier and Type Class Description classStorageRequestRequest which contains an item for persistence.Methods in de.hybris.platform.odata2services.odata.persistence that return PersistenceContext Modifier and Type Method Description PersistenceContextStorageRequest. getReferencedContext(TypeAttributeDescriptor attribute)PersistenceContextStorageRequest. getRootContext()Methods in de.hybris.platform.odata2services.odata.persistence that return types with arguments of type PersistenceContext Modifier and Type Method Description java.util.Collection<PersistenceContext>StorageRequest. getReferencedContexts(TypeAttributeDescriptor attribute)java.util.Optional<PersistenceContext>StorageRequest. getSourceContext()Constructors in de.hybris.platform.odata2services.odata.persistence with parameters of type PersistenceContext Constructor Description InvalidEntryDataException(OData2ServicesException e, PersistenceContext ctx)Constructor to create InvalidEntryDataException to populate the integrationKey in the error response.PersistenceException(java.lang.Throwable e, PersistenceContext ctx)Constructor to create PersistenceException -
Uses of PersistenceContext in de.hybris.platform.odata2services.odata.persistence.creation
Methods in de.hybris.platform.odata2services.odata.persistence.creation with parameters of type PersistenceContext Modifier and Type Method Description ItemModelAlwaysCreateItemStrategy. createItem(PersistenceContext ctx)Deprecated, for removal: This API element is subject to removal in a future version.ItemModelCreateItemStrategy. createItem(PersistenceContext ctx)Deprecated, for removal: This API element is subject to removal in a future version.ItemModelNeverCreateItemStrategy. createItem(PersistenceContext ctx)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of PersistenceContext in de.hybris.platform.odata2services.odata.persistence.exception
Constructors in de.hybris.platform.odata2services.odata.persistence.exception with parameters of type PersistenceContext Constructor Description ItemNotFoundException(PersistenceContext context)Instantiates this exception -
Uses of PersistenceContext in de.hybris.platform.odata2services.odata.persistence.impl
Methods in de.hybris.platform.odata2services.odata.persistence.impl with parameters of type PersistenceContext Modifier and Type Method Description java.util.Collection<ItemModel>DefaultModelEntityService. deriveItemsReferencedInAttributeValue(PersistenceContext context, TypeAttributeDescriptor attribute)Deprecated, for removal: This API element is subject to removal in a future version.ItemModelDefaultModelEntityService. deriveReferencedItemModel(TypeAttributeDescriptor attribute, PersistenceContext referencedItemContext)Deprecated, for removal: This API element is subject to removal in a future version.ItemModelDefaultModelEntityService. findOrCreateItem(PersistenceContext context)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of PersistenceContext in de.hybris.platform.odata2services.odata.persistence.populator
Methods in de.hybris.platform.odata2services.odata.persistence.populator with parameters of type PersistenceContext Modifier and Type Method Description protected java.util.Collection<java.lang.Object>ItemModelCollectionAttributePopulator. getNewCollection(ItemModel item, TypeAttributeDescriptor collectionAttribute, PersistenceContext context)Deprecated, for removal: This API element is subject to removal in a future version.protected booleanItemModelAttributePopulator. isApplicable(TypeAttributeDescriptor attribute, PersistenceContext context)Deprecated, for removal: This API element is subject to removal in a future version.protected booleanItemModelCollectionAttributePopulator. isApplicable(TypeAttributeDescriptor attribute, PersistenceContext context)Deprecated, for removal: This API element is subject to removal in a future version.protected booleanReplaceItemModelCollectionAttributePopulator. isApplicable(TypeAttributeDescriptor attribute, PersistenceContext context)Deprecated, for removal: This API element is subject to removal in a future version.protected voidItemModelAttributePopulator. populateAttribute(ItemModel item, TypeAttributeDescriptor attribute, PersistenceContext context)Deprecated, for removal: This API element is subject to removal in a future version.protected voidReplaceItemModelCollectionAttributePopulator. populateAttribute(ItemModel item, TypeAttributeDescriptor attribute, PersistenceContext context)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of PersistenceContext in de.hybris.platform.odata2services.odata.persistence.validator
Methods in de.hybris.platform.odata2services.odata.persistence.validator with parameters of type PersistenceContext Modifier and Type Method Description voidNullableAttributePersistenceContextValidator. validate(PersistenceContext context)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of PersistenceContext in de.hybris.platform.odata2services.odata.processor.handler.persistence
Methods in de.hybris.platform.odata2services.odata.processor.handler.persistence with parameters of type PersistenceContext Modifier and Type Method Description protected org.apache.olingo.odata2.api.processor.ODataResponse.ODataResponseBuilderPatchPersistenceHandler. buildResponse(PersistenceParam param, PersistenceContext ctx, org.apache.olingo.odata2.api.ep.entry.ODataEntry persistedEntry)protected org.apache.olingo.odata2.api.processor.ODataResponse.ODataResponseBuilderPersistenceHandler. buildResponse(PersistenceParam param, PersistenceContext ctx, org.apache.olingo.odata2.api.ep.entry.ODataEntry persistedEntry)Creates anODataResponsefor the request
-