@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) |
Boolean |
canHandleInspect(PersistencePackage persistencePackage) |
Boolean |
canHandleUpdate(PersistencePackage persistencePackage) |
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)
canHandleAdd in interface CustomPersistenceHandlercanHandleAdd in class CustomPersistenceHandlerAdapterpublic Boolean canHandleInspect(PersistencePackage persistencePackage)
canHandleInspect in interface CustomPersistenceHandlercanHandleInspect in class CustomPersistenceHandlerAdapterpublic Boolean canHandleUpdate(PersistencePackage persistencePackage)
canHandleUpdate in interface CustomPersistenceHandlercanHandleUpdate in class CustomPersistenceHandlerAdapterpublic 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.