|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ObjectKey | |
---|---|
org.hydrateframework | |
org.hydrateframework.event |
Uses of ObjectKey in org.hydrateframework |
---|
Classes in org.hydrateframework that implement ObjectKey | |
---|---|
static class |
ObjectKey.Complex
This partial implementation of the ObjectKey interface is used by objects that have an alternate key. |
static class |
ObjectKey.Int
This partial implementation of the ObjectKey interface is used by objects that have a primary key whose underlying type is an int |
static class |
ObjectKey.Str
This partial implementation of the ObjectKey interface is used by objects that have a primary key whose underlying type is a String |
Methods in org.hydrateframework that return ObjectKey | |
---|---|
ObjectKey |
KeyAssembler.getKey()
Make the key that this assembler has been created to build. |
ObjectKey |
HydrateObject.getKey(java.lang.Class keyCls)
|
ObjectKey |
ObjectIndex.keyFromObject(java.lang.Object obj)
Get a key given a (hydrate) object. |
ObjectKey |
ObjectFamily.makeKey(java.lang.Class forClass,
java.lang.String keyName,
java.lang.Object key)
Make a key that is suitable for indexing a class in this family. |
ObjectKey |
KeyAssembler.makeKeyFromInt(int defPrimary)
Makes a key from a single integer. |
ObjectKey |
KeyAssembler.makeKeyFromValues(java.lang.Object[] keys)
Makes the key from the given array of objects. |
Methods in org.hydrateframework with parameters of type ObjectKey | |
---|---|
void |
UniqueIndex.addObject(java.lang.Object obj,
ObjectKey key)
|
abstract void |
ObjectIndex.addObject(java.lang.Object obj,
ObjectKey key)
Add an object to the index with the given key. |
void |
ObjectContext.addToIndex(ObjectKey key,
java.lang.Object obj)
Add a business object to alternate key indexes that it is not already a part of. |
java.lang.Object |
ObjectFactory.createObject(ObjectContext ctx,
ObjectKey key)
Create an object with a key. |
java.lang.Object |
UniqueIndex.findObject(ObjectKey key)
|
abstract java.lang.Object |
ObjectIndex.findObject(ObjectKey key)
This abstract method should be implemented to find an object given a key. |
ObjectCollection |
UniqueIndex.findObjects(ObjectKey key)
|
abstract ObjectCollection |
ObjectIndex.findObjects(ObjectKey key)
This method should be implemented to find a collection of business objects given a key. |
java.lang.Object |
ObjectContext.handleClassMismatch(java.lang.Object existing,
java.lang.Class newClass,
ObjectKey newKey)
|
protected abstract boolean |
Assembler.initObject(java.lang.Object oo,
ObjectKey key)
Initialize the object now with values read from the query. |
java.lang.Object |
ObjectFactory.loadObject(ObjectContext ctx,
ObjectKey key,
int bldType)
Load an object using a key. |
java.lang.Object |
UniqueIndex.removeKey(ObjectKey key)
|
abstract java.lang.Object |
ObjectIndex.removeKey(ObjectKey key)
Remove the entire contents of a particular key in this index. |
java.lang.Object |
ObjectContext.removeObject(ObjectKey key)
Drop an object from an index. |
void |
UniqueIndex.removeObject(java.lang.Object obj,
ObjectKey key)
|
abstract void |
ObjectIndex.removeObject(java.lang.Object obj,
ObjectKey key)
Remove an object from the index using the given key. |
java.lang.Object |
ObjectContext.resolveKey(ObjectKey key)
Try to find a business object given its primary key. |
java.lang.Object |
ObjectContext.resolveKeyTo(ObjectKey key,
java.lang.Class toCls)
Try to find a business object given its primary key. |
java.lang.Object |
ObjectContext.tryResolveKey(ObjectKey key)
Try to find a business object given its primary key. |
Uses of ObjectKey in org.hydrateframework.event |
---|
Methods in org.hydrateframework.event with parameters of type ObjectKey | |
---|---|
java.lang.Object |
ObjectLoadErrorHandler.handleClassMismatch(java.lang.Object existingObject,
java.lang.Class newClass,
ObjectKey newKey)
This method is called when a query indicates that an existing object is really of a more specialized class than the concrete class that is currently instantiated. |
java.lang.Object |
ObjectLoadErrorHandler.IntolerantLoader.handleClassMismatch(java.lang.Object existingObject,
java.lang.Class newClass,
ObjectKey newKey)
|
java.lang.Object |
ObjectLoadErrorHandler.SmartLoader.handleClassMismatch(java.lang.Object existingObject,
java.lang.Class newClass,
ObjectKey newKey)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |