@Component(value="blTranslationCustomPersistenceHandler") public class TranslationCustomPersistenceHandler extends CustomPersistenceHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
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) |
canHandleFetch, canHandleInspect, canHandleRemove, fetch, getMetadata, getOrder, getResultSet, inspect, remove, update, willHandleSecurityprotected SystemPropertiesService spService
protected TranslationService translationService
protected Boolean classMatches(PersistencePackage persistencePackage)
public Boolean canHandleAdd(PersistencePackage persistencePackage)
CustomPersistenceHandlercanHandleAdd in interface CustomPersistenceHandlercanHandleAdd in class CustomPersistenceHandlerAdapterpersistencePackage - details about the add operationpublic Boolean canHandleUpdate(PersistencePackage persistencePackage)
CustomPersistenceHandlercanHandleUpdate in interface CustomPersistenceHandlercanHandleUpdate in class CustomPersistenceHandlerAdapterpersistencePackage - details about the update operationpublic Entity add(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
add in interface CustomPersistenceHandleradd in class CustomPersistenceHandlerAdapterServiceExceptionCopyright © 2017. All rights reserved.