| org.tigris.scarab.om.BaseModuleManager
All known Subclasses: org.tigris.scarab.om.ModuleManager,
BaseModuleManager | abstract public class BaseModuleManager extends AbstractBaseManager (Code) | | This class manages Module 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 ModuleManager
|
Constructor Summary | |
public | BaseModuleManager() Creates a new BaseModuleManager instance. |
Method Summary | |
public static void | addCacheListener(CacheListener listener) | public static void | clear() | public static boolean | exists(Module obj) | protected boolean | existsImpl(Module om) | public static Module | getCachedInstance(ObjectKey id) Static accessor for the @see #getCachedInstanceImpl(ObjectKey). | protected Module | getCachedInstanceImpl(ObjectKey id) Get a Module with the given id from the cache. | public static Module | getInstance() Static accessor for the @see #getInstanceImpl(). | public static Module | getInstance(ObjectKey id) Static accessor for the @see #getInstanceImpl(ObjectKey). | public static Module | getInstance(ObjectKey id, boolean fromCache) Static accessor for the @see #getInstanceImpl(ObjectKey, boolean).
Parameters: id - an ObjectKey value Parameters: fromCache - if true, look for cached Modules before loadingfrom storage. | public static Module | getInstance(Integer id) Static accessor for the @see #getInstanceImpl(ObjectKey). | public static Module | getInstance(Integer id, boolean fromCache) Static accessor for the @see #getInstanceImpl(ObjectKey).
Parameters: id - an ObjectKey value Parameters: fromCache - if true, look for cached Modules before loadingfrom storage. | protected Module | getInstanceImpl() | protected Module | getInstanceImpl(ObjectKey id) Get a Module with the given id. | protected Module | getInstanceImpl(ObjectKey id, boolean fromCache) Get a Module with the given id. | public static List | getInstances(List ids) Static accessor for the @see #getInstancesImpl(List). | public static List | getInstances(List ids, boolean fromCache) Static accessor for the @see #getInstancesImpl(List, boolean).
Parameters: ids - a List value Parameters: fromCache - if true, look for cached Modules before loadingfrom storage. | protected List | getInstancesImpl(List ids) Gets a list of Modules based on id's. | protected List | getInstancesImpl(List ids, boolean fromCache) Gets a list of Modules based on id's.
Parameters: ids - a List of ObjectKeys value Parameters: fromCache - if true, look for cached Modules before loadingfrom storage. | public static ModuleManager | getManager() Retrieves an implementation of the manager, based on the settings in
the configuration. | public static MethodResultCache | getMethodResult() | public static void | putInstance(Persistent om) | protected Persistent | retrieveStoredOM(ObjectKey id) | protected List | retrieveStoredOMs(List ids) Gets a list of ModuleEntities based on id's. |
DEFAULT_MANAGER_CLASS | final protected static String DEFAULT_MANAGER_CLASS(Code) | | The name of our class to pass to Torque as the default manager.
|
MANAGED_CLASS | final protected static String MANAGED_CLASS(Code) | | The name of the manager
|
BaseModuleManager | public BaseModuleManager() throws TorqueException(Code) | | Creates a new BaseModuleManager instance.
exception: TorqueException - if an error occurs |
addCacheListener | public static void addCacheListener(CacheListener listener)(Code) | | |
clear | public static void clear() throws TorqueException(Code) | | |
exists | public static boolean exists(Module obj) throws TorqueException(Code) | | |
existsImpl | protected boolean existsImpl(Module om) throws TorqueException(Code) | | check for a duplicate project name
|
getCachedInstance | public static Module getCachedInstance(ObjectKey id) throws TorqueException(Code) | | Static accessor for the @see #getCachedInstanceImpl(ObjectKey).
Loads Module from cache, returns
null , if instance is not in cache
Parameters: id - an ObjectKey value a Module value exception: TorqueException - if an error occurs |
getCachedInstanceImpl | protected Module getCachedInstanceImpl(ObjectKey id) throws TorqueException(Code) | | Get a Module with the given id from the cache. Returns
null if instance is not in cache
Parameters: id - ObjectKey value |
getInstance | public static Module getInstance() throws TorqueException(Code) | | Static accessor for the @see #getInstanceImpl().
a Module value exception: TorqueException - if an error occurs |
getInstance | public static Module getInstance(ObjectKey id) throws TorqueException(Code) | | Static accessor for the @see #getInstanceImpl(ObjectKey).
Parameters: id - an ObjectKey value a Module value exception: TorqueException - if an error occurs |
getInstance | public static Module getInstance(ObjectKey id, boolean fromCache) throws TorqueException(Code) | | Static accessor for the @see #getInstanceImpl(ObjectKey, boolean).
Parameters: id - an ObjectKey value Parameters: fromCache - if true, look for cached Modules before loadingfrom storage. a Module value exception: TorqueException - if an error occurs |
getInstance | public static Module getInstance(Integer id) throws TorqueException(Code) | | Static accessor for the @see #getInstanceImpl(ObjectKey).
Parameters: id - an ObjectKey value a Module value exception: TorqueException - if an error occurs |
getInstance | public static Module getInstance(Integer id, boolean fromCache) throws TorqueException(Code) | | Static accessor for the @see #getInstanceImpl(ObjectKey).
Parameters: id - an ObjectKey value Parameters: fromCache - if true, look for cached Modules before loadingfrom storage. a Module value exception: TorqueException - if an error occurs |
getInstanceImpl | protected Module getInstanceImpl() throws TorqueException(Code) | | Get a fresh instance of a ModuleManager
|
getInstanceImpl | protected Module getInstanceImpl(ObjectKey id) throws TorqueException(Code) | | Get a Module with the given id.
Parameters: id - ObjectKey value |
getInstanceImpl | protected Module getInstanceImpl(ObjectKey id, boolean fromCache) throws TorqueException(Code) | | Get a Module with the given id.
Parameters: id - ObjectKey value Parameters: fromCache - if true, look for cached Modules before loadingfrom storage. |
getInstances | public static List getInstances(List ids) throws TorqueException(Code) | | Static accessor for the @see #getInstancesImpl(List).
Parameters: ids - a List value a List value exception: TorqueException - if an error occurs |
getInstances | public static List getInstances(List ids, boolean fromCache) throws TorqueException(Code) | | Static accessor for the @see #getInstancesImpl(List, boolean).
Parameters: ids - a List value Parameters: fromCache - if true, look for cached Modules before loadingfrom storage. a List value exception: TorqueException - if an error occurs |
getInstancesImpl | protected List getInstancesImpl(List ids) throws TorqueException(Code) | | Gets a list of Modules based on id's.
Parameters: ids - a List of ObjectKeys value a List of Modules exception: TorqueException - if an error occurs |
getInstancesImpl | protected List getInstancesImpl(List ids, boolean fromCache) throws TorqueException(Code) | | Gets a list of Modules based on id's.
Parameters: ids - a List of ObjectKeys value Parameters: fromCache - if true, look for cached Modules before loadingfrom storage. a List of Modules exception: TorqueException - if an error occurs |
getManager | public static ModuleManager getManager()(Code) | | Retrieves an implementation of the manager, based on the settings in
the configuration.
an implementation of ModuleManager. |
getMethodResult | public static MethodResultCache getMethodResult()(Code) | | |
putInstance | public static void putInstance(Persistent om) throws TorqueException(Code) | | |
retrieveStoredOM | protected Persistent retrieveStoredOM(ObjectKey id) throws TorqueException(Code) | | |
retrieveStoredOMs | protected List retrieveStoredOMs(List ids) throws TorqueException(Code) | | Gets a list of ModuleEntities based on id's.
Parameters: ids - a NumberKey[] value a List value exception: TorqueException - if an error occurs |
|
|