Uses of Interface
com.atlassian.confluence.core.SaveContext
-
Packages that use SaveContext Package Description com.atlassian.confluence.content com.atlassian.confluence.content.event com.atlassian.confluence.content.service.experimental com.atlassian.confluence.core com.atlassian.confluence.event.events.internal.attachment com.atlassian.confluence.impl.content com.atlassian.confluence.impl.notifications com.atlassian.confluence.impl.pages.attachments com.atlassian.confluence.internal Internal interfaces that are NOT exposed to the plugin classpath, by being excluded in the packageScanningConfiguration of bootstrapContext.xml.com.atlassian.confluence.internal.content.collab com.atlassian.confluence.internal.pages com.atlassian.confluence.pages -
-
Uses of SaveContext in com.atlassian.confluence.content
Methods in com.atlassian.confluence.content with parameters of type SaveContext Modifier and Type Method Description void
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 SaveContext Modifier and Type Method Description SaveContext
PluginContentUpdatedEvent. getSaveContext()
Constructors in com.atlassian.confluence.content.event with parameters of type SaveContext Constructor Description PluginContentUpdatedEvent(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 SaveContext Modifier and Type Method Description SaveContext
PreparedAbstractPage. getSaveContext()
Methods in com.atlassian.confluence.content.service.experimental with parameters of type SaveContext Modifier and Type Method Description PreparedAbstractPage
DefaultPageUpdateService. prepare(long id, Modification<AbstractPage> modification, @Nullable SaveContext saveContext)
PreparedAbstractPage
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 SaveContext Modifier and Type Class Description class
DefaultSaveContext
Fields in com.atlassian.confluence.core declared as SaveContext Modifier and Type Field Description static SaveContext
DefaultSaveContext. BULK_OPERATION
static SaveContext
DefaultSaveContext. DEFAULT
static SaveContext
DefaultSaveContext. DRAFT
static SaveContext
DefaultSaveContext. DRAFT_REFACTORING
static SaveContext
DefaultSaveContext. MINOR_EDIT
static SaveContext
DefaultSaveContext. RAW_DRAFT
static SaveContext
DefaultSaveContext. REFACTORING
static SaveContext
DefaultSaveContext. REVERT
static SaveContext
DefaultSaveContext. SUPPRESS_NOTIFICATIONS
Methods in com.atlassian.confluence.core with parameters of type SaveContext Modifier and Type Method Description void
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.event.events.internal.attachment
Methods in com.atlassian.confluence.event.events.internal.attachment that return SaveContext Modifier and Type Method Description SaveContext
AttachmentCreatedAuditingEvent. getSaveContext()
Constructors in com.atlassian.confluence.event.events.internal.attachment with parameters of type SaveContext Constructor Description AttachmentCreatedAuditingEvent(Attachment attachment, SaveContext saveContext)
-
Uses of SaveContext in com.atlassian.confluence.impl.content
Methods in com.atlassian.confluence.impl.content with parameters of type SaveContext Modifier and Type Method Description <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 SaveContext Modifier and Type Method Description SaveContext
ContentEntityAutoWatcher.AutowatchIfRequiredEvent. getSaveContext()
Methods in com.atlassian.confluence.impl.notifications with parameters of type SaveContext Modifier and Type Method Description void
ContentEntityAutoWatcher. autowatchIfRequired(ContentEntityObject ceo, SaveContext saveContext)
Constructors in com.atlassian.confluence.impl.notifications with parameters of type SaveContext Constructor Description AutowatchIfRequiredEvent(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 SaveContext Modifier and Type Method Description void
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
Methods in com.atlassian.confluence.internal with parameters of type SaveContext Modifier and Type Method Description <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.internal.content.collab
Methods in com.atlassian.confluence.internal.content.collab with parameters of type SaveContext Modifier and Type Method Description void
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.internal.pages
Methods in com.atlassian.confluence.internal.pages with parameters of type SaveContext Modifier and Type Method Description void
PageManagerInternal. reconcileIfNeeded(AbstractPage content, @Nullable SaveContext saveContext)
Deprecated.since 7.14.0 UseContentReconciliationManager.reconcileIfNeeded(ContentEntityObject, SaveContext)
instead. -
Uses of SaveContext in com.atlassian.confluence.pages
Methods in com.atlassian.confluence.pages with parameters of type SaveContext Modifier and Type Method Description void
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
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
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)
protected void
DefaultAttachmentManager. saveNewAttachment(Attachment attachment, InputStream attachmentData, SaveContext saveContext)
protected void
DefaultAttachmentManager. saveNewAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream attachmentData, SaveContext saveContext)
-