Class ActiveVatRateEntityListener

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

public class ActiveVatRateEntityListener extends CollectingEntityListener
resets the vat code when a vat rate is added directly sets the added vat rate when is valid, because vat rates can not be added for the past