Class CopyDocumentsToEntityDocsListener

java.lang.Object
ch.tocco.nice2.persist.core.api.util.CollectingEntityListener
ch.tocco.nice2.outputcenter.impl.entitylistener.CopyDocumentsToEntityDocsListener
All Implemented Interfaces:
ContextListener, EntityFacadeListener, CommitListener, EventListener

public class CopyDocumentsToEntityDocsListener extends CollectingEntityListener
Copy personalized detail documents and move them to the folder of any related entity with entity docs. The document will be moved to a folder which is named by the entity name the document was created from. The label of the folder will be set according to the interface language of the current user. If the Folder does not exist, it will be created.