public interface SaveContext
This type could easily evolve into an UpdateContext, CreateContext, etc., this version of the interface is a first step.
Modifier and Type | Method and Description |
---|---|
boolean |
doUpdateLastModifier()
UpdateLastModifier indicates whether to update the LastModifier field when saving
a page.
|
default String |
getSyncRev() |
PageUpdateTrigger |
getUpdateTrigger() |
boolean |
isEventSuppressed()
Control whether the save should result in an event being published.
|
boolean |
isMinorEdit()
Deprecated.
since 5.4. Use com.atlassian.confluence.core.SaveContext#isSuppressNotifications instead.
Minor edits indicate that notifications should not be sent out informing users
of changes made to the page.
|
boolean |
isSuppressNotifications()
Indicates that notifications should not be sent out informing users
of the changes to this content.
|
void |
setMinorEdit(boolean minorEdit)
Deprecated.
since 5.4. Use com.atlassian.confluence.core.SaveContext#setNotificationSuppressed instead.
Minor edits indicate that notifications should not be sent out informing users
of changes made to the page.
|
void |
setSuppressNotifications(boolean suppressNotifications)
Indicates that notifications should not be sent out informing users
of the changes to this content.
|
void |
setUpdateLastModifier(boolean updateLastModifier) |
@Deprecated boolean isMinorEdit()
@Deprecated void setMinorEdit(boolean minorEdit)
boolean doUpdateLastModifier()
void setUpdateLastModifier(boolean updateLastModifier)
boolean isEventSuppressed()
boolean isSuppressNotifications()
void setSuppressNotifications(boolean suppressNotifications)
@Nonnull PageUpdateTrigger getUpdateTrigger()
default String getSyncRev()
Copyright © 2003–2016 Atlassian. All rights reserved.