@Component(value="immutableObsInterceptor") public class ImmutableObsInterceptor extends ImmutableEntityInterceptor
ImmutableEntityInterceptor,
Serialized Form| Constructor and Description |
|---|
ImmutableObsInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
getMutablePropertyNames()
Subclasses can override this to return fields that are allowed to be edited, returning null
or an empty array implies the entity is immutable
|
protected Class<?> |
getSupportedType()
Returns the class handled by the interceptor
|
protected boolean |
ignoreVoidedOrRetiredObjects()
Subclasses can override this to specify whether voided or retired items are mutable
|
addMutablePropertiesForThread, onFlushDirty, removeMutablePropertiesForThreadafterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, instantiate, isTransient, onCollectionRecreate, onCollectionRemove, onCollectionUpdate, onDelete, onLoad, onPrepareStatement, onSave, postFlush, preFlushprotected Class<?> getSupportedType()
ImmutableEntityInterceptorgetSupportedType in class ImmutableEntityInterceptorImmutableEntityInterceptor.getSupportedType()protected String[] getMutablePropertyNames()
ImmutableEntityInterceptorgetMutablePropertyNames in class ImmutableEntityInterceptorImmutableEntityInterceptor.getMutablePropertyNames()protected boolean ignoreVoidedOrRetiredObjects()
ImmutableEntityInterceptorignoreVoidedOrRetiredObjects in class ImmutableEntityInterceptorImmutableEntityInterceptor.ignoreVoidedOrRetiredObjects()Copyright © 2024 OpenMRS Inc.. All rights reserved.