org.broadleafcommerce.openadmin.server.security.handler
Class AdminPermissionCustomPersistenceHandler
java.lang.Object
org.broadleafcommerce.openadmin.server.service.handler.CustomPersistenceHandlerAdapter
org.broadleafcommerce.openadmin.server.security.handler.AdminPermissionCustomPersistenceHandler
- All Implemented Interfaces:
- CustomPersistenceHandler
public class AdminPermissionCustomPersistenceHandler
- extends CustomPersistenceHandlerAdapter
- Author:
- Jeff Fischer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminPermissionCustomPersistenceHandler
public AdminPermissionCustomPersistenceHandler()
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
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
checkPermissionName
protected Entity checkPermissionName(PersistencePackage persistencePackage)
throws ServiceException
- 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.