public final class SystemMessageManager extends AbstractPhotonSimpleDAO
| Constructor and Description |
|---|
SystemMessageManager(String sFilename) |
| Modifier and Type | Method and Description |
|---|---|
protected com.helger.xml.microdom.IMicroDocument |
createWriteData() |
LocalDateTime |
getLastUpdateDT() |
ESystemMessageType |
getMessageType() |
String |
getSystemMessage() |
boolean |
hasSystemMessage() |
boolean |
isReloadable() |
protected com.helger.commons.state.EChange |
onRead(com.helger.xml.microdom.IMicroDocument aDoc) |
void |
reload() |
com.helger.commons.state.EChange |
setSystemMessage(ESystemMessageType eMessageType,
String sMessage) |
String |
toString() |
beforeWriteToFile, getFilenameProvider, getInitCount, getIO, getLastFilename, getLastInitDateTime, getLastReadDateTime, getLastWriteDateTime, getReadCount, getSafeFile, getWriteCount, getXMLWriterSettings, initialRead, markAsChanged, modifyWriteData, onFilenameChange, onInit, triggerExceptionHandlersRead, triggerExceptionHandlersWrite, writeToFileOnPendingChangesbeginWithoutAutoSave, endWithoutAutoSave, exceptionHandlersRead, exceptionHandlersWrite, hasPendingChanges, internalHasPendingChanges, internalIsAutoSaveEnabled, internalSetPendingChanges, isAutoSaveEnabled, isDebugLoggingpublic boolean isReloadable()
public void reload()
protected com.helger.commons.state.EChange onRead(@Nonnull com.helger.xml.microdom.IMicroDocument aDoc)
onRead in class com.helger.dao.simple.AbstractSimpleDAOprotected com.helger.xml.microdom.IMicroDocument createWriteData()
createWriteData in class com.helger.dao.simple.AbstractSimpleDAO@Nullable public LocalDateTime getLastUpdateDT()
null.@Nonnull public ESystemMessageType getMessageType()
null.@Nullable public String getSystemMessage()
null.public boolean hasSystemMessage()
true if a system message text is available,
false if not.@Nonnull public com.helger.commons.state.EChange setSystemMessage(@Nonnull ESystemMessageType eMessageType, @Nullable String sMessage)
public String toString()
toString in class com.helger.dao.simple.AbstractSimpleDAOCopyright © 2014–2018 Philip Helger. All rights reserved.