@Component(value="immutableOrderInterceptor") public class ImmutableOrderInterceptor extends ImmutableEntityInterceptor
ImmutableEntityInterceptor
,
Serialized FormConstructor and Description |
---|
ImmutableOrderInterceptor() |
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, removeMutablePropertiesForThread
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, instantiate, isTransient, onCollectionRecreate, onCollectionRemove, onCollectionUpdate, onDelete, onLoad, onPrepareStatement, onSave, postFlush, preFlush
protected Class<?> getSupportedType()
ImmutableEntityInterceptor
getSupportedType
in class ImmutableEntityInterceptor
ImmutableEntityInterceptor.getSupportedType()
protected String[] getMutablePropertyNames()
ImmutableEntityInterceptor
getMutablePropertyNames
in class ImmutableEntityInterceptor
ImmutableEntityInterceptor.getMutablePropertyNames()
protected boolean ignoreVoidedOrRetiredObjects()
ImmutableEntityInterceptor
ignoreVoidedOrRetiredObjects
in class ImmutableEntityInterceptor
ImmutableEntityInterceptor.ignoreVoidedOrRetiredObjects()
Copyright © 2024 OpenMRS Inc.. All rights reserved.