Uses of Interface
org.apache.openjpa.enhance.PersistenceCapable
Package
Description
OpenJPA Enhancer
OpenJPA Runtime Kernel
OpenJPA Utilities
-
Uses of PersistenceCapable in org.apache.openjpa.enhance
Modifier and TypeClassDescriptionclass
Implementation of thePersistenceCapable
interface that can handle the persistence-capable contract for instances that were not enhanced before class load time.Modifier and TypeMethodDescriptionstatic PersistenceCapable
PCRegistry.newInstance
(Class<?> pcClass, StateManager sm, boolean clear) Create a new instance of the class and assign its state manager.static PersistenceCapable
PCRegistry.newInstance
(Class<?> pcClass, StateManager sm, Object oid, boolean clear) Create a new instance of the class and assign its state manager and oid.PersistenceCapable.pcNewInstance
(StateManager sm, boolean clear) PersistenceCapable.pcNewInstance
(StateManager sm, Object obj, boolean clear) ReflectingPersistenceCapable.pcNewInstance
(StateManager sm, boolean clear) ReflectingPersistenceCapable.pcNewInstance
(StateManager sm, Object oid, boolean clear) Modifier and TypeMethodDescriptionvoid
StateManager.providedBooleanField
(PersistenceCapable pc, int idx, boolean cur) Provide state callback.void
StateManager.providedByteField
(PersistenceCapable pc, int idx, byte cur) Provide state callback.void
StateManager.providedCharField
(PersistenceCapable pc, int idx, char cur) Provide state callback.void
StateManager.providedDoubleField
(PersistenceCapable pc, int idx, double cur) Provide state callback.void
StateManager.providedFloatField
(PersistenceCapable pc, int idx, float cur) Provide state callback.void
StateManager.providedIntField
(PersistenceCapable pc, int idx, int cur) Provide state callback.void
StateManager.providedLongField
(PersistenceCapable pc, int idx, long cur) Provide state callback.void
StateManager.providedObjectField
(PersistenceCapable pc, int idx, Object cur) Provide state callback.void
StateManager.providedShortField
(PersistenceCapable pc, int idx, short cur) Provide state callback.void
StateManager.providedStringField
(PersistenceCapable pc, int idx, String cur) Provide state callback.static void
PCRegistry.register
(Class<?> pcClass, String[] fieldNames, Class<?>[] fieldTypes, byte[] fieldFlags, Class<?> sup, String alias, PersistenceCapable pc) Register metadata by class.boolean
StateManager.replaceBooleanField
(PersistenceCapable pc, int idx) Replace state callback.byte
StateManager.replaceByteField
(PersistenceCapable pc, int idx) Replace state callback.char
StateManager.replaceCharField
(PersistenceCapable pc, int idx) Replace state callback.double
StateManager.replaceDoubleField
(PersistenceCapable pc, int idx) Replace state callback.float
StateManager.replaceFloatField
(PersistenceCapable pc, int idx) Replace state callback.int
StateManager.replaceIntField
(PersistenceCapable pc, int idx) Replace state callback.long
StateManager.replaceLongField
(PersistenceCapable pc, int idx) Replace state callback.StateManager.replaceObjectField
(PersistenceCapable pc, int idx) Replace state callback.short
StateManager.replaceShortField
(PersistenceCapable pc, int idx) Replace state callback.StateManager.replaceStringField
(PersistenceCapable pc, int idx) Replace state callback.void
StateManager.settingBooleanField
(PersistenceCapable pc, int idx, boolean cur, boolean next, int set) Setting state callback.void
StateManager.settingByteField
(PersistenceCapable pc, int idx, byte cur, byte next, int set) Setting state callback.void
StateManager.settingCharField
(PersistenceCapable pc, int idx, char cur, char next, int set) Setting state callback.void
StateManager.settingDoubleField
(PersistenceCapable pc, int idx, double cur, double next, int set) Setting state callback.void
StateManager.settingFloatField
(PersistenceCapable pc, int idx, float cur, float next, int set) Setting state callback.void
StateManager.settingIntField
(PersistenceCapable pc, int idx, int cur, int next, int set) Setting state callback.void
StateManager.settingLongField
(PersistenceCapable pc, int idx, long cur, long next, int set) Setting state callback.void
StateManager.settingObjectField
(PersistenceCapable pc, int idx, Object cur, Object next, int set) Setting state callback.void
StateManager.settingShortField
(PersistenceCapable pc, int idx, short cur, short next, int set) Setting state callback.void
StateManager.settingStringField
(PersistenceCapable pc, int idx, String cur, String next, int set) Setting state callback. -
Uses of PersistenceCapable in org.apache.openjpa.kernel
Modifier and TypeMethodDescriptionprotected PersistenceCapable
BrokerImpl.assertPersistenceCapable
(Object obj) Return the given instance as aPersistenceCapable
.protected PersistenceCapable
AuditManager.getPersistenceCapable
(LifecycleEvent evt) Extracts the persistence capable instance from the source of the given event.DetachedStateManager.getPersistenceCapable()
DetachedValueStateManager.getPersistenceCapable()
ObjectIdStateManager.getPersistenceCapable()
OpenJPAStateManager.getPersistenceCapable()
Return thePersistenceCapable
instance that provides access to the instance managed by this state manager.StateManagerImpl.getPersistenceCapable()
SaveFieldManager.getState()
Return the persistence capable copy holding the rollback field values.Modifier and TypeMethodDescriptionDetachedStateManager.attach
(AttachManager manager, Object toAttach, ClassMetaData meta, PersistenceCapable into, OpenJPAStateManager owner, ValueMetaData ownerMeta, boolean explicit) protected Broker
AuditManager.getBroker
(PersistenceCapable pc) Extracts the broker from the given persistence capable instance.protected void
StateManagerImpl.initialize
(PersistenceCapable pc, PCState state) Initialize with the given instance and state.void
DetachedStateManager.providedBooleanField
(PersistenceCapable pc, int idx, boolean cur) void
DetachedValueStateManager.providedBooleanField
(PersistenceCapable pc, int idx, boolean cur) void
ObjectIdStateManager.providedBooleanField
(PersistenceCapable pc, int idx, boolean cur) void
StateManagerImpl.providedBooleanField
(PersistenceCapable pc, int field, boolean curVal) void
DetachedStateManager.providedByteField
(PersistenceCapable pc, int idx, byte cur) void
DetachedValueStateManager.providedByteField
(PersistenceCapable pc, int idx, byte cur) void
ObjectIdStateManager.providedByteField
(PersistenceCapable pc, int idx, byte cur) void
StateManagerImpl.providedByteField
(PersistenceCapable pc, int field, byte curVal) void
DetachedStateManager.providedCharField
(PersistenceCapable pc, int idx, char cur) void
DetachedValueStateManager.providedCharField
(PersistenceCapable pc, int idx, char cur) void
ObjectIdStateManager.providedCharField
(PersistenceCapable pc, int idx, char cur) void
StateManagerImpl.providedCharField
(PersistenceCapable pc, int field, char curVal) void
DetachedStateManager.providedDoubleField
(PersistenceCapable pc, int idx, double cur) void
DetachedValueStateManager.providedDoubleField
(PersistenceCapable pc, int idx, double cur) void
ObjectIdStateManager.providedDoubleField
(PersistenceCapable pc, int idx, double cur) void
StateManagerImpl.providedDoubleField
(PersistenceCapable pc, int field, double curVal) void
DetachedStateManager.providedFloatField
(PersistenceCapable pc, int idx, float cur) void
DetachedValueStateManager.providedFloatField
(PersistenceCapable pc, int idx, float cur) void
ObjectIdStateManager.providedFloatField
(PersistenceCapable pc, int idx, float cur) void
StateManagerImpl.providedFloatField
(PersistenceCapable pc, int field, float curVal) void
DetachedStateManager.providedIntField
(PersistenceCapable pc, int idx, int cur) void
DetachedValueStateManager.providedIntField
(PersistenceCapable pc, int idx, int cur) void
ObjectIdStateManager.providedIntField
(PersistenceCapable pc, int idx, int cur) void
StateManagerImpl.providedIntField
(PersistenceCapable pc, int field, int curVal) void
DetachedStateManager.providedLongField
(PersistenceCapable pc, int idx, long cur) void
DetachedValueStateManager.providedLongField
(PersistenceCapable pc, int idx, long cur) void
ObjectIdStateManager.providedLongField
(PersistenceCapable pc, int idx, long cur) void
StateManagerImpl.providedLongField
(PersistenceCapable pc, int field, long curVal) void
DetachedStateManager.providedObjectField
(PersistenceCapable pc, int idx, Object cur) void
DetachedValueStateManager.providedObjectField
(PersistenceCapable pc, int idx, Object cur) void
ObjectIdStateManager.providedObjectField
(PersistenceCapable pc, int idx, Object cur) void
StateManagerImpl.providedObjectField
(PersistenceCapable pc, int field, Object curVal) void
DetachedStateManager.providedShortField
(PersistenceCapable pc, int idx, short cur) void
DetachedValueStateManager.providedShortField
(PersistenceCapable pc, int idx, short cur) void
ObjectIdStateManager.providedShortField
(PersistenceCapable pc, int idx, short cur) void
StateManagerImpl.providedShortField
(PersistenceCapable pc, int field, short curVal) void
DetachedStateManager.providedStringField
(PersistenceCapable pc, int idx, String cur) void
DetachedValueStateManager.providedStringField
(PersistenceCapable pc, int idx, String cur) void
ObjectIdStateManager.providedStringField
(PersistenceCapable pc, int idx, String cur) void
StateManagerImpl.providedStringField
(PersistenceCapable pc, int field, String curVal) boolean
DetachedStateManager.replaceBooleanField
(PersistenceCapable pc, int idx) boolean
DetachedValueStateManager.replaceBooleanField
(PersistenceCapable pc, int idx) boolean
ObjectIdStateManager.replaceBooleanField
(PersistenceCapable pc, int idx) boolean
StateManagerImpl.replaceBooleanField
(PersistenceCapable pc, int field) byte
DetachedStateManager.replaceByteField
(PersistenceCapable pc, int idx) byte
DetachedValueStateManager.replaceByteField
(PersistenceCapable pc, int idx) byte
ObjectIdStateManager.replaceByteField
(PersistenceCapable pc, int idx) byte
StateManagerImpl.replaceByteField
(PersistenceCapable pc, int field) char
DetachedStateManager.replaceCharField
(PersistenceCapable pc, int idx) char
DetachedValueStateManager.replaceCharField
(PersistenceCapable pc, int idx) char
ObjectIdStateManager.replaceCharField
(PersistenceCapable pc, int idx) char
StateManagerImpl.replaceCharField
(PersistenceCapable pc, int field) double
DetachedStateManager.replaceDoubleField
(PersistenceCapable pc, int idx) double
DetachedValueStateManager.replaceDoubleField
(PersistenceCapable pc, int idx) double
ObjectIdStateManager.replaceDoubleField
(PersistenceCapable pc, int idx) double
StateManagerImpl.replaceDoubleField
(PersistenceCapable pc, int field) float
DetachedStateManager.replaceFloatField
(PersistenceCapable pc, int idx) float
DetachedValueStateManager.replaceFloatField
(PersistenceCapable pc, int idx) float
ObjectIdStateManager.replaceFloatField
(PersistenceCapable pc, int idx) float
StateManagerImpl.replaceFloatField
(PersistenceCapable pc, int field) int
DetachedStateManager.replaceIntField
(PersistenceCapable pc, int idx) int
DetachedValueStateManager.replaceIntField
(PersistenceCapable pc, int idx) int
ObjectIdStateManager.replaceIntField
(PersistenceCapable pc, int idx) int
StateManagerImpl.replaceIntField
(PersistenceCapable pc, int field) long
DetachedStateManager.replaceLongField
(PersistenceCapable pc, int idx) long
DetachedValueStateManager.replaceLongField
(PersistenceCapable pc, int idx) long
ObjectIdStateManager.replaceLongField
(PersistenceCapable pc, int idx) long
StateManagerImpl.replaceLongField
(PersistenceCapable pc, int field) DetachedStateManager.replaceObjectField
(PersistenceCapable pc, int idx) DetachedValueStateManager.replaceObjectField
(PersistenceCapable pc, int idx) ObjectIdStateManager.replaceObjectField
(PersistenceCapable pc, int idx) StateManagerImpl.replaceObjectField
(PersistenceCapable pc, int field) short
DetachedStateManager.replaceShortField
(PersistenceCapable pc, int idx) short
DetachedValueStateManager.replaceShortField
(PersistenceCapable pc, int idx) short
ObjectIdStateManager.replaceShortField
(PersistenceCapable pc, int idx) short
StateManagerImpl.replaceShortField
(PersistenceCapable pc, int field) DetachedStateManager.replaceStringField
(PersistenceCapable pc, int idx) DetachedValueStateManager.replaceStringField
(PersistenceCapable pc, int idx) ObjectIdStateManager.replaceStringField
(PersistenceCapable pc, int idx) StateManagerImpl.replaceStringField
(PersistenceCapable pc, int field) void
StateManagerImpl.setPc
(PersistenceCapable pc) void
DetachedStateManager.settingBooleanField
(PersistenceCapable pc, int idx, boolean cur, boolean next, int set) void
DetachedValueStateManager.settingBooleanField
(PersistenceCapable pc, int idx, boolean cur, boolean next, int set) void
ObjectIdStateManager.settingBooleanField
(PersistenceCapable pc, int idx, boolean cur, boolean next, int set) void
StateManagerImpl.settingBooleanField
(PersistenceCapable pc, int field, boolean curVal, boolean newVal, int set) void
DetachedStateManager.settingByteField
(PersistenceCapable pc, int idx, byte cur, byte next, int set) void
DetachedValueStateManager.settingByteField
(PersistenceCapable pc, int idx, byte cur, byte next, int set) void
ObjectIdStateManager.settingByteField
(PersistenceCapable pc, int idx, byte cur, byte next, int set) void
StateManagerImpl.settingByteField
(PersistenceCapable pc, int field, byte curVal, byte newVal, int set) void
DetachedStateManager.settingCharField
(PersistenceCapable pc, int idx, char cur, char next, int set) void
DetachedValueStateManager.settingCharField
(PersistenceCapable pc, int idx, char cur, char next, int set) void
ObjectIdStateManager.settingCharField
(PersistenceCapable pc, int idx, char cur, char next, int set) void
StateManagerImpl.settingCharField
(PersistenceCapable pc, int field, char curVal, char newVal, int set) void
DetachedStateManager.settingDoubleField
(PersistenceCapable pc, int idx, double cur, double next, int set) void
DetachedValueStateManager.settingDoubleField
(PersistenceCapable pc, int idx, double cur, double next, int set) void
ObjectIdStateManager.settingDoubleField
(PersistenceCapable pc, int idx, double cur, double next, int set) void
StateManagerImpl.settingDoubleField
(PersistenceCapable pc, int field, double curVal, double newVal, int set) void
DetachedStateManager.settingFloatField
(PersistenceCapable pc, int idx, float cur, float next, int set) void
DetachedValueStateManager.settingFloatField
(PersistenceCapable pc, int idx, float cur, float next, int set) void
ObjectIdStateManager.settingFloatField
(PersistenceCapable pc, int idx, float cur, float next, int set) void
StateManagerImpl.settingFloatField
(PersistenceCapable pc, int field, float curVal, float newVal, int set) void
DetachedStateManager.settingIntField
(PersistenceCapable pc, int idx, int cur, int next, int set) void
DetachedValueStateManager.settingIntField
(PersistenceCapable pc, int idx, int cur, int next, int set) void
ObjectIdStateManager.settingIntField
(PersistenceCapable pc, int idx, int cur, int next, int set) void
StateManagerImpl.settingIntField
(PersistenceCapable pc, int field, int curVal, int newVal, int set) void
DetachedStateManager.settingLongField
(PersistenceCapable pc, int idx, long cur, long next, int set) void
DetachedValueStateManager.settingLongField
(PersistenceCapable pc, int idx, long cur, long next, int set) void
ObjectIdStateManager.settingLongField
(PersistenceCapable pc, int idx, long cur, long next, int set) void
StateManagerImpl.settingLongField
(PersistenceCapable pc, int field, long curVal, long newVal, int set) void
DetachedStateManager.settingObjectField
(PersistenceCapable pc, int idx, Object cur, Object next, int set) void
DetachedValueStateManager.settingObjectField
(PersistenceCapable pc, int idx, Object cur, Object next, int set) void
ObjectIdStateManager.settingObjectField
(PersistenceCapable pc, int idx, Object cur, Object next, int set) void
StateManagerImpl.settingObjectField
(PersistenceCapable pc, int field, Object curVal, Object newVal, int set) void
DetachedStateManager.settingShortField
(PersistenceCapable pc, int idx, short cur, short next, int set) void
DetachedValueStateManager.settingShortField
(PersistenceCapable pc, int idx, short cur, short next, int set) void
ObjectIdStateManager.settingShortField
(PersistenceCapable pc, int idx, short cur, short next, int set) void
StateManagerImpl.settingShortField
(PersistenceCapable pc, int field, short curVal, short newVal, int set) void
DetachedStateManager.settingStringField
(PersistenceCapable pc, int idx, String cur, String next, int set) void
DetachedValueStateManager.settingStringField
(PersistenceCapable pc, int idx, String cur, String next, int set) void
ObjectIdStateManager.settingStringField
(PersistenceCapable pc, int idx, String cur, String next, int set) void
StateManagerImpl.settingStringField
(PersistenceCapable pc, int field, String curVal, String newVal, int set) ModifierConstructorDescriptionDetachedStateManager
(PersistenceCapable pc, OpenJPAStateManager sm, BitSet load, boolean access, boolean multithreaded) Constructor.DetachedValueStateManager
(PersistenceCapable pc, ClassMetaData meta, StoreContext ctx) -
Uses of PersistenceCapable in org.apache.openjpa.util
Modifier and TypeMethodDescriptionstatic PersistenceCapable
ImplHelper.toPersistenceCapable
(Object o, Object ctx) Modifier and TypeMethodDescriptionstatic Object
ApplicationIds.create
(PersistenceCapable pc, ClassMetaData meta) Generate an application id based on the current primary key field state of the given instance.