|
Cumulus4j API (1.2.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.datanucleus.store.fieldmanager.AbstractFieldManager org.cumulus4j.store.fieldmanager.FetchFieldManager
public class FetchFieldManager
Manager for the process of fetching a user object from the datastore, handling the translation from the DataEntry object into the users own object.
Constructor Summary | |
---|---|
FetchFieldManager(ObjectProvider op,
CryptoContext cryptoContext,
ClassMeta classMeta,
AbstractClassMetaData dnClassMetaData,
ObjectContainer objectContainer)
|
Method Summary | |
---|---|
protected Object |
createPCFromEmbeddedObjectContainer(int fieldNumber,
FieldMeta fieldMeta,
ClassMeta embeddedClassMeta,
EmbeddedObjectContainer embeddedObjectContainer)
|
boolean |
fetchBooleanField(int fieldNumber)
|
byte |
fetchByteField(int fieldNumber)
|
char |
fetchCharField(int fieldNumber)
|
double |
fetchDoubleField(int fieldNumber)
|
float |
fetchFloatField(int fieldNumber)
|
int |
fetchIntField(int fieldNumber)
|
long |
fetchLongField(int fieldNumber)
|
Object |
fetchObjectField(int fieldNumber)
|
protected Object |
fetchObjectFieldWithRelationTypeArray(int fieldNumber,
AbstractMemberMetaData mmd,
FieldMeta fieldMeta,
Set<Long> mappedByDataEntryIDs)
Fetch an array of related objects (1-n-relationship). |
protected Object |
fetchObjectFieldWithRelationTypeCollection(int fieldNumber,
AbstractMemberMetaData mmd,
FieldMeta fieldMeta,
Set<Long> mappedByDataEntryIDs)
Fetch a Collection (List , Set , etc.) of
related objects (1-n-relationship). |
protected Object |
fetchObjectFieldWithRelationTypeMap(int fieldNumber,
AbstractMemberMetaData mmd,
FieldMeta fieldMeta,
Set<Long> mappedByDataEntryIDs)
Fetch a Map of related objects (1-n-relationship). |
protected Object |
fetchObjectFieldWithRelationTypeNone(int fieldNumber,
AbstractMemberMetaData mmd,
FieldMeta fieldMeta)
Fetch related objects that are not persistence-capable. |
protected Object |
fetchObjectFieldWithRelationTypeSingleValue(int fieldNumber,
AbstractMemberMetaData mmd,
FieldMeta fieldMeta,
Set<Long> mappedByDataEntryIDs)
Fetch a single related object (1-1-relationship). |
short |
fetchShortField(int fieldNumber)
|
String |
fetchStringField(int fieldNumber)
|
protected EncryptionHandler |
getEncryptionHandler()
|
protected Object |
getObjectFromDataEntryID(long dataEntryID)
|
protected long |
getThisDataEntryID()
|
Methods inherited from class org.datanucleus.store.fieldmanager.AbstractFieldManager |
---|
storeBooleanField, storeByteField, storeCharField, storeDoubleField, storeFloatField, storeIntField, storeLongField, storeObjectField, storeShortField, storeStringField |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FetchFieldManager(ObjectProvider op, CryptoContext cryptoContext, ClassMeta classMeta, AbstractClassMetaData dnClassMetaData, ObjectContainer objectContainer)
Method Detail |
---|
protected EncryptionHandler getEncryptionHandler()
public boolean fetchBooleanField(int fieldNumber)
fetchBooleanField
in interface FieldSupplier
fetchBooleanField
in class AbstractFieldManager
public byte fetchByteField(int fieldNumber)
fetchByteField
in interface FieldSupplier
fetchByteField
in class AbstractFieldManager
public char fetchCharField(int fieldNumber)
fetchCharField
in interface FieldSupplier
fetchCharField
in class AbstractFieldManager
public double fetchDoubleField(int fieldNumber)
fetchDoubleField
in interface FieldSupplier
fetchDoubleField
in class AbstractFieldManager
public float fetchFloatField(int fieldNumber)
fetchFloatField
in interface FieldSupplier
fetchFloatField
in class AbstractFieldManager
public int fetchIntField(int fieldNumber)
fetchIntField
in interface FieldSupplier
fetchIntField
in class AbstractFieldManager
public long fetchLongField(int fieldNumber)
fetchLongField
in interface FieldSupplier
fetchLongField
in class AbstractFieldManager
public short fetchShortField(int fieldNumber)
fetchShortField
in interface FieldSupplier
fetchShortField
in class AbstractFieldManager
public String fetchStringField(int fieldNumber)
fetchStringField
in interface FieldSupplier
fetchStringField
in class AbstractFieldManager
protected long getThisDataEntryID()
public Object fetchObjectField(int fieldNumber)
fetchObjectField
in interface FieldSupplier
fetchObjectField
in class AbstractFieldManager
protected Object fetchObjectFieldWithRelationTypeNone(int fieldNumber, AbstractMemberMetaData mmd, FieldMeta fieldMeta)
protected Object fetchObjectFieldWithRelationTypeSingleValue(int fieldNumber, AbstractMemberMetaData mmd, FieldMeta fieldMeta, Set<Long> mappedByDataEntryIDs)
protected Object createPCFromEmbeddedObjectContainer(int fieldNumber, FieldMeta fieldMeta, ClassMeta embeddedClassMeta, EmbeddedObjectContainer embeddedObjectContainer)
protected Object fetchObjectFieldWithRelationTypeArray(int fieldNumber, AbstractMemberMetaData mmd, FieldMeta fieldMeta, Set<Long> mappedByDataEntryIDs)
protected Object fetchObjectFieldWithRelationTypeCollection(int fieldNumber, AbstractMemberMetaData mmd, FieldMeta fieldMeta, Set<Long> mappedByDataEntryIDs)
Collection
(List
, Set
, etc.) of
related objects (1-n-relationship).
The related objects are persistence-capable.
protected Object fetchObjectFieldWithRelationTypeMap(int fieldNumber, AbstractMemberMetaData mmd, FieldMeta fieldMeta, Set<Long> mappedByDataEntryIDs)
Map
of related objects (1-n-relationship).
The related objects are persistence-capable.
protected Object getObjectFromDataEntryID(long dataEntryID)
|
Cumulus4j API (1.2.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |