A B C D E F G H I M O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractDAO - Class in com.helger.dao
-
Base implementation of
IDAO - AbstractDAO() - Constructor for class com.helger.dao.AbstractDAO
- AbstractDAOContainer - Class in com.helger.dao.container
-
Abstract base implementation of
IDAOContainer. - AbstractDAOContainer() - Constructor for class com.helger.dao.container.AbstractDAOContainer
- AbstractMapBasedWALDAO<INTERFACETYPE extends com.helger.commons.id.IHasID<String>,IMPLTYPE extends INTERFACETYPE> - Class in com.helger.dao.wal
-
Base class for WAL based DAO that uses a simple
ICommonsMapfor data storage. - AbstractMapBasedWALDAO(Class<IMPLTYPE>, IFileRelativeIO, String, AbstractMapBasedWALDAO.InitSettings<IMPLTYPE>) - Constructor for class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Default constructor.
- AbstractMapBasedWALDAO.InitSettings<IMPLTYPE> - Class in com.helger.dao.wal
-
Extensible constructor parameter builder.
- AbstractSimpleDAO - Class in com.helger.dao.simple
-
Base class for a simple DAO.
- AbstractSimpleDAO(IFileRelativeIO, Supplier<String>) - Constructor for class com.helger.dao.simple.AbstractSimpleDAO
- AbstractWALDAO<DATATYPE> - Class in com.helger.dao.wal
-
Base class for a simple DAO using write ahead logging (WAL).
- AbstractWALDAO(Class<DATATYPE>, IFileRelativeIO, Supplier<String>) - Constructor for class com.helger.dao.wal.AbstractWALDAO
B
- beforeWriteToFile(String, File) - Method in class com.helger.dao.simple.AbstractSimpleDAO
-
Optional callback method that is invoked before the file handle gets opened.
- beginWithoutAutoSave() - Method in class com.helger.dao.AbstractDAO
- beginWithoutAutoSave() - Method in class com.helger.dao.container.AbstractDAOContainer
- beginWithoutAutoSave() - Method in interface com.helger.dao.IAutoSaveAware
-
Start doing something without auto save.
C
- callbacks() - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- checkFileAccess(File, IDAO.EMode) - Static method in class com.helger.dao.AbstractDAO
-
Check the access to the passed file using the specified mode.
- com.helger.dao - package com.helger.dao
- com.helger.dao.container - package com.helger.dao.container
- com.helger.dao.simple - package com.helger.dao.simple
- com.helger.dao.wal - package com.helger.dao.wal
- CONDLOG - Static variable in class com.helger.dao.AbstractDAO
- containsAllIDs(Iterable<String>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- containsAllIDs(Iterable<String>) - Method in interface com.helger.dao.wal.IMapBasedDAO
-
Check if all IDs are contained
- containsAny(Predicate<? super IDAO>) - Method in class com.helger.dao.container.DefaultDAOContainer
- containsAny(Predicate<? super IDAO>) - Method in interface com.helger.dao.container.IDAOContainer
- containsAny(Predicate<? super INTERFACETYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- containsAny(Predicate<? super INTERFACETYPE>) - Method in interface com.helger.dao.wal.IMapBasedDAO
- containsNone(Predicate<? super INTERFACETYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- containsNone(Predicate<? super INTERFACETYPE>) - Method in interface com.helger.dao.wal.IMapBasedDAO
- containsOnly(Predicate<? super INTERFACETYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- containsOnly(Predicate<? super INTERFACETYPE>) - Method in interface com.helger.dao.wal.IMapBasedDAO
- containsWithID(String) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- containsWithID(String) - Method in interface com.helger.dao.wal.IMapBasedDAO
- convertNativeToWALString(DATATYPE) - Method in class com.helger.dao.wal.AbstractWALDAO
- convertWALStringToNative(String) - Method in class com.helger.dao.wal.AbstractWALDAO
-
This method is used upon recovery to convert a stored object to its native representation.
- CREATE - com.helger.dao.EDAOActionType
- createWriteData() - Method in class com.helger.dao.simple.AbstractSimpleDAO
-
Create the XML document that should be saved to the file.
- createWriteData() - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- createWriteData() - Method in class com.helger.dao.wal.AbstractWALDAO
-
Create the XML document that should be saved to the file.
D
- DAOException - Exception in com.helger.dao
-
Special exception class for DAO read/write errors.
- DAOException(String) - Constructor for exception com.helger.dao.DAOException
- DAOException(String, Throwable) - Constructor for exception com.helger.dao.DAOException
- DEFAULT_AUTO_SAVE_ENABLED - Static variable in class com.helger.dao.AbstractDAO
-
By default auto-save is enabled
- DEFAULT_WAITING_TIME - Static variable in class com.helger.dao.wal.AbstractWALDAO
- DefaultDAOContainer - Class in com.helger.dao.container
-
The default implementation of
IDAOContainerusing a list of DAOs provider in the constructor. - DefaultDAOContainer(IDAO...) - Constructor for class com.helger.dao.container.DefaultDAOContainer
- DefaultDAOContainer(Iterable<? extends IDAO>) - Constructor for class com.helger.dao.container.DefaultDAOContainer
- DELETE - com.helger.dao.EDAOActionType
E
- EDAOActionType - Enum in com.helger.dao
-
Enumeration with the different actions that can occur in a DAO.
- ELEMENT_ITEM - Static variable in class com.helger.dao.wal.AbstractMapBasedWALDAO
- ELEMENT_ROOT - Static variable in class com.helger.dao.wal.AbstractMapBasedWALDAO
- endWithoutAutoSave() - Method in class com.helger.dao.AbstractDAO
- endWithoutAutoSave() - Method in class com.helger.dao.container.AbstractDAOContainer
- endWithoutAutoSave() - Method in interface com.helger.dao.IAutoSaveAware
-
End doing something without auto save.
- exceptionHandlersRead() - Static method in class com.helger.dao.AbstractDAO
- exceptionHandlersWrite() - Static method in class com.helger.dao.AbstractDAO
F
- FILENAME_EXTENSION_NEW - Static variable in class com.helger.dao.AbstractDAO
-
The default extension for a file that is newly created.
- FILENAME_EXTENSION_PREV - Static variable in class com.helger.dao.AbstractDAO
-
The default extension for an old file that was not yet deleted.
- findAll(Predicate<? super INTERFACETYPE>, Consumer<? super INTERFACETYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- findAll(Predicate<? super INTERFACETYPE>, Consumer<? super INTERFACETYPE>) - Method in interface com.helger.dao.wal.IMapBasedDAO
-
Find all items matching the filter and invoke the consumer on all matching entries.
- findAllMapped(Predicate<? super INTERFACETYPE>, Function<? super INTERFACETYPE, ? extends RETTYPE>, Consumer<? super RETTYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- findAllMapped(Predicate<? super INTERFACETYPE>, Function<? super INTERFACETYPE, ? extends RETTYPE>, Consumer<? super RETTYPE>) - Method in interface com.helger.dao.wal.IMapBasedDAO
-
Find all contained items that match the filter, map them to a different type and invoke the consumer on all mapped items.
- findFirst(Predicate<? super INTERFACETYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- findFirst(Predicate<? super INTERFACETYPE>) - Method in interface com.helger.dao.wal.IMapBasedDAO
-
Find the the first element that matches the filter.
- findFirstMapped(Predicate<? super INTERFACETYPE>, Function<? super INTERFACETYPE, ? extends RETTYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- findFirstMapped(Predicate<? super INTERFACETYPE>, Function<? super INTERFACETYPE, ? extends RETTYPE>) - Method in interface com.helger.dao.wal.IMapBasedDAO
- forEach(BiConsumer<? super String, ? super INTERFACETYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- forEach(BiConsumer<? super String, ? super INTERFACETYPE>) - Method in interface com.helger.dao.wal.IMapBasedDAO
-
Iterate each entry
- forEach(BiPredicate<? super String, ? super INTERFACETYPE>, BiConsumer<? super String, ? super INTERFACETYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- forEach(BiPredicate<? super String, ? super INTERFACETYPE>, BiConsumer<? super String, ? super INTERFACETYPE>) - Method in interface com.helger.dao.wal.IMapBasedDAO
-
Iterate each entry
- forEachKey(Consumer<? super String>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- forEachKey(Consumer<? super String>) - Method in interface com.helger.dao.wal.IMapBasedDAO
-
Iterate each key
- forEachKey(Predicate<? super String>, Consumer<? super String>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- forEachKey(Predicate<? super String>, Consumer<? super String>) - Method in interface com.helger.dao.wal.IMapBasedDAO
-
Iterate each key
- forEachValue(Consumer<? super INTERFACETYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- forEachValue(Consumer<? super INTERFACETYPE>) - Method in interface com.helger.dao.wal.IMapBasedDAO
-
Iterate each value
- forEachValue(Predicate<? super INTERFACETYPE>, Consumer<? super INTERFACETYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- forEachValue(Predicate<? super INTERFACETYPE>, Consumer<? super INTERFACETYPE>) - Method in interface com.helger.dao.wal.IMapBasedDAO
-
Iterate each value
G
- getAll() - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- getAll() - Method in interface com.helger.dao.wal.IMapBasedDAO
- getAll(Predicate<? super INTERFACETYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- getAll(Predicate<? super INTERFACETYPE>) - Method in interface com.helger.dao.wal.IMapBasedDAO
- getAllContainedDAOs() - Method in class com.helger.dao.container.DefaultDAOContainer
- getAllContainedDAOs() - Method in interface com.helger.dao.container.IDAOContainer
- getAllIDs() - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- getAllIDs() - Method in interface com.helger.dao.wal.IMapBasedDAO
- getAllMapped(Predicate<? super INTERFACETYPE>, Function<? super INTERFACETYPE, ? extends RETTYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- getAllMapped(Predicate<? super INTERFACETYPE>, Function<? super INTERFACETYPE, ? extends RETTYPE>) - Method in interface com.helger.dao.wal.IMapBasedDAO
-
Get all contained items matching the provided filter and map them to something else.
- getAtIndex(int) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Get the item at the specified index.
- getCount(Predicate<? super INTERFACETYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- getCount(Predicate<? super INTERFACETYPE>) - Method in interface com.helger.dao.wal.IMapBasedDAO
- getDataTypeClass() - Method in class com.helger.dao.wal.AbstractWALDAO
- getFilenameProvider() - Method in class com.helger.dao.simple.AbstractSimpleDAO
- getFilenameProvider() - Method in class com.helger.dao.wal.AbstractWALDAO
- getFromIDOrNull(String) - Static method in enum com.helger.dao.EDAOActionType
- getFromIDOrThrow(String) - Static method in enum com.helger.dao.EDAOActionType
- getID() - Method in enum com.helger.dao.EDAOActionType
- getInitCount() - Method in interface com.helger.dao.IDAO
- getInitCount() - Method in class com.helger.dao.simple.AbstractSimpleDAO
- getInitCount() - Method in class com.helger.dao.wal.AbstractWALDAO
- getInstance() - Static method in class com.helger.dao.wal.WALListener
- getIO() - Method in class com.helger.dao.simple.AbstractSimpleDAO
- getIO() - Method in class com.helger.dao.wal.AbstractWALDAO
- getLastFilename() - Method in class com.helger.dao.simple.AbstractSimpleDAO
- getLastFilename() - Method in class com.helger.dao.wal.AbstractWALDAO
- getLastInitDateTime() - Method in interface com.helger.dao.IDAO
- getLastInitDateTime() - Method in class com.helger.dao.simple.AbstractSimpleDAO
- getLastInitDateTime() - Method in class com.helger.dao.wal.AbstractWALDAO
- getLastReadDateTime() - Method in interface com.helger.dao.IDAO
- getLastReadDateTime() - Method in class com.helger.dao.simple.AbstractSimpleDAO
- getLastReadDateTime() - Method in class com.helger.dao.wal.AbstractWALDAO
- getLastWriteDateTime() - Method in interface com.helger.dao.IDAO
- getLastWriteDateTime() - Method in class com.helger.dao.simple.AbstractSimpleDAO
- getLastWriteDateTime() - Method in class com.helger.dao.wal.AbstractWALDAO
- getNone() - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- getNone() - Method in interface com.helger.dao.wal.IMapBasedDAO
- getOfID(String) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Find the element with the provided ID.
- getReadCount() - Method in interface com.helger.dao.IDAO
- getReadCount() - Method in class com.helger.dao.simple.AbstractSimpleDAO
- getReadCount() - Method in class com.helger.dao.wal.AbstractWALDAO
- getSafeFile(String, IDAO.EMode) - Method in class com.helger.dao.simple.AbstractSimpleDAO
- getSafeFile(String, IDAO.EMode) - Method in class com.helger.dao.wal.AbstractWALDAO
-
Get a
Fileobject for the specified filename that can perform the respective operation indicated by the "mode" parameter. - getWaitingTime() - Method in class com.helger.dao.wal.AbstractWALDAO
- getWALXMLWriterSettings() - Method in class com.helger.dao.wal.AbstractWALDAO
- getWriteCount() - Method in interface com.helger.dao.IDAO
- getWriteCount() - Method in class com.helger.dao.simple.AbstractSimpleDAO
- getWriteCount() - Method in class com.helger.dao.wal.AbstractWALDAO
- getXMLWriterSettings() - Method in class com.helger.dao.simple.AbstractSimpleDAO
- getXMLWriterSettings() - Method in class com.helger.dao.wal.AbstractWALDAO
H
- hasPendingChanges() - Method in class com.helger.dao.AbstractDAO
- hasPendingChanges() - Method in interface com.helger.dao.IDAO
I
- IAutoSaveAware - Interface in com.helger.dao
-
Abstraction layer around auto save stuff.
- IDAO - Interface in com.helger.dao
-
Base DAO interface.
- IDAO.EMode - Enum in com.helger.dao
- IDAOChangeCallback<INTERFACETYPE extends com.helger.commons.id.IHasID<String>> - Interface in com.helger.dao.wal
-
Callback interface for DAO stuff
- IDAOChangeSimpleCallback<INTERFACETYPE extends com.helger.commons.id.IHasID<String>> - Interface in com.helger.dao.wal
-
Simple version of the DAO callback that calls
IDAOChangeSimpleCallback.onChange(IHasID)for all actions on all items. - IDAOContainer - Interface in com.helger.dao.container
-
A marker interface for objects containing other DAOs.
- IDAOReadChangeAware - Interface in com.helger.dao.wal
-
Dummy marker interface.
- IDAOReadExceptionCallback - Interface in com.helger.dao
-
Callback interface to handle thrown exception objects on DAO reading.
- IDAOWriteExceptionCallback - Interface in com.helger.dao
-
Callback interface to handle thrown exception objects in DAO write actions.
- IMapBasedDAO<INTERFACETYPE extends com.helger.commons.id.IHasID<String>> - Interface in com.helger.dao.wal
-
Read-only base interface for the MAP based DAO
- initialRead() - Method in class com.helger.dao.simple.AbstractSimpleDAO
-
Call this method inside the constructor to read the file contents directly.
- initialRead() - Method in class com.helger.dao.wal.AbstractWALDAO
-
Call this method inside the constructor to read the file contents directly.
- InitSettings() - Constructor for class com.helger.dao.wal.AbstractMapBasedWALDAO.InitSettings
- internalContainsWithID(String) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- internalCreateItem(IMPLTYPE) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Add an item including invoking the callback.
- internalCreateItem(IMPLTYPE, boolean) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Add an item including invoking the callback.
- internalDeleteItem(String) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Delete the item by removing it from the map.
- internalDeleteItem(String, boolean) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Delete the item by removing it from the map.
- internalDirectGetAll() - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- internalForEachValue(Consumer<? super IMPLTYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- internalForEachValue(Predicate<? super IMPLTYPE>, Consumer<? super IMPLTYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- internalGetAll(Predicate<? super IMPLTYPE>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- internalGetAllSortedByKey() - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- internalGetOfID(String) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Same as
AbstractMapBasedWALDAO.getOfID(String)but the locking must happen on the called side. - internalHasPendingChanges() - Method in class com.helger.dao.AbstractDAO
- internalIsAutoSaveEnabled() - Method in class com.helger.dao.AbstractDAO
- internalMarkItemDeleted(IMPLTYPE) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Mark an item as "deleted" without actually deleting it from the map.
- internalMarkItemDeleted(IMPLTYPE, boolean) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Mark an item as "deleted" without actually deleting it from the map.
- internalMarkItemUndeleted(IMPLTYPE) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Mark an item as "no longer deleted" without actually adding it to the map.
- internalMarkItemUndeleted(IMPLTYPE, boolean) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Mark an item as "no longer deleted" without actually adding it to the map.
- internalRemoveAllItemsNoCallback() - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Remove all items without triggering any callback.
- internalSetPendingChanges(boolean) - Method in class com.helger.dao.AbstractDAO
- internalUpdateItem(IMPLTYPE) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Update an existing item including invoking the callback.
- internalUpdateItem(IMPLTYPE, boolean) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Update an existing item including invoking the callback.
- isAutoSaveEnabled() - Method in class com.helger.dao.AbstractDAO
- isAutoSaveEnabled() - Method in class com.helger.dao.container.AbstractDAOContainer
- isAutoSaveEnabled() - Method in interface com.helger.dao.IAutoSaveAware
- isEmpty() - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- isNotEmpty() - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- isReadChanged() - Method in interface com.helger.dao.wal.IDAOReadChangeAware
- isReloadable() - Method in interface com.helger.dao.IDAO
- isSilentMode() - Static method in class com.helger.dao.AbstractDAO
M
- m_aRWLock - Variable in class com.helger.dao.AbstractDAO
- m_aRWLock - Variable in class com.helger.dao.container.AbstractDAOContainer
- markAsChanged() - Method in class com.helger.dao.simple.AbstractSimpleDAO
-
This method must be called every time something changed in the DAO.
- markAsChanged(DATATYPE, EDAOActionType) - Method in class com.helger.dao.wal.AbstractWALDAO
-
This method must be called every time something changed in the DAO.
- markAsChanged(IMPLTYPE, EDAOActionType) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
-
Deprecated.Avoid that this method is overridden
- markAsChanged(List<DATATYPE>, EDAOActionType) - Method in class com.helger.dao.wal.AbstractWALDAO
- modifyWriteData(IMicroDocument) - Method in class com.helger.dao.simple.AbstractSimpleDAO
-
Modify the created document by e.g. adding some comment or digital signature or whatsoever.
- modifyWriteData(IMicroDocument) - Method in class com.helger.dao.wal.AbstractWALDAO
-
Modify the created document by e.g. adding some comment or digital signature or whatsoever.
O
- onBetweenReadAndWAL(IMicroDocument) - Method in class com.helger.dao.wal.AbstractWALDAO
-
Called between initial read and WAL handling.
- onChange(INTERFACETYPE) - Method in interface com.helger.dao.wal.IDAOChangeSimpleCallback
-
Called after an item was created, deleted or changed.
- onCreateItem(INTERFACETYPE) - Method in interface com.helger.dao.wal.IDAOChangeCallback
-
Called after a new item was created.
- onCreateItem(INTERFACETYPE) - Method in interface com.helger.dao.wal.IDAOChangeSimpleCallback
-
Called after a new item was created.
- onDAOReadException(Throwable, boolean, IReadableResource) - Method in interface com.helger.dao.IDAOReadExceptionCallback
-
Called when an exception of the specified type occurred
- onDAOWriteException(Throwable, IReadableResource, CharSequence) - Method in interface com.helger.dao.IDAOWriteExceptionCallback
-
Called when an exception of the specified type occurred
- onDeleteItem(INTERFACETYPE) - Method in interface com.helger.dao.wal.IDAOChangeCallback
-
Called after an item was removed.
- onDeleteItem(INTERFACETYPE) - Method in interface com.helger.dao.wal.IDAOChangeSimpleCallback
-
Called after an item was removed.
- onDestroy(IScope) - Method in class com.helger.dao.wal.WALListener
- onFilenameChange(String, String) - Method in class com.helger.dao.simple.AbstractSimpleDAO
-
Called after a successful write of the file, if the filename is different from the previous filename.
- onFilenameChange(String, String) - Method in class com.helger.dao.wal.AbstractWALDAO
-
Called after a successful write of the file, if the filename is different from the previous filename.
- onInit() - Method in class com.helger.dao.simple.AbstractSimpleDAO
-
Custom initialization routine.
- onInit() - Method in class com.helger.dao.wal.AbstractWALDAO
-
Custom initialization routine.
- onMarkItemDeleted(INTERFACETYPE) - Method in interface com.helger.dao.wal.IDAOChangeCallback
-
Called after an item was marked as deleted (but is still present - special case of update!).
- onMarkItemDeleted(INTERFACETYPE) - Method in interface com.helger.dao.wal.IDAOChangeSimpleCallback
-
Called after an item was marked as deleted (but is still present - special case of update!).
- onMarkItemUndeleted(INTERFACETYPE) - Method in interface com.helger.dao.wal.IDAOChangeCallback
-
Called after an item was marked as undeleted.
- onMarkItemUndeleted(INTERFACETYPE) - Method in interface com.helger.dao.wal.IDAOChangeSimpleCallback
-
Called after an item was marked as undeleted.
- onRead(IMicroDocument) - Method in class com.helger.dao.simple.AbstractSimpleDAO
-
Fill the internal structures with from the passed XML document.
- onRead(IMicroDocument) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- onRead(IMicroDocument) - Method in class com.helger.dao.wal.AbstractWALDAO
-
Fill the internal structures with from the passed XML document.
- onRecoveryCreate(DATATYPE) - Method in class com.helger.dao.wal.AbstractWALDAO
-
Called when a recovery is needed to create a new item.
- onRecoveryCreate(IMPLTYPE) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- onRecoveryDelete(DATATYPE) - Method in class com.helger.dao.wal.AbstractWALDAO
-
Called when a recovery is needed to delete an existing item.
- onRecoveryDelete(IMPLTYPE) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- onRecoveryErrorConvertToNative(EDAOActionType, int, String) - Method in class com.helger.dao.wal.AbstractWALDAO
-
This method is called, when the conversion from the read XML string to the native type failed.
- onRecoveryUpdate(DATATYPE) - Method in class com.helger.dao.wal.AbstractWALDAO
-
Called when a recovery is needed to update an existing item.
- onRecoveryUpdate(IMPLTYPE) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- onUpdateItem(INTERFACETYPE) - Method in interface com.helger.dao.wal.IDAOChangeCallback
-
Called after an item was updated.
- onUpdateItem(INTERFACETYPE) - Method in interface com.helger.dao.wal.IDAOChangeSimpleCallback
-
Called after an item was updated.
P
- performWithoutAutoSave(Runnable) - Method in interface com.helger.dao.IAutoSaveAware
-
This method is used for batch processing of instructions (like the initial read).
- performWithoutAutoSave(Supplier<RETURNTYPE>) - Method in interface com.helger.dao.IAutoSaveAware
-
This method is used for batch processing of instructions (like the initial read).
- performWithoutAutoSaveThrowing(IThrowingRunnable<EXTYPE>) - Method in interface com.helger.dao.IAutoSaveAware
-
Execute a callback with autosave being disabled.
- performWithoutAutoSaveThrowing(IThrowingSupplier<RETURNTYPE, EXTYPE>) - Method in interface com.helger.dao.IAutoSaveAware
-
Execute a callback with autosave being disabled.
R
- READ - com.helger.dao.IDAO.EMode
- registerForLaterWriting(AbstractWALDAO<?>, String, Duration) - Method in class com.helger.dao.wal.WALListener
-
This is the main method for registration of later writing.
- reload() - Method in interface com.helger.dao.IDAO
-
The method that is invoke if a DAO is reloaded.
- RW_LOCK - Static variable in class com.helger.dao.AbstractDAO
S
- setDoInitialRead(boolean) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO.InitSettings
- setMapSupplier(Supplier<ICommonsMap<String, IMPLTYPE>>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO.InitSettings
- setOrderedMapSupplier() - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO.InitSettings
- setReadElementFilter(Predicate<IMicroElement>) - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO.InitSettings
- setSilentMode(boolean) - Static method in class com.helger.dao.AbstractDAO
-
Enable or disable certain regular log messages.
- setWaitingTime(Duration) - Method in class com.helger.dao.wal.AbstractWALDAO
-
Set the waiting time used before the file is effectively written.
- size() - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
T
- toString() - Method in class com.helger.dao.AbstractDAO
- toString() - Method in class com.helger.dao.container.DefaultDAOContainer
- toString() - Method in class com.helger.dao.simple.AbstractSimpleDAO
- toString() - Method in class com.helger.dao.wal.AbstractMapBasedWALDAO
- toString() - Method in class com.helger.dao.wal.AbstractWALDAO
- triggerExceptionHandlersRead(Throwable, boolean, File) - Static method in class com.helger.dao.simple.AbstractSimpleDAO
-
Trigger the registered custom exception handlers for read errors.
- triggerExceptionHandlersRead(Throwable, boolean, File) - Static method in class com.helger.dao.wal.AbstractWALDAO
-
Trigger the registered custom exception handlers for read errors.
- triggerExceptionHandlersWrite(Throwable, String, IMicroDocument) - Static method in class com.helger.dao.simple.AbstractSimpleDAO
-
Trigger the registered custom exception handlers for read errors.
- triggerExceptionHandlersWrite(Throwable, String, IMicroDocument) - Static method in class com.helger.dao.wal.AbstractWALDAO
-
Trigger the registered custom exception handlers for read errors.
U
- UPDATE - com.helger.dao.EDAOActionType
V
- valueOf(String) - Static method in enum com.helger.dao.EDAOActionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.helger.dao.IDAO.EMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.helger.dao.EDAOActionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.helger.dao.IDAO.EMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WAL_XWS - Static variable in class com.helger.dao.wal.AbstractWALDAO
- WALListener - Class in com.helger.dao.wal
-
The global write ahead logging manager that schedules future writings of a DAO.
- WALListener() - Constructor for class com.helger.dao.wal.WALListener
-
Deprecated.Called via reflection - don't call it yourself
- WRITE - com.helger.dao.IDAO.EMode
- WRITE_XWS - Static variable in class com.helger.dao.wal.AbstractWALDAO
- writeToFileOnPendingChanges() - Method in interface com.helger.dao.IDAO
-
This method is called to persist the content in disk in case there are pending changes.
- writeToFileOnPendingChanges() - Method in class com.helger.dao.simple.AbstractSimpleDAO
-
In case there are pending changes write them to the file.
- writeToFileOnPendingChanges() - Method in class com.helger.dao.wal.AbstractWALDAO
-
In case there are pending changes write them to the file.
All Classes All Packages