public final class WebSiteResourceBundleManager extends AbstractPhotonSimpleDAO implements IWebSiteResourceBundleProvider
| Constructor and Description |
|---|
WebSiteResourceBundleManager(String sFilename) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsResourceBundleOfID(String sBundleID)
Check if the passed resource bundle ID is contained.
|
protected com.helger.xml.microdom.IMicroDocument |
createWriteData() |
com.helger.commons.collection.impl.ICommonsMap<String,WebSiteResourceBundleSerialized> |
getAllResourceBundles() |
com.helger.commons.collection.impl.ICommonsList<WebSiteResourceBundleSerialized> |
getAllResourceBundlesSerialized() |
WebSiteResourceBundleSerialized |
getResourceBundleOfID(String sBundleID)
Get the serialized resource bundle with the passed ID.
|
com.helger.commons.collection.impl.ICommonsList<WebSiteResourceBundleSerialized> |
getResourceBundles(com.helger.commons.collection.impl.ICommonsList<WebSiteResourceWithCondition> aList,
boolean bRegular) |
protected com.helger.commons.state.EChange |
onRead(com.helger.xml.microdom.IMicroDocument aDoc) |
beforeWriteToFile, getFilenameProvider, getInitCount, getIO, getLastFilename, getLastInitDateTime, getLastReadDateTime, getLastWriteDateTime, getReadCount, getSafeFile, getWriteCount, getXMLWriterSettings, initialRead, markAsChanged, modifyWriteData, onFilenameChange, onInit, toString, triggerExceptionHandlersRead, triggerExceptionHandlersWrite, writeToFileOnPendingChangesbeginWithoutAutoSave, checkFileAccess, endWithoutAutoSave, exceptionHandlersRead, exceptionHandlersWrite, hasPendingChanges, internalHasPendingChanges, internalIsAutoSaveEnabled, internalSetPendingChanges, isAutoSaveEnabled, isSilentMode, setSilentMode@Nonnull protected com.helger.commons.state.EChange onRead(@Nonnull com.helger.xml.microdom.IMicroDocument aDoc)
onRead in class com.helger.dao.simple.AbstractSimpleDAO@Nonnull protected com.helger.xml.microdom.IMicroDocument createWriteData()
createWriteData in class com.helger.dao.simple.AbstractSimpleDAO@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsMap<String,WebSiteResourceBundleSerialized> getAllResourceBundles()
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<WebSiteResourceBundleSerialized> getAllResourceBundlesSerialized()
@Nullable public WebSiteResourceBundleSerialized getResourceBundleOfID(@Nullable String sBundleID)
sBundleID - The bundle ID to be resolved. May be null.null if no such bundle exists.public boolean containsResourceBundleOfID(@Nullable String sBundleID)
sBundleID - The bundle ID to be checked. May be null.true if the passed bundle exists, false
otherwise.@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<WebSiteResourceBundleSerialized> getResourceBundles(@Nonnull @Nonempty com.helger.commons.collection.impl.ICommonsList<WebSiteResourceWithCondition> aList, boolean bRegular)
getResourceBundles in interface IWebSiteResourceBundleProviderCopyright © 2014–2023 Philip Helger. All rights reserved.