|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.core.DefaultSaveContext
public class DefaultSaveContext
| Field Summary | |
|---|---|
static SaveContext |
DEFAULT
|
static SaveContext |
MINOR_EDIT
|
static SaveContext |
REFACTORING
|
static SaveContext |
SUPPRESS_NOTIFICATIONS
|
| Constructor Summary | |
|---|---|
DefaultSaveContext()
Deprecated. Use the explicit constructor, or one of the final, pre-constructed contexts. |
|
DefaultSaveContext(boolean suppressNotifications,
boolean updateLastModifier,
boolean suppressEvents)
|
|
DefaultSaveContext(boolean suppressNotifications,
boolean updateLastModifier,
boolean suppressEvents,
PageUpdateTrigger updateTrigger)
|
|
| Method Summary | |
|---|---|
boolean |
doUpdateLastModifier()
UpdateLastModifier indicates whether to update the LastModifier field when saving a page. |
boolean |
equals(java.lang.Object o)
|
PageUpdateTrigger |
getUpdateTrigger()
|
int |
hashCode()
|
boolean |
isEventSuppressed()
Control whether the save should result in an event being published. |
boolean |
isMinorEdit()
Deprecated. |
boolean |
isSuppressNotifications()
Indicates that notifications should not be sent out informing users of the changes to this content. |
void |
setMinorEdit(boolean minorEdit)
Deprecated. |
void |
setSuppressNotifications(boolean suppressNotifications)
Indicates that notifications should not be sent out informing users of the changes to this content. |
void |
setUpdateLastModifier(boolean updateLastModifier)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final SaveContext MINOR_EDIT
public static final SaveContext SUPPRESS_NOTIFICATIONS
public static final SaveContext REFACTORING
public static final SaveContext DEFAULT
| Constructor Detail |
|---|
public DefaultSaveContext(boolean suppressNotifications,
boolean updateLastModifier,
boolean suppressEvents)
public DefaultSaveContext(boolean suppressNotifications,
boolean updateLastModifier,
boolean suppressEvents,
PageUpdateTrigger updateTrigger)
public DefaultSaveContext()
| Method Detail |
|---|
public boolean isSuppressNotifications()
SaveContext
isSuppressNotifications in interface SaveContextpublic void setSuppressNotifications(boolean suppressNotifications)
SaveContext
setSuppressNotifications in interface SaveContextpublic PageUpdateTrigger getUpdateTrigger()
getUpdateTrigger in interface SaveContext@Deprecated public boolean isMinorEdit()
isMinorEdit in interface SaveContext@Deprecated public void setMinorEdit(boolean minorEdit)
setMinorEdit in interface SaveContextpublic boolean doUpdateLastModifier()
SaveContext
doUpdateLastModifier in interface SaveContextpublic void setUpdateLastModifier(boolean updateLastModifier)
setUpdateLastModifier in interface SaveContextpublic boolean isEventSuppressed()
SaveContext
isEventSuppressed in interface SaveContextpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||