@Component(value="blOfferCustomPersistenceHandler") public class OfferCustomPersistenceHandler extends CustomPersistenceHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
protected static String |
OFFER_ITEM_QUALIFIER_RULE_TYPE |
protected static String |
OFFER_ITEM_TARGET_RULE_TYPE |
protected static String |
QUALIFIERS_CAN_BE_QUALIFIERS |
protected static String |
QUALIFIERS_CAN_BE_TARGETS |
protected static String |
SHOW_ADVANCED_VISIBILITY_OPTIONS |
protected static String |
STACKABLE |
DEFAULT_ORDER| Constructor and Description |
|---|
OfferCustomPersistenceHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected FieldMetadata |
buildAdvancedVisibilityOptionsFieldMetaData() |
protected Property |
buildAdvancedVisibilityOptionsProperty(Property timeRule) |
protected Property |
buildOfferItemQualifierRuleTypeProperty(Property qualifiersCanBeQualifiers,
Property qualifiersCanBeTargets) |
protected Property |
buildOfferItemTargetRuleTypeProperty(Property stackable) |
protected FieldMetadata |
buildQualifiersCanBeQualifiersFieldMetaData() |
protected Property |
buildQualifiersCanBeQualifiersProperty(Property offerItemQualifierRuleType) |
protected FieldMetadata |
buildQualifiersCanBeTargetsFieldMetaData() |
protected Property |
buildQualifiersCanBeTargetsProperty(Property offerItemQualifierRuleType) |
protected FieldMetadata |
buildStackableFieldMetaData() |
protected Property |
buildStackableProperty(Property offerItemTargetRuleType) |
Boolean |
canHandleFetch(PersistencePackage persistencePackage)
Is this persistence handler capable of dealing with an fetch request from the admin
|
Boolean |
canHandleInspect(PersistencePackage persistencePackage)
Is this persistence handler capable of dealing with an inspect request from the admin
|
Boolean |
canHandleUpdate(PersistencePackage persistencePackage)
Is this persistence handler capable of dealing with an update request from the admin
|
DynamicResultSet |
fetch(PersistencePackage persistencePackage,
CriteriaTransferObject cto,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
DynamicResultSet |
inspect(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
InspectHelper helper) |
protected boolean |
isQualifierTargetType(Property offerItemQualifierRuleType) |
protected boolean |
isQualifierType(Property offerItemQualifierRuleType) |
protected boolean |
isTargetType(Property offerItemQualifierRuleType) |
Entity |
update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
add, canHandleAdd, canHandleRemove, getClassForName, getMetadata, getOrder, getPolymorphicClasses, getResultSet, remove, willHandleSecurityprotected static final String SHOW_ADVANCED_VISIBILITY_OPTIONS
protected static final String QUALIFIERS_CAN_BE_QUALIFIERS
protected static final String QUALIFIERS_CAN_BE_TARGETS
protected static final String OFFER_ITEM_QUALIFIER_RULE_TYPE
protected static final String STACKABLE
protected static final String OFFER_ITEM_TARGET_RULE_TYPE
public Boolean canHandleInspect(PersistencePackage persistencePackage)
CustomPersistenceHandlercanHandleInspect in interface CustomPersistenceHandlercanHandleInspect in class CustomPersistenceHandlerAdapterpersistencePackage - details about the inspect operationpublic Boolean canHandleFetch(PersistencePackage persistencePackage)
CustomPersistenceHandlercanHandleFetch in interface CustomPersistenceHandlercanHandleFetch in class CustomPersistenceHandlerAdapterpersistencePackage - details about the fetch operationpublic Boolean canHandleUpdate(PersistencePackage persistencePackage)
CustomPersistenceHandlercanHandleUpdate in interface CustomPersistenceHandlercanHandleUpdate in class CustomPersistenceHandlerAdapterpersistencePackage - details about the update operationpublic DynamicResultSet inspect(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, InspectHelper helper) throws ServiceException
inspect in interface CustomPersistenceHandlerinspect in class CustomPersistenceHandlerAdapterServiceExceptionprotected FieldMetadata buildAdvancedVisibilityOptionsFieldMetaData()
protected FieldMetadata buildQualifiersCanBeQualifiersFieldMetaData()
protected FieldMetadata buildQualifiersCanBeTargetsFieldMetaData()
protected FieldMetadata buildStackableFieldMetaData()
public DynamicResultSet fetch(PersistencePackage persistencePackage, CriteriaTransferObject cto, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
fetch in interface CustomPersistenceHandlerfetch in class CustomPersistenceHandlerAdapterServiceExceptionprotected Property buildAdvancedVisibilityOptionsProperty(Property timeRule)
protected Property buildQualifiersCanBeQualifiersProperty(Property offerItemQualifierRuleType)
protected Property buildQualifiersCanBeTargetsProperty(Property offerItemQualifierRuleType)
protected boolean isQualifierType(Property offerItemQualifierRuleType)
protected boolean isTargetType(Property offerItemQualifierRuleType)
protected boolean isQualifierTargetType(Property offerItemQualifierRuleType)
public Entity update(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
update in interface CustomPersistenceHandlerupdate in class CustomPersistenceHandlerAdapterServiceExceptionprotected Property buildOfferItemQualifierRuleTypeProperty(Property qualifiersCanBeQualifiers, Property qualifiersCanBeTargets)
Copyright © 2020. All rights reserved.