Uses of Interface
org.apache.openjpa.enhance.PersistenceCapable
-
Packages that use PersistenceCapable Package Description org.apache.openjpa.enhance OpenJPA Enhancerorg.apache.openjpa.kernel OpenJPA Runtime Kernelorg.apache.openjpa.util OpenJPA Utilities -
-
Uses of PersistenceCapable in org.apache.openjpa.enhance
Classes in org.apache.openjpa.enhance that implement PersistenceCapable Modifier and Type Class Description class
ReflectingPersistenceCapable
Implementation of thePersistenceCapable
interface that can handle the persistence-capable contract for instances that were not enhanced before class load time.Methods in org.apache.openjpa.enhance that return PersistenceCapable Modifier and Type Method Description static PersistenceCapable
PCRegistry. newInstance(java.lang.Class<?> pcClass, StateManager sm, boolean clear)
Create a new instance of the class and assign its state manager.static PersistenceCapable
PCRegistry. newInstance(java.lang.Class<?> pcClass, StateManager sm, java.lang.Object oid, boolean clear)
Create a new instance of the class and assign its state manager and oid.PersistenceCapable
PersistenceCapable. pcNewInstance(StateManager sm, boolean clear)
PersistenceCapable
PersistenceCapable. pcNewInstance(StateManager sm, java.lang.Object obj, boolean clear)
PersistenceCapable
ReflectingPersistenceCapable. pcNewInstance(StateManager sm, boolean clear)
PersistenceCapable
ReflectingPersistenceCapable. pcNewInstance(StateManager sm, java.lang.Object oid, boolean clear)
Methods in org.apache.openjpa.enhance with parameters of type PersistenceCapable Modifier and Type Method Description void
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, java.lang.Object cur)
Provide state callback.void
StateManager. providedShortField(PersistenceCapable pc, int idx, short cur)
Provide state callback.void
StateManager. providedStringField(PersistenceCapable pc, int idx, java.lang.String cur)
Provide state callback.static void
PCRegistry. register(java.lang.Class<?> pcClass, java.lang.String[] fieldNames, java.lang.Class<?>[] fieldTypes, byte[] fieldFlags, java.lang.Class<?> sup, java.lang.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.java.lang.Object
StateManager. replaceObjectField(PersistenceCapable pc, int idx)
Replace state callback.short
StateManager. replaceShortField(PersistenceCapable pc, int idx)
Replace state callback.java.lang.String
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, java.lang.Object cur, java.lang.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, java.lang.String cur, java.lang.String next, int set)
Setting state callback. -
Uses of PersistenceCapable in org.apache.openjpa.kernel
Methods in org.apache.openjpa.kernel that return PersistenceCapable Modifier and Type Method Description protected PersistenceCapable
BrokerImpl. assertPersistenceCapable(java.lang.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.PersistenceCapable
DetachedStateManager. getPersistenceCapable()
PersistenceCapable
DetachedValueStateManager. getPersistenceCapable()
PersistenceCapable
ObjectIdStateManager. getPersistenceCapable()
PersistenceCapable
OpenJPAStateManager. getPersistenceCapable()
Return thePersistenceCapable
instance that provides access to the instance managed by this state manager.PersistenceCapable
StateManagerImpl. getPersistenceCapable()
PersistenceCapable
SaveFieldManager. getState()
Return the persistence capable copy holding the rollback field values.Methods in org.apache.openjpa.kernel with parameters of type PersistenceCapable Modifier and Type Method Description java.lang.Object
DetachedStateManager. attach(AttachManager manager, java.lang.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, java.lang.Object cur)
void
DetachedValueStateManager. providedObjectField(PersistenceCapable pc, int idx, java.lang.Object cur)
void
ObjectIdStateManager. providedObjectField(PersistenceCapable pc, int idx, java.lang.Object cur)
void
StateManagerImpl. providedObjectField(PersistenceCapable pc, int field, java.lang.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, java.lang.String cur)
void
DetachedValueStateManager. providedStringField(PersistenceCapable pc, int idx, java.lang.String cur)
void
ObjectIdStateManager. providedStringField(PersistenceCapable pc, int idx, java.lang.String cur)
void
StateManagerImpl. providedStringField(PersistenceCapable pc, int field, java.lang.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)
java.lang.Object
DetachedStateManager. replaceObjectField(PersistenceCapable pc, int idx)
java.lang.Object
DetachedValueStateManager. replaceObjectField(PersistenceCapable pc, int idx)
java.lang.Object
ObjectIdStateManager. replaceObjectField(PersistenceCapable pc, int idx)
java.lang.Object
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)
java.lang.String
DetachedStateManager. replaceStringField(PersistenceCapable pc, int idx)
java.lang.String
DetachedValueStateManager. replaceStringField(PersistenceCapable pc, int idx)
java.lang.String
ObjectIdStateManager. replaceStringField(PersistenceCapable pc, int idx)
java.lang.String
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, java.lang.Object cur, java.lang.Object next, int set)
void
DetachedValueStateManager. settingObjectField(PersistenceCapable pc, int idx, java.lang.Object cur, java.lang.Object next, int set)
void
ObjectIdStateManager. settingObjectField(PersistenceCapable pc, int idx, java.lang.Object cur, java.lang.Object next, int set)
void
StateManagerImpl. settingObjectField(PersistenceCapable pc, int field, java.lang.Object curVal, java.lang.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, java.lang.String cur, java.lang.String next, int set)
void
DetachedValueStateManager. settingStringField(PersistenceCapable pc, int idx, java.lang.String cur, java.lang.String next, int set)
void
ObjectIdStateManager. settingStringField(PersistenceCapable pc, int idx, java.lang.String cur, java.lang.String next, int set)
void
StateManagerImpl. settingStringField(PersistenceCapable pc, int field, java.lang.String curVal, java.lang.String newVal, int set)
Constructors in org.apache.openjpa.kernel with parameters of type PersistenceCapable Constructor Description DetachedStateManager(PersistenceCapable pc, OpenJPAStateManager sm, java.util.BitSet load, boolean access, boolean multithreaded)
Constructor.DetachedValueStateManager(PersistenceCapable pc, ClassMetaData meta, StoreContext ctx)
-
Uses of PersistenceCapable in org.apache.openjpa.util
Methods in org.apache.openjpa.util that return PersistenceCapable Modifier and Type Method Description static PersistenceCapable
ImplHelper. toPersistenceCapable(java.lang.Object o, java.lang.Object ctx)
Methods in org.apache.openjpa.util with parameters of type PersistenceCapable Modifier and Type Method Description static java.lang.Object
ApplicationIds. create(PersistenceCapable pc, ClassMetaData meta)
Generate an application id based on the current primary key field state of the given instance.
-