public interface IAutoSaveAware
| Modifier and Type | Method and Description |
|---|---|
void |
beginWithoutAutoSave()
Start doing something without auto save.
|
void |
endWithoutAutoSave()
End doing something without auto save.
|
boolean |
isAutoSaveEnabled() |
<RETURNTYPE> |
performWithoutAutoSave(com.helger.commons.callback.INonThrowingCallable<RETURNTYPE> aCallable)
This method is used for batch processing of instructions (like the initial
read).
|
void |
performWithoutAutoSave(com.helger.commons.callback.INonThrowingRunnable aRunnable)
This method is used for batch processing of instructions (like the initial
read).
|
boolean isAutoSaveEnabled()
true if auto save is enabled, false
otherwise.void beginWithoutAutoSave()
void endWithoutAutoSave()
beginWithoutAutoSave() is always correctly ended with a call to
this method.void performWithoutAutoSave(@Nonnull com.helger.commons.callback.INonThrowingRunnable aRunnable)
aRunnable - The runnable to be executed. May not be null.@Nullable <RETURNTYPE> RETURNTYPE performWithoutAutoSave(@Nonnull com.helger.commons.callback.INonThrowingCallable<RETURNTYPE> aCallable)
aCallable - The runnable to be executed. May not be null.Copyright © 2014–2015 Philip Helger. All rights reserved.