com.atlassian.confluence.core
Class DefaultSaveContext

java.lang.Object
  extended by com.atlassian.confluence.core.DefaultSaveContext
All Implemented Interfaces:
SaveContext

public class DefaultSaveContext
extends java.lang.Object
implements SaveContext


Constructor Summary
DefaultSaveContext()
           
 
Method Summary
 boolean doUpdateLastModifier()
          UpdateLastModifier indicates whether to update the LastModifier field when saving a page.
 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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSaveContext

public DefaultSaveContext()
Method Detail

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


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.