net.sf.minuteProject.architecture.cache
Class DomainReferenceCache<T>
java.lang.Object
net.sf.minuteProject.architecture.cache.DomainReferenceCache<T>
public class DomainReferenceCache<T>
- extends Object
Method Summary |
T |
getObjectByPk(T pkObject)
|
T |
getObjectByUk(T ukObject)
|
T |
getPkByUk(T ukObject)
|
T |
getUkByPk(T pkObject,
int iteration)
|
void |
put(T fullObject,
T... key)
put insert the full object for a set of searchable mapping keys the first passed is the primarykey of the object,
the others are the uk |
void |
put(T fullObject,
T pkObject,
T ukObject,
int iteration)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainReferenceCache
public DomainReferenceCache()
put
public void put(T fullObject,
T... key)
- put insert the full object for a set of searchable mapping keys the first passed is the primarykey of the object,
the others are the uk
- Parameters:
fullObject
- key
-
put
public void put(T fullObject,
T pkObject,
T ukObject,
int iteration)
getObjectByPk
public T getObjectByPk(T pkObject)
getUkByPk
public T getUkByPk(T pkObject,
int iteration)
getObjectByUk
public T getObjectByUk(T ukObject)
getPkByUk
public T getPkByUk(T ukObject)
Copyright © 2013. All Rights Reserved.