Class ReplaceBinaryEntityListener

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

public class ReplaceBinaryEntityListener extends CollectingEntityListener
Listener offers to update all resource contents which contain exactly the same binary (=data → hash) like the updated resource content contained before update. Listener only affects updates from web client because reverse ajax is required for questioning client.