@Component(value="blTranslationCustomPersistenceHandler") public class TranslationCustomPersistenceHandler extends CustomPersistenceHandlerAdapter
Modifier and Type | Field and Description |
---|---|
protected SandBoxHelper |
sandBoxHelper |
protected SystemPropertiesService |
spService |
protected TranslationService |
translationService |
DEFAULT_ORDER
Constructor and Description |
---|
TranslationCustomPersistenceHandler() |
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 |
canHandleUpdate(PersistencePackage persistencePackage)
Is this persistence handler capable of dealing with an update request from the admin
|
protected Boolean |
classMatches(PersistencePackage persistencePackage) |
Entity |
update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
canHandleFetch, canHandleInspect, canHandleRemove, fetch, getClassForName, getMetadata, getOrder, getPolymorphicClasses, getResultSet, inspect, isAdornedListOperation, isAssignableFrom, isBasicOperation, isMapOperation, meetsCustomCriteria, remove, willHandleSecurity
protected SystemPropertiesService spService
protected TranslationService translationService
protected SandBoxHelper sandBoxHelper
protected Boolean classMatches(PersistencePackage persistencePackage)
public Boolean canHandleAdd(PersistencePackage persistencePackage)
CustomPersistenceHandler
canHandleAdd
in interface CustomPersistenceHandler
canHandleAdd
in class CustomPersistenceHandlerAdapter
persistencePackage
- details about the add operationpublic Boolean canHandleUpdate(PersistencePackage persistencePackage)
CustomPersistenceHandler
canHandleUpdate
in interface CustomPersistenceHandler
canHandleUpdate
in class CustomPersistenceHandlerAdapter
persistencePackage
- details about the update operationpublic Entity add(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
add
in interface CustomPersistenceHandler
add
in class CustomPersistenceHandlerAdapter
ServiceException
public Entity update(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
update
in interface CustomPersistenceHandler
update
in class CustomPersistenceHandlerAdapter
ServiceException
Copyright © 2022. All rights reserved.