Uses of Class
de.hybris.platform.cms2.exceptions.ItemRollbackException
Packages that use ItemRollbackException
Package
Description
-
Uses of ItemRollbackException in de.hybris.platform.cms2.version.converter.impl
Methods in de.hybris.platform.cms2.version.converter.impl that throw ItemRollbackExceptionModifier and TypeMethodDescriptionprotected ItemModelDefaultCMSVersionToItemModelRollbackConverter.rollbackItemModel(CMSVersionModel version, AuditPayload auditPayload, Map<String, Object> mappedAttributes) This method rollbacks anItemModelbased on the given information.voidDefaultCMSVersionToItemModelRollbackConverterTest.setup()voidDefaultCMSVersionToItemModelRollbackConverterTest.willCatchItemRollbackExceptionAndReturnNull() -
Uses of ItemRollbackException in de.hybris.platform.cms2.version.converter.rollback
Methods in de.hybris.platform.cms2.version.converter.rollback that throw ItemRollbackExceptionModifier and TypeMethodDescriptionItemRollbackConverter.rollbackItem(ItemModel itemModel, CMSVersionModel versionModel, AuditPayload auditPayload) Rollbacks the itemModel to a desired version based on the information specified in the audit payload. -
Uses of ItemRollbackException in de.hybris.platform.cms2.version.converter.rollback.impl
Methods in de.hybris.platform.cms2.version.converter.rollback.impl that throw ItemRollbackExceptionModifier and TypeMethodDescriptionvoidComponentRollbackConverterTest.givenComponentCannotBeVersioned_WhenRollbackItemIsCalled_ThenItThrowsAnItemRollbackException()voidComponentRollbackConverterTest.givenComponentNotVersionedWithPage_WhenRollbackItemIsCalled_ThenItReturnsTheOriginalComponent()voidComponentRollbackConverterTest.givenNonSharedComponent_WhenRollbackItemIsCalled_ThenItAddsTheCloneAndRemovesTheSharedSlotsFromThePayload()voidComponentRollbackConverterTest.givenNonSharedComponent_WhenRollbackItemIsCalled_ThenItRollbacksTheComponentOnlyForTheCurrentPage()voidComponentRollbackConverterTest.givenNonSharedComponent_WhenRollbackItemIsCalled_ThenItUpdatesThePayloadToRemoveAnyExternalSlot()voidComponentRollbackConverterTest.givenSharedComponent_WhenRollbackItemIsCalled_ThenItReplacesTheComponentWithACloneInTheCurrentPage()protected AbstractCMSComponentModelComponentRollbackConverter.replaceComponentWithCloneInPage(AbstractCMSComponentModel originalComponent, AbstractPageModel page, AuditPayload componentPayload) This method creates a clone of the given component and uses it to replace all the references of the original component in the version of the page provided, as indicated by the payload.ComponentRollbackConverter.rollbackItem(ItemModel itemModel, CMSVersionModel version, AuditPayload auditPayload)