Package com.logicaldoc.core.folder
Interface FolderListener
-
- All Known Implementing Classes:
FolderInitializer
,FolderValidator
public interface FolderListener
This interface defines hooks called before and after a particular event occurs on the specified folder.Each methods has access to a dictionary map that can be used through the execution pipeline in order to carry needed informations among all listeners.
- Since:
- 8.7.4
- Author:
- Marco Meschieri - LogicalDOC
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterStore(Folder folder, 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
-
-
-
Method Detail
-
beforeStore
void beforeStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary) throws Exception
Called before a folder is stored in the database- Parameters:
folder
- The folder to be storedtransaction
- Transaction informationsdictionary
- Dictionary of the execution pipeline- Throws:
Exception
- raised if something went wrong
-
afterStore
void afterStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary) throws Exception
Called after a folder is stored in the database- Parameters:
folder
- The folder to be storedtransaction
- Transaction informationsdictionary
- Dictionary of the execution pipeline- Throws:
Exception
- raised if something went wrong
-
-