@Component(value="blOfferCodeCustomPersistenceHandler") public class OfferCodeCustomPersistenceHandler extends ClassCustomPersistenceHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
protected OfferCodeDao |
offerCodeDao |
DEFAULT_ORDER| Constructor and Description |
|---|
OfferCodeCustomPersistenceHandler() |
| Modifier and Type | Method and Description |
|---|---|
Entity |
add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Boolean |
canHandleAdd(PersistencePackage persistencePackage) |
Boolean |
canHandleUpdate(PersistencePackage persistencePackage) |
Entity |
update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
protected Entity |
validateOfferCode(Entity entity,
OfferCode offerCode) |
classIsAssignableFrom, classMatchescanHandleFetch, canHandleInspect, canHandleRemove, fetch, getClassForName, getMetadata, getOrder, getPolymorphicClasses, getResultSet, inspect, isAdornedListOperation, isAssignableFrom, isBasicOperation, isMapOperation, meetsCustomCriteria, remove, willHandleSecurityprotected OfferCodeDao offerCodeDao
public Boolean canHandleAdd(PersistencePackage persistencePackage)
canHandleAdd in interface CustomPersistenceHandlercanHandleAdd in class CustomPersistenceHandlerAdapterpublic Boolean canHandleUpdate(PersistencePackage persistencePackage)
canHandleUpdate in interface CustomPersistenceHandlercanHandleUpdate in class CustomPersistenceHandlerAdapterpublic Entity add(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws org.broadleafcommerce.common.exception.ServiceException
add in interface CustomPersistenceHandleradd in class CustomPersistenceHandlerAdapterorg.broadleafcommerce.common.exception.ServiceExceptionpublic Entity update(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws org.broadleafcommerce.common.exception.ServiceException
update in interface CustomPersistenceHandlerupdate in class CustomPersistenceHandlerAdapterorg.broadleafcommerce.common.exception.ServiceExceptionCopyright © 2020. All rights reserved.