public interface AccessRegistrarIF
Modifier and Type | Method and Description |
---|---|
IdentityIF |
createIdentity(Class<?> type,
long key)
INTERNAL: Factory method for creating new identity objects.
|
IdentityIF |
createIdentity(Class<?> type,
Object key)
INTERNAL: Factory method for creating new identity objects.
|
IdentityIF |
createIdentity(Class<?> type,
Object[] keys)
INTERNAL: Factory method for creating new identity objects.
|
TicketIF |
getTicket()
INTERNAL: Get ticket that should be used as first argument to
register methods.
|
void |
registerField(TicketIF ticket,
IdentityIF identity,
int field,
Object value)
INTERNAL: Called by storage accessors (FieldAccessIF) when they
read the value of an object field from the database.
|
void |
registerIdentity(TicketIF ticket,
IdentityIF identity)
INTERNAL: Called by storage accessors (QueryIFs or FieldAccessIF)
when they locate the identity of an object in the database.
|
IdentityIF createIdentity(Class<?> type, long key)
IdentityIF createIdentity(Class<?> type, Object key)
IdentityIF createIdentity(Class<?> type, Object[] keys)
TicketIF getTicket()
void registerIdentity(TicketIF ticket, IdentityIF identity)
void registerField(TicketIF ticket, IdentityIF identity, int field, Object value)