com.atlassian.confluence.core
Class DefaultSaveContext
java.lang.Object
com.atlassian.confluence.core.DefaultSaveContext
- All Implemented Interfaces:
- SaveContext
public class DefaultSaveContext
- extends java.lang.Object
- implements SaveContext
Method Summary |
boolean |
doUpdateLastModifier()
UpdateLastModifier indicates whether to update the LastModifier field when saving
a page. |
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
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 |
DefaultSaveContext
public DefaultSaveContext()
isMinorEdit
public boolean isMinorEdit()
- Description copied from interface:
SaveContext
- Minor edits indicate that notifications should not be sent out informing users
of changes made to the page.
- Specified by:
isMinorEdit
in interface SaveContext
- Returns:
- true if a 'minor edit' has been made.
setMinorEdit
public void setMinorEdit(boolean minorEdit)
- Description copied from interface:
SaveContext
- Minor edits indicate that notifications should not be sent out informing users
of changes made to the page.
- Specified by:
setMinorEdit
in interface SaveContext
doUpdateLastModifier
public boolean doUpdateLastModifier()
- Description copied from interface:
SaveContext
- UpdateLastModifier indicates whether to update the LastModifier field when saving
a page.
- Specified by:
doUpdateLastModifier
in interface SaveContext
- Returns:
- true if the LastModifier should be updated
setUpdateLastModifier
public void setUpdateLastModifier(boolean updateLastModifier)
- Specified by:
setUpdateLastModifier
in interface SaveContext
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2003-2011 Atlassian. All Rights Reserved.