Class SearchFacetRangeCustomPersistenceHandler
java.lang.Object
org.broadleafcommerce.openadmin.server.service.handler.CustomPersistenceHandlerAdapter
org.broadleafcommerce.admin.server.service.handler.SearchFacetRangeCustomPersistenceHandler
- All Implemented Interfaces:
CustomPersistenceHandler,org.springframework.core.Ordered
@Component("blSearchFacetRangeCustomPersistenceHandler")
public class SearchFacetRangeCustomPersistenceHandler
extends CustomPersistenceHandlerAdapter
- Author:
- gdiaz
-
Field Summary
Fields inherited from interface org.broadleafcommerce.openadmin.server.service.handler.CustomPersistenceHandler
DEFAULT_ORDERFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcanHandle(PersistencePackage persistencePackage) canHandleFetch(PersistencePackage persistencePackage) Is this persistence handler capable of dealing with an fetch request from the admincanHandleRemove(PersistencePackage persistencePackage) Is this persistence handler capable of dealing with a remove request from the adminfetch(PersistencePackage persistencePackage, CriteriaTransferObject cto, DynamicEntityDao dynamicEntityDao, RecordHelper helper) protected SearchFacetRangegetAdminInstance(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper, Entity entity) voidremove(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) Methods inherited from class org.broadleafcommerce.openadmin.server.service.handler.CustomPersistenceHandlerAdapter
add, canHandleAdd, canHandleInspect, canHandleUpdate, getClassForName, getMetadata, getOrder, getPolymorphicClasses, getResultSet, inspect, isAdornedListOperation, isAssignableFrom, isBasicOperation, isMapOperation, meetsCustomCriteria, update, willHandleSecurity
-
Constructor Details
-
SearchFacetRangeCustomPersistenceHandler
public SearchFacetRangeCustomPersistenceHandler()
-
-
Method Details
-
canHandleFetch
Description copied from interface:CustomPersistenceHandlerIs this persistence handler capable of dealing with an fetch request from the admin- Specified by:
canHandleFetchin interfaceCustomPersistenceHandler- Overrides:
canHandleFetchin classCustomPersistenceHandlerAdapter- Parameters:
persistencePackage- details about the fetch operation- Returns:
- whether or not this handler supports fetches
-
canHandleRemove
Description copied from interface:CustomPersistenceHandlerIs this persistence handler capable of dealing with a remove request from the admin- Specified by:
canHandleRemovein interfaceCustomPersistenceHandler- Overrides:
canHandleRemovein classCustomPersistenceHandlerAdapter- Parameters:
persistencePackage- details about the remove operation- Returns:
- whether or not this handler supports remove
-
canHandle
-
fetch
public DynamicResultSet fetch(PersistencePackage persistencePackage, CriteriaTransferObject cto, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException - Specified by:
fetchin interfaceCustomPersistenceHandler- Overrides:
fetchin classCustomPersistenceHandlerAdapter- Throws:
ServiceException
-
addDefaultSort
-
remove
public void remove(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException - Specified by:
removein interfaceCustomPersistenceHandler- Overrides:
removein classCustomPersistenceHandlerAdapter- Throws:
ServiceException
-
getAdminInstance
protected SearchFacetRange getAdminInstance(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper, Entity entity) throws ClassNotFoundException - Throws:
ClassNotFoundException
-