|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.torque.manager.AbstractBaseManager
org.tigris.scarab.om.BaseAttributeValueManager
This class manages AttributeValue objects. This class was autogenerated by Torque * You should not use this class directly. It should not even be extended all references should be to AttributeValueManager
| Field Summary | |
protected static java.lang.String |
DEFAULT_MANAGER_CLASS
The name of our class to pass to Torque as the default manager. |
protected static java.lang.String |
MANAGED_CLASS
The name of the manager |
| Fields inherited from class org.apache.torque.manager.AbstractBaseManager |
cache, listenersMap, log, mrCache, validFields |
| Constructor Summary | |
BaseAttributeValueManager()
Creates a new BaseAttributeValueManager instance. |
|
| Method Summary | |
static void |
addCacheListener(org.apache.torque.manager.CacheListener listener)
|
static void |
clear()
|
static boolean |
exists(AttributeValue obj)
|
protected boolean |
existsImpl(AttributeValue om)
check for a duplicate project name |
static AttributeValue |
getCachedInstance(org.apache.torque.om.ObjectKey id)
Static accessor for the @see #getCachedInstanceImpl(ObjectKey). |
protected AttributeValue |
getCachedInstanceImpl(org.apache.torque.om.ObjectKey id)
Get a AttributeValue with the given id from the cache. |
static AttributeValue |
getInstance()
Static accessor for the @see #getInstanceImpl(). |
static AttributeValue |
getInstance(java.lang.Long id)
Static accessor for the @see #getInstanceImpl(ObjectKey). |
static AttributeValue |
getInstance(java.lang.Long id,
boolean fromCache)
Static accessor for the @see #getInstanceImpl(ObjectKey). |
static AttributeValue |
getInstance(org.apache.torque.om.ObjectKey id)
Static accessor for the @see #getInstanceImpl(ObjectKey). |
static AttributeValue |
getInstance(org.apache.torque.om.ObjectKey id,
boolean fromCache)
Static accessor for the @see #getInstanceImpl(ObjectKey, boolean). |
protected AttributeValue |
getInstanceImpl()
Get a fresh instance of a AttributeValueManager |
protected AttributeValue |
getInstanceImpl(org.apache.torque.om.ObjectKey id)
Get a AttributeValue with the given id. |
protected AttributeValue |
getInstanceImpl(org.apache.torque.om.ObjectKey id,
boolean fromCache)
Get a AttributeValue with the given id. |
static java.util.List |
getInstances(java.util.List ids)
Static accessor for the @see #getInstancesImpl(List). |
static java.util.List |
getInstances(java.util.List ids,
boolean fromCache)
Static accessor for the @see #getInstancesImpl(List, boolean). |
protected java.util.List |
getInstancesImpl(java.util.List ids)
Gets a list of AttributeValues based on id's. |
protected java.util.List |
getInstancesImpl(java.util.List ids,
boolean fromCache)
Gets a list of AttributeValues based on id's. |
static AttributeValueManager |
getManager()
Retrieves an implementation of the manager, based on the settings in the configuration. |
static org.apache.torque.manager.MethodResultCache |
getMethodResult()
|
static void |
putInstance(org.apache.torque.om.Persistent om)
|
protected org.apache.torque.om.Persistent |
retrieveStoredOM(org.apache.torque.om.ObjectKey id)
|
protected java.util.List |
retrieveStoredOMs(java.util.List ids)
Gets a list of ModuleEntities based on id's. |
| Methods inherited from class org.apache.torque.manager.AbstractBaseManager |
addCacheListenerImpl, cacheGet, clearImpl, getClassName, getMethodResultCache, getOMClass, getOMInstance, getOMInstance, getOMInstance, getOMs, getOMs, getOMs, getRegion, notifyListeners, putInstanceImpl, putInstanceImpl, registerAsListener, removeInstanceImpl, setClassName, setOMClass, setRegion |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final java.lang.String MANAGED_CLASS
protected static final java.lang.String DEFAULT_MANAGER_CLASS
| Constructor Detail |
public BaseAttributeValueManager()
throws org.apache.torque.TorqueException
BaseAttributeValueManager instance.
org.apache.torque.TorqueException - if an error occurs| Method Detail |
public static AttributeValueManager getManager()
public static AttributeValue getInstance()
throws org.apache.torque.TorqueException
AttributeValue value
org.apache.torque.TorqueException - if an error occurs
public static AttributeValue getInstance(org.apache.torque.om.ObjectKey id)
throws org.apache.torque.TorqueException
id - an ObjectKey value
AttributeValue value
org.apache.torque.TorqueException - if an error occurs
public static AttributeValue getCachedInstance(org.apache.torque.om.ObjectKey id)
throws org.apache.torque.TorqueException
AttributeValue from cache, returns
null, if instance is not in cache
id - an ObjectKey value
AttributeValue value
org.apache.torque.TorqueException - if an error occurs
public static AttributeValue getInstance(org.apache.torque.om.ObjectKey id,
boolean fromCache)
throws org.apache.torque.TorqueException
id - an ObjectKey valuefromCache - if true, look for cached AttributeValues before loading
from storage.
AttributeValue value
org.apache.torque.TorqueException - if an error occurs
public static AttributeValue getInstance(java.lang.Long id)
throws org.apache.torque.TorqueException
id - an ObjectKey value
AttributeValue value
org.apache.torque.TorqueException - if an error occurs
public static AttributeValue getInstance(java.lang.Long id,
boolean fromCache)
throws org.apache.torque.TorqueException
id - an ObjectKey valuefromCache - if true, look for cached AttributeValues before loading
from storage.
AttributeValue value
org.apache.torque.TorqueException - if an error occurs
public static java.util.List getInstances(java.util.List ids)
throws org.apache.torque.TorqueException
ids - a List value
List value
org.apache.torque.TorqueException - if an error occurs
public static java.util.List getInstances(java.util.List ids,
boolean fromCache)
throws org.apache.torque.TorqueException
ids - a List valuefromCache - if true, look for cached AttributeValues before loading
from storage.
List value
org.apache.torque.TorqueException - if an error occurs
public static void putInstance(org.apache.torque.om.Persistent om)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public static void clear()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public static boolean exists(AttributeValue obj)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic static org.apache.torque.manager.MethodResultCache getMethodResult()
public static void addCacheListener(org.apache.torque.manager.CacheListener listener)
protected AttributeValue getInstanceImpl()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected AttributeValue getInstanceImpl(org.apache.torque.om.ObjectKey id)
throws org.apache.torque.TorqueException
id - ObjectKey value
org.apache.torque.TorqueException
protected AttributeValue getCachedInstanceImpl(org.apache.torque.om.ObjectKey id)
throws org.apache.torque.TorqueException
null if instance is not in cache
id - ObjectKey value
org.apache.torque.TorqueException
protected AttributeValue getInstanceImpl(org.apache.torque.om.ObjectKey id,
boolean fromCache)
throws org.apache.torque.TorqueException
id - ObjectKey valuefromCache - if true, look for cached AttributeValues before loading
from storage.
org.apache.torque.TorqueException
protected java.util.List getInstancesImpl(java.util.List ids)
throws org.apache.torque.TorqueException
ids - a List of ObjectKeys value
List of AttributeValues
org.apache.torque.TorqueException - if an error occurs
protected java.util.List getInstancesImpl(java.util.List ids,
boolean fromCache)
throws org.apache.torque.TorqueException
ids - a List of ObjectKeys valuefromCache - if true, look for cached AttributeValues before loading
from storage.
List of AttributeValues
org.apache.torque.TorqueException - if an error occurs
protected boolean existsImpl(AttributeValue om)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected org.apache.torque.om.Persistent retrieveStoredOM(org.apache.torque.om.ObjectKey id)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List retrieveStoredOMs(java.util.List ids)
throws org.apache.torque.TorqueException
ids - a NumberKey[] value
List value
org.apache.torque.TorqueException - if an error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||