|
||||||||||
| 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 |
MINOR_EDIT
|
| Constructor Summary | |
|---|---|
DefaultSaveContext()
Create a new SaveContext with all fields false; |
|
DefaultSaveContext(boolean minorEdit,
boolean updateLastModifier,
boolean suppressEvents)
|
|
| Method Summary | |
|---|---|
boolean |
doUpdateLastModifier()
UpdateLastModifier indicates whether to update the LastModifier field when saving a page. |
boolean |
equals(Object o)
|
int |
hashCode()
|
boolean |
isEventSuppressed()
Control whether the save should result in an event being published. |
boolean |
isMinorEdit()
Minor edits indicate that notifications should not be sent out informing users of changes made to the page. |
void |
setMinorEdit(boolean minorEdit)
Minor edits indicate that notifications should not be sent out informing users of changes made to the page. |
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
| Constructor Detail |
|---|
public DefaultSaveContext(boolean minorEdit,
boolean updateLastModifier,
boolean suppressEvents)
public DefaultSaveContext()
| Method Detail |
|---|
public boolean isMinorEdit()
SaveContext
isMinorEdit in interface SaveContextpublic void setMinorEdit(boolean minorEdit)
SaveContext
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(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||