Package com.logicaldoc.core.folder
Class FolderInitializer
- java.lang.Object
-
- com.logicaldoc.core.metadata.initialization.Initializer
-
- com.logicaldoc.core.folder.FolderInitializer
-
- All Implemented Interfaces:
FolderListener
public class FolderInitializer extends Initializer implements FolderListener
This listener takes care of initializing the metadata of a folder.- Since:
- 8.8.2
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description FolderInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterStore(Folder document, FolderHistory transaction, Map<String,Object> dictionary)
Called after a folder is stored in the databasevoid
beforeStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)
Called before a folder is stored in the database-
Methods inherited from class com.logicaldoc.core.metadata.initialization.Initializer
initialize
-
-
-
-
Method Detail
-
beforeStore
public void beforeStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary) throws PersistenceException
Description copied from interface:FolderListener
Called before a folder is stored in the database- Specified by:
beforeStore
in interfaceFolderListener
- Parameters:
folder
- The folder to be storedtransaction
- Transaction informationsdictionary
- Dictionary of the execution pipeline- Throws:
PersistenceException
- raised if something went wrong
-
afterStore
public void afterStore(Folder document, FolderHistory transaction, Map<String,Object> dictionary) throws PersistenceException
Description copied from interface:FolderListener
Called after a folder is stored in the database- Specified by:
afterStore
in interfaceFolderListener
- Parameters:
document
- The folder to be storedtransaction
- Transaction informationsdictionary
- Dictionary of the execution pipeline- Throws:
PersistenceException
- raised if something went wrong
-
-