@Component(value="blCustomerPaymentCustomPersistenceHandler") public class CustomerPaymentCustomPersistenceHandler extends ClassCustomPersistenceHandlerAdapter
Modifier and Type | Field and Description |
---|---|
protected CustomerPaymentService |
customerPaymentService |
protected javax.persistence.EntityManager |
em |
protected static String |
NULL_LAST_FOUR |
protected static String |
SAVED_PAYMENT_INFO |
DEFAULT_ORDER
Constructor and Description |
---|
CustomerPaymentCustomPersistenceHandler() |
Modifier and Type | Method and Description |
---|---|
protected String |
buildPropertyValueIfAvailable(String columnDisplayValue,
String propertyValue) |
protected String |
buildSavedPaymentDisplayValue(CustomerPayment customerPayment) |
Boolean |
canHandleFetch(PersistencePackage pkg)
Is this persistence handler capable of dealing with an fetch request from the admin
|
Boolean |
canHandleInspect(PersistencePackage pkg)
Is this persistence handler capable of dealing with an inspect request from the admin
|
DynamicResultSet |
fetch(PersistencePackage persistencePackage,
CriteriaTransferObject cto,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
DynamicResultSet |
inspect(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
InspectHelper helper) |
classIsAssignableFrom, classMatches
add, canHandleAdd, canHandleRemove, canHandleUpdate, getClassForName, getMetadata, getOrder, getPolymorphicClasses, getResultSet, isAdornedListOperation, isAssignableFrom, isBasicOperation, isMapOperation, meetsCustomCriteria, remove, update, willHandleSecurity
protected static final String SAVED_PAYMENT_INFO
protected static final String NULL_LAST_FOUR
protected javax.persistence.EntityManager em
protected CustomerPaymentService customerPaymentService
public CustomerPaymentCustomPersistenceHandler()
public Boolean canHandleInspect(PersistencePackage pkg)
CustomPersistenceHandler
canHandleInspect
in interface CustomPersistenceHandler
canHandleInspect
in class CustomPersistenceHandlerAdapter
pkg
- details about the inspect operationpublic Boolean canHandleFetch(PersistencePackage pkg)
CustomPersistenceHandler
canHandleFetch
in interface CustomPersistenceHandler
canHandleFetch
in class CustomPersistenceHandlerAdapter
pkg
- details about the fetch operationpublic DynamicResultSet inspect(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, InspectHelper helper) throws ServiceException
inspect
in interface CustomPersistenceHandler
inspect
in class CustomPersistenceHandlerAdapter
ServiceException
public DynamicResultSet fetch(PersistencePackage persistencePackage, CriteriaTransferObject cto, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
fetch
in interface CustomPersistenceHandler
fetch
in class CustomPersistenceHandlerAdapter
ServiceException
protected String buildSavedPaymentDisplayValue(CustomerPayment customerPayment)
Copyright © 2022. All rights reserved.