@Component(value="blCategoryCustomPersistenceHandler") public class CategoryCustomPersistenceHandler extends CustomPersistenceHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
protected CategoryCustomPersistenceHandlerExtensionManager |
extensionManager |
DEFAULT_ORDER| Constructor and Description |
|---|
CategoryCustomPersistenceHandler() |
| Modifier and Type | Method and Description |
|---|---|
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
|
protected CategoryXref |
getCurrentDefaultXref(Category category) |
protected Category |
getExistingDefaultCategory(Category category) |
DynamicResultSet |
inspect(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
InspectHelper helper) |
protected Boolean |
isDefaultCategoryLegacyMode() |
protected void |
removeOldDefault(Category adminInstance,
CategoryXref oldDefault,
Entity entity) |
protected void |
setupXref(Category adminInstance) |
Entity |
update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
canHandleFetch, canHandleRemove, fetch, getMetadata, getOrder, getResultSet, remove, willHandleSecurityprotected CategoryCustomPersistenceHandlerExtensionManager extensionManager
public Boolean canHandleAdd(PersistencePackage persistencePackage)
CustomPersistenceHandlercanHandleAdd in interface CustomPersistenceHandlercanHandleAdd in class CustomPersistenceHandlerAdapterpersistencePackage - details about the add operationpublic Boolean canHandleInspect(PersistencePackage persistencePackage)
CustomPersistenceHandlercanHandleInspect in interface CustomPersistenceHandlercanHandleInspect in class CustomPersistenceHandlerAdapterpersistencePackage - details about the inspect operationpublic Boolean canHandleUpdate(PersistencePackage persistencePackage)
CustomPersistenceHandlercanHandleUpdate in interface CustomPersistenceHandlercanHandleUpdate in class CustomPersistenceHandlerAdapterpersistencePackage - details about the update operationpublic DynamicResultSet inspect(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, InspectHelper helper) throws ServiceException
inspect in interface CustomPersistenceHandlerinspect in class CustomPersistenceHandlerAdapterServiceExceptionpublic Entity add(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
add in interface CustomPersistenceHandleradd in class CustomPersistenceHandlerAdapterServiceExceptionpublic Entity update(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
update in interface CustomPersistenceHandlerupdate in class CustomPersistenceHandlerAdapterServiceExceptionprotected Boolean isDefaultCategoryLegacyMode()
protected void removeOldDefault(Category adminInstance, CategoryXref oldDefault, Entity entity)
protected void setupXref(Category adminInstance)
protected CategoryXref getCurrentDefaultXref(Category category)
Copyright © 2015. All rights reserved.