org.broadleafcommerce.admin.server.service.handler
Class OfferCustomPersistenceHandler
java.lang.Object
org.broadleafcommerce.openadmin.server.service.handler.CustomPersistenceHandlerAdapter
org.broadleafcommerce.admin.server.service.handler.OfferCustomPersistenceHandler
- All Implemented Interfaces:
- CustomPersistenceHandler
public class OfferCustomPersistenceHandler
- extends CustomPersistenceHandlerAdapter
- Author:
- jfischer
|
Method Summary |
Entity |
add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper)
|
protected void |
addRule(Entity entity,
Offer offerInstance,
String propertyName,
OfferRuleType type)
|
Boolean |
canHandleAdd(PersistencePackage persistencePackage)
|
Boolean |
canHandleFetch(PersistencePackage persistencePackage)
|
Boolean |
canHandleInspect(PersistencePackage persistencePackage)
|
Boolean |
canHandleRemove(PersistencePackage persistencePackage)
|
Boolean |
canHandleUpdate(PersistencePackage persistencePackage)
|
DynamicResultSet |
fetch(PersistencePackage persistencePackage,
com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper)
|
DynamicResultSet |
inspect(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
InspectHelper helper)
|
void |
remove(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper)
|
protected void |
removeHTMLEncoding(Entity entity)
|
Entity |
update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper)
|
protected void |
updateRule(Entity entity,
Offer offerInstance,
String propertyName,
OfferRuleType type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IDENTITYCRITERIA
public static final String IDENTITYCRITERIA
- See Also:
- Constant Field Values
entityConfiguration
protected EntityConfiguration entityConfiguration
OfferCustomPersistenceHandler
public OfferCustomPersistenceHandler()
canHandleInspect
public Boolean canHandleInspect(PersistencePackage persistencePackage)
- Specified by:
canHandleInspect in interface CustomPersistenceHandler- Overrides:
canHandleInspect in class CustomPersistenceHandlerAdapter
canHandleFetch
public Boolean canHandleFetch(PersistencePackage persistencePackage)
- Specified by:
canHandleFetch in interface CustomPersistenceHandler- Overrides:
canHandleFetch in class CustomPersistenceHandlerAdapter
canHandleAdd
public Boolean canHandleAdd(PersistencePackage persistencePackage)
- Specified by:
canHandleAdd in interface CustomPersistenceHandler- Overrides:
canHandleAdd in class CustomPersistenceHandlerAdapter
canHandleRemove
public Boolean canHandleRemove(PersistencePackage persistencePackage)
- Specified by:
canHandleRemove in interface CustomPersistenceHandler- Overrides:
canHandleRemove in class CustomPersistenceHandlerAdapter
canHandleUpdate
public Boolean canHandleUpdate(PersistencePackage persistencePackage)
- Specified by:
canHandleUpdate in interface CustomPersistenceHandler- Overrides:
canHandleUpdate in class CustomPersistenceHandlerAdapter
inspect
public DynamicResultSet inspect(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
InspectHelper helper)
throws ServiceException
- Specified by:
inspect in interface CustomPersistenceHandler- Overrides:
inspect in class CustomPersistenceHandlerAdapter
- Throws:
ServiceException
fetch
public DynamicResultSet fetch(PersistencePackage persistencePackage,
com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper)
throws ServiceException
- Specified by:
fetch in interface CustomPersistenceHandler- Overrides:
fetch in class CustomPersistenceHandlerAdapter
- Throws:
ServiceException
removeHTMLEncoding
protected void removeHTMLEncoding(Entity entity)
add
public Entity add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper)
throws ServiceException
- Specified by:
add in interface CustomPersistenceHandler- Overrides:
add in class CustomPersistenceHandlerAdapter
- Throws:
ServiceException
remove
public void remove(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper)
throws ServiceException
- Specified by:
remove in interface CustomPersistenceHandler- Overrides:
remove in class CustomPersistenceHandlerAdapter
- Throws:
ServiceException
update
public Entity update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper)
throws ServiceException
- Specified by:
update in interface CustomPersistenceHandler- Overrides:
update in class CustomPersistenceHandlerAdapter
- Throws:
ServiceException
addRule
protected void addRule(Entity entity,
Offer offerInstance,
String propertyName,
OfferRuleType type)
updateRule
protected void updateRule(Entity entity,
Offer offerInstance,
String propertyName,
OfferRuleType type)
Copyright © 2013. All Rights Reserved.