org.broadleafcommerce.openadmin.server.security.handler
Class AdminUserCustomPersistenceHandler

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

public class AdminUserCustomPersistenceHandler
extends CustomPersistenceHandlerAdapter

Author:
jfischer

Field Summary
protected  SecurityVerifier adminRemoteSecurityService
           
protected  AdminSecurityService adminSecurityService
           
 
Constructor Summary
AdminUserCustomPersistenceHandler()
           
 
Method Summary
 Entity add(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper)
           
 Boolean canHandleAdd(PersistencePackage persistencePackage)
          Is this persistence handler capable of dealing with an add 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 inspect(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, InspectHelper helper)
           
 Entity update(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper)
           
 Boolean willHandleSecurity(PersistencePackage persistencePackage)
           
 
Methods inherited from class org.broadleafcommerce.openadmin.server.service.handler.CustomPersistenceHandlerAdapter
canHandleFetch, canHandleRemove, fetch, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

adminSecurityService

protected AdminSecurityService adminSecurityService

adminRemoteSecurityService

protected SecurityVerifier adminRemoteSecurityService
Constructor Detail

AdminUserCustomPersistenceHandler

public AdminUserCustomPersistenceHandler()
Method Detail

willHandleSecurity

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

canHandleAdd

public Boolean canHandleAdd(PersistencePackage persistencePackage)
Description copied from interface: CustomPersistenceHandler
Is this persistence handler capable of dealing with an add request from the admin

Specified by:
canHandleAdd in interface CustomPersistenceHandler
Overrides:
canHandleAdd in class CustomPersistenceHandlerAdapter
Parameters:
persistencePackage - details about the add operation
Returns:
whether or not this handler supports adds

canHandleUpdate

public Boolean canHandleUpdate(PersistencePackage persistencePackage)
Description copied from interface: CustomPersistenceHandler
Is this persistence handler capable of dealing with an update request from the admin

Specified by:
canHandleUpdate in interface CustomPersistenceHandler
Overrides:
canHandleUpdate in class CustomPersistenceHandlerAdapter
Parameters:
persistencePackage - details about the update operation
Returns:
whether or not this handler supports updatess

canHandleInspect

public Boolean canHandleInspect(PersistencePackage persistencePackage)
Description copied from interface: CustomPersistenceHandler
Is this persistence handler capable of dealing with an inspect request from the admin

Specified by:
canHandleInspect in interface CustomPersistenceHandler
Overrides:
canHandleInspect in class CustomPersistenceHandlerAdapter
Parameters:
persistencePackage - details about the inspect operation
Returns:
whether or not this handler supports inspects

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

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

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


Copyright © 2013. All Rights Reserved.