Uses of Interface
com.atlassian.confluence.core.SaveContext
Packages that use SaveContext
Package
Description
Subpackages of this package are exposed to the plugin whose key starting with com.atlassian or in the internal-bundles section of public-api,yaml
- 
Uses of SaveContext in com.atlassian.confluence.contentMethods in com.atlassian.confluence.content with parameters of type SaveContextModifier and TypeMethodDescriptionvoidCustomContentManager.saveContentEntity(ContentEntityObject obj, @Nullable ContentEntityObject origObj, @Nullable SaveContext saveContext) 
- 
Uses of SaveContext in com.atlassian.confluence.content.eventMethods in com.atlassian.confluence.content.event that return SaveContextConstructors in com.atlassian.confluence.content.event with parameters of type SaveContextModifierConstructorDescriptionPluginContentUpdatedEvent(Object src, CustomContentEntityObject currentContent, CustomContentEntityObject oldContent, SaveContext saveContext) 
- 
Uses of SaveContext in com.atlassian.confluence.content.service.experimentalMethods in com.atlassian.confluence.content.service.experimental that return SaveContextMethods in com.atlassian.confluence.content.service.experimental with parameters of type SaveContextModifier and TypeMethodDescriptionDefaultPageUpdateService.prepare(long id, Modification<AbstractPage> modification, @Nullable SaveContext saveContext) PageUpdateService.prepare(long id, Modification<AbstractPage> modification, @Nullable SaveContext saveContext) Prepare content (page or blogpost) for update.
- 
Uses of SaveContext in com.atlassian.confluence.coreClasses in com.atlassian.confluence.core that implement SaveContextFields in com.atlassian.confluence.core declared as SaveContextModifier and TypeFieldDescriptionstatic final SaveContextDefaultSaveContext.BULK_OPERATIONstatic final SaveContextDefaultSaveContext.DEFAULTstatic final SaveContextDefaultSaveContext.DRAFTstatic final SaveContextDefaultSaveContext.DRAFT_REFACTORINGstatic final SaveContextDefaultSaveContext.MINOR_EDITstatic final SaveContextDefaultSaveContext.RAW_DRAFTstatic final SaveContextDefaultSaveContext.REFACTORINGstatic final SaveContextDefaultSaveContext.REVERTstatic final SaveContextDefaultSaveContext.SUPPRESS_NOTIFICATIONSMethods in com.atlassian.confluence.core with parameters of type SaveContextModifier and TypeMethodDescriptionvoidContentEntityManager.saveContentEntity(ContentEntityObject obj, @Nullable ContentEntityObject origObj, @Nullable SaveContext saveContext) In order to create a history for this object, we need to pass in the modified as well as the original version of the object.voidContentEntityManager.saveContentEntity(ContentEntityObject obj, @Nullable SaveContext saveContext) <T extends ContentEntityObject>
 voidContentEntityManager.saveNewVersion(T current, Modification<T> modification, @Nullable SaveContext saveContext) Applies the state changes supplied by modification and persists those changes to a new version.
- 
Uses of SaveContext in com.atlassian.confluence.dmzMethods in com.atlassian.confluence.dmz with parameters of type SaveContextModifier and TypeMethodDescription<T extends ContentEntityObject>
 TContentDraftManagerInternal.createDraft(T obj, SaveContext saveContext) This method sets the common properties of theContentEntityObjectto be saved as a draft
- 
Uses of SaveContext in com.atlassian.confluence.dmz.pagesMethods in com.atlassian.confluence.dmz.pages with parameters of type SaveContextModifier and TypeMethodDescriptionvoidPageManagerInternal.reconcileIfNeeded(AbstractPage content, @Nullable SaveContext saveContext) Deprecated.
- 
Uses of SaveContext in com.atlassian.confluence.event.events.internal.attachmentMethods in com.atlassian.confluence.event.events.internal.attachment that return SaveContextConstructors in com.atlassian.confluence.event.events.internal.attachment with parameters of type SaveContextModifierConstructorDescriptionAttachmentCreatedAuditingEvent(Attachment attachment, SaveContext saveContext) 
- 
Uses of SaveContext in com.atlassian.confluence.impl.contentMethods in com.atlassian.confluence.impl.content with parameters of type SaveContextModifier and TypeMethodDescription<T extends ContentEntityObject>
 TDefaultContentEntityManager.createDraft(T draft, SaveContext saveContext) protected voidDefaultContentEntityManager.publishCreateEvent(ContentEntityObject obj, @Nullable SaveContext saveContext) protected voidDefaultContentEntityManager.publishUpdateEvent(ContentEntityObject obj, @Nullable ContentEntityObject origObj, @Nullable SaveContext saveContext) voidDefaultPageManager.reconcileIfNeeded(AbstractPage content, @Nullable SaveContext saveContext) voidDefaultContentEntityManager.saveContentEntity(ContentEntityObject obj, @Nullable ContentEntityObject origObj, @Nullable SaveContext saveContext) voidDefaultContentEntityManager.saveContentEntity(ContentEntityObject obj, @Nullable SaveContext saveContext) voidDefaultPageManager.saveContentEntity(ContentEntityObject obj, @Nullable ContentEntityObject origObj, @Nullable SaveContext saveContext) voidDefaultPageManager.saveContentEntity(ContentEntityObject obj, @Nullable SaveContext saveContext) <T extends ContentEntityObject>
 voidDefaultContentEntityManager.saveNewVersion(T current, Modification<T> modification, @Nullable SaveContext saveContext) <T extends ContentEntityObject>
 voidDefaultPageManager.saveNewVersion(T current, Modification<T> modification, @Nullable SaveContext saveContext) 
- 
Uses of SaveContext in com.atlassian.confluence.impl.notificationsMethods in com.atlassian.confluence.impl.notifications that return SaveContextModifier and TypeMethodDescriptionContentEntityAutoWatcher.AutowatchIfRequiredEvent.getSaveContext()Methods in com.atlassian.confluence.impl.notifications with parameters of type SaveContextModifier and TypeMethodDescriptionvoidContentEntityAutoWatcher.autowatchIfRequired(ContentEntityObject ceo, SaveContext saveContext) Constructors in com.atlassian.confluence.impl.notifications with parameters of type SaveContextModifierConstructorDescriptionAutowatchIfRequiredEvent(ContentEntityObject ceo, SaveContext saveContext) 
- 
Uses of SaveContext in com.atlassian.confluence.impl.pages.attachmentsMethods in com.atlassian.confluence.impl.pages.attachments with parameters of type SaveContextModifier and TypeMethodDescriptionvoidReadThroughCachingAttachmentManager.copyAttachments(ContentEntityObject sourceContent, ContentEntityObject destinationContent, SaveContext saveContext) voidReadThroughCachingAttachmentManager.saveAttachment(Attachment attachment, @Nullable Attachment previousVersion, InputStream attachmentData, SaveContext saveContext) voidReadThroughCachingAttachmentManager.saveAttachments(List<SavableAttachment> savableAttachments, SaveContext saveContext) 
- 
Uses of SaveContext in com.atlassian.confluence.internal.content.collabMethods in com.atlassian.confluence.internal.content.collab with parameters of type SaveContextModifier and TypeMethodDescriptionvoidContentReconciliationManager.handleContentUpdateAfterSave(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext, @NonNull Optional<Date> lastUpdateDate) This part of the content update must run after the content has an ID.voidDefaultContentReconciliationManager.handleContentUpdateAfterSave(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext, @NonNull Optional<Date> lastUpdateDate) voidContentReconciliationManager.handleContentUpdateBeforeSave(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) Prepares Synchrony flags for reconciliationIfNeeded.voidDefaultContentReconciliationManager.handleContentUpdateBeforeSave(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) voidContentReconciliationManager.handleEditorOnlyContentUpdateAfterSave(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext, @NonNull Optional<Date> lastUpdateDate) Used for Editor only changes where-in storage doesn't change.voidDefaultContentReconciliationManager.handleEditorOnlyContentUpdateAfterSave(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext, @NonNull Optional<Date> lastUpdateDate) voidContentReconciliationManager.handleEditorOnlyContentUpdateBeforeSave(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) Used for Editor only changes where-in storage doesn't change.voidDefaultContentReconciliationManager.handleEditorOnlyContentUpdateBeforeSave(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) voidContentReconciliationManager.reconcileIfNeeded(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) This method triggersSynchronyRecoveryEventif collab editing is turned on and data recovery is needed.voidDefaultContentReconciliationManager.reconcileIfNeeded(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) 
- 
Uses of SaveContext in com.atlassian.confluence.pagesMethods in com.atlassian.confluence.pages with parameters of type SaveContextModifier and TypeMethodDescriptionvoidAttachmentManager.copyAttachments(ContentEntityObject sourceContent, ContentEntityObject destinationContent, SaveContext saveContext) Copy the latest version of all the attachments on the sourceContent to the destinationContent.voidDefaultAttachmentManager.copyAttachments(ContentEntityObject sourceContent, ContentEntityObject destinationContent, SaveContext saveContext) voidAttachmentManager.saveAttachment(Attachment attachment, @Nullable Attachment previousVersion, InputStream attachmentData, SaveContext saveContext) Saves an Attachment and its data, taking aSaveContextto allow more useful event handling.voidDefaultAttachmentManager.saveAttachment(Attachment attachment, Attachment previousVersion, InputStream attachmentData, SaveContext saveContext) voidAttachmentManager.saveAttachments(List<SavableAttachment> savableAttachments, SaveContext saveContext) Saves multiple attachment and their datavoidDefaultAttachmentManager.saveAttachments(List<SavableAttachment> savableAttachments, SaveContext saveContext) protected final voidDefaultAttachmentManager.saveNewAttachment(Attachment attachment, InputStream attachmentData, SaveContext saveContext) protected final voidDefaultAttachmentManager.saveNewAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream attachmentData, SaveContext saveContext) 
ContentReconciliationManager.reconcileIfNeeded(ContentEntityObject, SaveContext)instead.