@Component(value="blArchiveStatusPersistenceEventHandler") public class ArchiveStatusPersistenceEventHandler extends PersistenceManagerEventHandlerAdapter
FilterMapping to the CriteriaTransferObject's CriteriaTransferObject.getAdditionalFilterMappings()
 in order to exclude by default any entities that are archived.| Modifier and Type | Field and Description | 
|---|---|
| protected ArchiveStatusPersistenceEventHandlerExtensionManager | extensionManager | 
| Constructor and Description | 
|---|
| ArchiveStatusPersistenceEventHandler() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getOrder() | 
| PersistenceManagerEventHandlerResponse | preFetch(PersistenceManager persistenceManager,
        PersistencePackage persistencePackage,
        CriteriaTransferObject cto)Called prior to a fetch, which is a request for one or more persisted entities | 
postAdd, postFetch, postInspect, postRemove, postUpdate, preAdd, preInspect, preRemove, preUpdate, processValidationErrorprotected ArchiveStatusPersistenceEventHandlerExtensionManager extensionManager
public ArchiveStatusPersistenceEventHandler()
public PersistenceManagerEventHandlerResponse preFetch(PersistenceManager persistenceManager, PersistencePackage persistencePackage, CriteriaTransferObject cto) throws ServiceException
PersistenceManagerEventHandlerpreFetch in interface PersistenceManagerEventHandlerpreFetch in class PersistenceManagerEventHandlerAdapterpersistenceManager - the PersistenceManager instance making the callpersistencePackage - the descriptive information for the callcto - the criteria describing the parameters of the fetch - converted into the where clause for the select queryServiceExceptionpublic int getOrder()
getOrder in interface org.springframework.core.OrderedgetOrder in class PersistenceManagerEventHandlerAdapterCopyright © 2020. All rights reserved.