@Component(value="blSystemPropertyCustomPersistenceHandler") public class SystemPropertyCustomPersistenceHandler extends CustomPersistenceHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
protected SystemPropertiesService |
spService |
DEFAULT_ORDER| Constructor and Description |
|---|
SystemPropertyCustomPersistenceHandler() |
| 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) |
protected Entity |
validateTypeAndValueCombo(SystemProperty prop) |
canHandleFetch, canHandleInspect, canHandleRemove, fetch, getClassForName, getMetadata, getOrder, getPolymorphicClasses, getResultSet, inspect, isAdornedListOperation, isAssignableFrom, isBasicOperation, isMapOperation, meetsCustomCriteria, remove, willHandleSecurityprotected SystemPropertiesService spService
public SystemPropertyCustomPersistenceHandler()
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 update(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
update in interface CustomPersistenceHandlerupdate in class CustomPersistenceHandlerAdapterServiceExceptionpublic Entity add(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
add in interface CustomPersistenceHandleradd in class CustomPersistenceHandlerAdapterServiceExceptionprotected Entity validateTypeAndValueCombo(SystemProperty prop)
Copyright © 2022. All rights reserved.