Package com.easydesk.om.manager.base
Class BaseModuleManager
java.lang.Object
org.apache.torque.manager.AbstractBaseManager<EasyDeskModule>
com.easydesk.om.manager.base.BaseModuleManager
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ModuleManager
This class manages EasyDeskModule objects.
Group Detail Representation Table Artifactizable(Group)
This class was autogenerated by Torque on:
[Sun Oct 18 20:57:20 KST 2026]
You should not use this class directly. It should not even be
extended; all references should be to EasyDeskModuleBean
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringThe name of our class to pass to Torque as the default manager.protected static final StringThe name of the managerFields inherited from class org.apache.torque.manager.AbstractBaseManager
cache, groupCache, log, mrCache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddCacheListener(CacheListener<? extends Persistent> listener) static voidclear()static booleanexists(EasyDeskModule obj) protected booleancheck for a duplicate project namestatic EasyDeskModulegetCachedInstance(ObjectKey<?> id) Static accessor for the @see #cacheGet(ObjectKey).static EasyDeskModuleStatic accessor for the @see #getOMInstance().static EasyDeskModulegetInstance(Long id) Static accessor for the @see #getOMInstance(ObjectKey).static EasyDeskModulegetInstance(Long id, boolean fromCache) Static accessor for the @see #getOMInstance(ObjectKey).static EasyDeskModulegetInstance(ObjectKey<?> id) Static accessor for the @see #getOMInstance(ObjectKey).static EasyDeskModulegetInstance(ObjectKey<?> id, boolean fromCache) Static accessor for the @see #getOMInstance(ObjectKey, boolean).static List<EasyDeskModule> getInstances(List<? extends ObjectKey<?>> ids) Static accessor for the @see #getOMs(List).static List<EasyDeskModule> getInstances(List<? extends ObjectKey<?>> ids, boolean fromCache) Static accessor for the @see #getOMs(List, boolean).static ModuleManagerRetrieves an implementation of the manager, based on the settings in the configuration.static MethodResultCachestatic voidprotected EasyDeskModuleretrieveStoredOM(ObjectKey<?> id) Gets a ModuleEntity based on id.protected List<EasyDeskModule> retrieveStoredOMs(List<? extends ObjectKey<?>> ids) Gets a list of ModuleEntities based on id's.Methods inherited from class org.apache.torque.manager.AbstractBaseManager
addCacheListenerImpl, addValidField, cacheGet, clearImpl, dispose, getClassName, getMethodResultCache, getOMClass, getOMInstance, getOMInstance, getOMInstance, getOMs, getOMs, getOMs, getRegion, notifyListeners, putInstanceImpl, putInstanceImpl, registerAsListener, removeInstanceImpl, setClassName, setOMClass, setRegion
-
Field Details
-
MANAGED_CLASS
The name of the manager- See Also:
-
DEFAULT_MANAGER_CLASS
The name of our class to pass to Torque as the default manager.- See Also:
-
-
Constructor Details
-
BaseModuleManager
Creates a newBaseModuleManagerinstance.- Throws:
TorqueException- if an error occurs
-
-
Method Details
-
getManager
Retrieves an implementation of the manager, based on the settings in the configuration.- Returns:
- an implementation of ModuleManager.
-
getInstance
Static accessor for the @see #getOMInstance().- Returns:
- a
EasyDeskModulevalue - Throws:
TorqueException- if an error occurs
-
getInstance
Static accessor for the @see #getOMInstance(ObjectKey).- Parameters:
id- anObjectKeyvalue- Returns:
- a
EasyDeskModulevalue - Throws:
TorqueException- if an error occurs
-
getCachedInstance
Static accessor for the @see #cacheGet(ObjectKey). LoadsEasyDeskModulefrom cache, returnsnull, if instance is not in cache- Parameters:
id- anObjectKeyvalue- Returns:
- a
EasyDeskModulevalue - Throws:
TorqueException- if an error occurs
-
getInstance
Static accessor for the @see #getOMInstance(ObjectKey, boolean).- Parameters:
id- anObjectKeyvaluefromCache- if true, look for cached EasyDeskModules before loading from storage.- Returns:
- a
${interfaceName}value - Throws:
TorqueException- if an error occurs
-
getInstance
Static accessor for the @see #getOMInstance(ObjectKey).- Parameters:
id- anObjectKeyvalue- Returns:
- a
EasyDeskModulevalue - Throws:
TorqueException- if an error occurs
-
getInstance
Static accessor for the @see #getOMInstance(ObjectKey).- Parameters:
id- anObjectKeyvaluefromCache- if true, look for cached EasyDeskModules before loading from storage.- Returns:
- a
EasyDeskModulevalue - Throws:
TorqueException- if an error occurs
-
getInstances
public static List<EasyDeskModule> getInstances(List<? extends ObjectKey<?>> ids) throws TorqueException Static accessor for the @see #getOMs(List).- Parameters:
ids- aListvalue- Returns:
- a
Listvalue - Throws:
TorqueException- if an error occurs
-
getInstances
public static List<EasyDeskModule> getInstances(List<? extends ObjectKey<?>> ids, boolean fromCache) throws TorqueException Static accessor for the @see #getOMs(List, boolean).- Parameters:
ids- aListvaluefromCache- if true, look for cached EasyDeskModules before loading from storage.- Returns:
- a
Listvalue - Throws:
TorqueException- if an error occurs
-
putInstance
- Throws:
TorqueException
-
clear
- Throws:
TorqueException
-
exists
- Throws:
TorqueException
-
getMethodResult
-
addCacheListener
-
existsImpl
check for a duplicate project name- Throws:
TorqueException
-
retrieveStoredOM
Gets a ModuleEntity based on id.- Specified by:
retrieveStoredOMin classAbstractBaseManager<EasyDeskModule>- Parameters:
id- aNumberKeyvalue- Throws:
TorqueException
-
retrieveStoredOMs
protected List<EasyDeskModule> retrieveStoredOMs(List<? extends ObjectKey<?>> ids) throws TorqueException Gets a list of ModuleEntities based on id's.- Specified by:
retrieveStoredOMsin classAbstractBaseManager<EasyDeskModule>- Parameters:
ids- aNumberKey[]value- Returns:
- a
Listvalue - Throws:
TorqueException- if an error occurs
-