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.content
Methods in com.atlassian.confluence.content with parameters of type SaveContextModifier and TypeMethodDescriptionvoid
CustomContentManager.saveContentEntity
(ContentEntityObject obj, @Nullable ContentEntityObject origObj, @Nullable SaveContext saveContext) -
Uses of SaveContext in com.atlassian.confluence.content.event
Methods 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.experimental
Methods 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.core
Classes in com.atlassian.confluence.core that implement SaveContextFields in com.atlassian.confluence.core declared as SaveContextModifier and TypeFieldDescriptionstatic final SaveContext
DefaultSaveContext.BULK_OPERATION
static final SaveContext
DefaultSaveContext.DEFAULT
static final SaveContext
DefaultSaveContext.DRAFT
static final SaveContext
DefaultSaveContext.DRAFT_REFACTORING
static final SaveContext
DefaultSaveContext.MINOR_EDIT
static final SaveContext
DefaultSaveContext.RAW_DRAFT
static final SaveContext
DefaultSaveContext.REFACTORING
static final SaveContext
DefaultSaveContext.REVERT
static final SaveContext
DefaultSaveContext.SUPPRESS_NOTIFICATIONS
Methods in com.atlassian.confluence.core with parameters of type SaveContextModifier and TypeMethodDescriptionvoid
ContentEntityManager.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.void
ContentEntityManager.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.dmz
Methods 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 theContentEntityObject
to be saved as a draft -
Uses of SaveContext in com.atlassian.confluence.dmz.pages
Methods in com.atlassian.confluence.dmz.pages with parameters of type SaveContextModifier and TypeMethodDescriptionvoid
PageManagerInternal.reconcileIfNeeded
(AbstractPage content, @Nullable SaveContext saveContext) Deprecated. -
Uses of SaveContext in com.atlassian.confluence.event.events.internal.attachment
Methods 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.content
Methods in com.atlassian.confluence.impl.content with parameters of type SaveContextModifier and TypeMethodDescription<T extends ContentEntityObject>
TDefaultContentEntityManager.createDraft
(T draft, SaveContext saveContext) protected void
DefaultContentEntityManager.publishCreateEvent
(ContentEntityObject obj, @Nullable SaveContext saveContext) protected void
DefaultContentEntityManager.publishUpdateEvent
(ContentEntityObject obj, @Nullable ContentEntityObject origObj, @Nullable SaveContext saveContext) void
DefaultPageManager.reconcileIfNeeded
(AbstractPage content, @Nullable SaveContext saveContext) void
DefaultContentEntityManager.saveContentEntity
(ContentEntityObject obj, @Nullable ContentEntityObject origObj, @Nullable SaveContext saveContext) void
DefaultContentEntityManager.saveContentEntity
(ContentEntityObject obj, @Nullable SaveContext saveContext) void
DefaultPageManager.saveContentEntity
(ContentEntityObject obj, @Nullable ContentEntityObject origObj, @Nullable SaveContext saveContext) void
DefaultPageManager.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.notifications
Methods 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 TypeMethodDescriptionvoid
ContentEntityAutoWatcher.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.attachments
Methods in com.atlassian.confluence.impl.pages.attachments with parameters of type SaveContextModifier and TypeMethodDescriptionvoid
ReadThroughCachingAttachmentManager.copyAttachments
(ContentEntityObject sourceContent, ContentEntityObject destinationContent, SaveContext saveContext) void
ReadThroughCachingAttachmentManager.saveAttachment
(Attachment attachment, @Nullable Attachment previousVersion, InputStream attachmentData, SaveContext saveContext) void
ReadThroughCachingAttachmentManager.saveAttachments
(List<SavableAttachment> savableAttachments, SaveContext saveContext) -
Uses of SaveContext in com.atlassian.confluence.internal.content.collab
Methods in com.atlassian.confluence.internal.content.collab with parameters of type SaveContextModifier and TypeMethodDescriptionvoid
ContentReconciliationManager.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.void
DefaultContentReconciliationManager.handleContentUpdateAfterSave
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext, @NonNull Optional<Date> lastUpdateDate) void
ContentReconciliationManager.handleContentUpdateBeforeSave
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) Prepares Synchrony flags for reconciliationIfNeeded.void
DefaultContentReconciliationManager.handleContentUpdateBeforeSave
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) void
ContentReconciliationManager.handleEditorOnlyContentUpdateAfterSave
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext, @NonNull Optional<Date> lastUpdateDate) Used for Editor only changes where-in storage doesn't change.void
DefaultContentReconciliationManager.handleEditorOnlyContentUpdateAfterSave
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext, @NonNull Optional<Date> lastUpdateDate) void
ContentReconciliationManager.handleEditorOnlyContentUpdateBeforeSave
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) Used for Editor only changes where-in storage doesn't change.void
DefaultContentReconciliationManager.handleEditorOnlyContentUpdateBeforeSave
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) void
ContentReconciliationManager.reconcileIfNeeded
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) This method triggersSynchronyRecoveryEvent
if collab editing is turned on and data recovery is needed.void
DefaultContentReconciliationManager.reconcileIfNeeded
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) -
Uses of SaveContext in com.atlassian.confluence.pages
Methods in com.atlassian.confluence.pages with parameters of type SaveContextModifier and TypeMethodDescriptionvoid
AttachmentManager.copyAttachments
(ContentEntityObject sourceContent, ContentEntityObject destinationContent, SaveContext saveContext) Copy the latest version of all the attachments on the sourceContent to the destinationContent.void
DefaultAttachmentManager.copyAttachments
(ContentEntityObject sourceContent, ContentEntityObject destinationContent, SaveContext saveContext) void
DelegatorAttachmentManager.copyAttachments
(ContentEntityObject sourceContent, ContentEntityObject destinationContent, SaveContext saveContext) void
ReadOnlyAttachmentManager.copyAttachments
(ContentEntityObject sourceContent, ContentEntityObject destinationContent, SaveContext saveContext) Deprecated, for removal: This API element is subject to removal in a future version.void
AttachmentManager.saveAttachment
(Attachment attachment, @Nullable Attachment previousVersion, InputStream attachmentData, SaveContext saveContext) Saves an Attachment and its data, taking aSaveContext
to allow more useful event handling.void
DefaultAttachmentManager.saveAttachment
(Attachment attachment, Attachment previousVersion, InputStream attachmentData, SaveContext saveContext) void
DelegatorAttachmentManager.saveAttachment
(Attachment attachment, Attachment previousVersion, InputStream attachmentData, SaveContext saveContext) void
ReadOnlyAttachmentManager.saveAttachment
(Attachment attachment, @Nullable Attachment previousVersion, InputStream attachmentData, SaveContext saveContext) Deprecated, for removal: This API element is subject to removal in a future version.void
AttachmentManager.saveAttachments
(List<SavableAttachment> savableAttachments, SaveContext saveContext) Saves multiple attachment and their datavoid
DefaultAttachmentManager.saveAttachments
(List<SavableAttachment> savableAttachments, SaveContext saveContext) void
DelegatorAttachmentManager.saveAttachments
(List<SavableAttachment> savableAttachments, SaveContext saveContext) void
ReadOnlyAttachmentManager.saveAttachments
(List<SavableAttachment> savableAttachments, SaveContext saveContext) Deprecated, for removal: This API element is subject to removal in a future version.protected final void
DefaultAttachmentManager.saveNewAttachment
(Attachment attachment, InputStream attachmentData, SaveContext saveContext) protected final void
DefaultAttachmentManager.saveNewAttachmentVersion
(Attachment attachment, Attachment previousVersion, InputStream attachmentData, SaveContext saveContext)
ContentReconciliationManager.reconcileIfNeeded(ContentEntityObject, SaveContext)
instead.