org.broadleafcommerce.admin.server.service.handler
Class ChildCategoriesCustomPersistenceHandler

java.lang.Object
  extended by org.broadleafcommerce.openadmin.server.service.handler.CustomPersistenceHandlerAdapter
      extended by org.broadleafcommerce.admin.server.service.handler.ChildCategoriesCustomPersistenceHandler
All Implemented Interfaces:
CustomPersistenceHandler

public class ChildCategoriesCustomPersistenceHandler
extends CustomPersistenceHandlerAdapter

Author:
Jeff Fischer

Constructor Summary
ChildCategoriesCustomPersistenceHandler()
           
 
Method Summary
 Entity add(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper)
           
 Boolean canHandleAdd(PersistencePackage persistencePackage)
           
protected  void checkParents(Category child, Category parent)
           
 
Methods inherited from class org.broadleafcommerce.openadmin.server.service.handler.CustomPersistenceHandlerAdapter
canHandleFetch, canHandleInspect, canHandleRemove, canHandleUpdate, fetch, inspect, remove, update, willHandleSecurity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildCategoriesCustomPersistenceHandler

public ChildCategoriesCustomPersistenceHandler()
Method Detail

canHandleAdd

public Boolean canHandleAdd(PersistencePackage persistencePackage)
Specified by:
canHandleAdd in interface CustomPersistenceHandler
Overrides:
canHandleAdd in class CustomPersistenceHandlerAdapter

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

checkParents

protected void checkParents(Category child,
                            Category parent)
                     throws ServiceException
Throws:
ServiceException


Copyright © 2013. All Rights Reserved.