Class BaseScopeManager

java.lang.Object
org.apache.torque.manager.AbstractBaseManager<Scope>
com.easydesk.om.manager.base.BaseScopeManager
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ScopeManager

public abstract class BaseScopeManager extends AbstractBaseManager<Scope>
This class manages Scope objects. Scope Artifactizable(Scope) Optionable(Scope) This class was autogenerated by Torque on: [Sun Oct 18 20:57:19 KST 2026] You should not use this class directly. It should not even be extended; all references should be to ScopeBean
See Also:
  • Field Details

    • MANAGED_CLASS

      protected static final String MANAGED_CLASS
      The name of the manager
      See Also:
    • DEFAULT_MANAGER_CLASS

      protected static final String DEFAULT_MANAGER_CLASS
      The name of our class to pass to Torque as the default manager.
      See Also:
  • Constructor Details

    • BaseScopeManager

      public BaseScopeManager() throws TorqueException
      Creates a new BaseScopeManager instance.
      Throws:
      TorqueException - if an error occurs
  • Method Details

    • getManager

      public static ScopeManager getManager()
      Retrieves an implementation of the manager, based on the settings in the configuration.
      Returns:
      an implementation of ScopeManager.
    • getInstance

      public static Scope getInstance() throws TorqueException
      Static accessor for the @see #getOMInstance().
      Returns:
      a Scope value
      Throws:
      TorqueException - if an error occurs
    • getInstance

      public static Scope getInstance(ObjectKey<?> id) throws TorqueException
      Static accessor for the @see #getOMInstance(ObjectKey).
      Parameters:
      id - an ObjectKey value
      Returns:
      a Scope value
      Throws:
      TorqueException - if an error occurs
    • getCachedInstance

      public static Scope getCachedInstance(ObjectKey<?> id) throws TorqueException
      Static accessor for the @see #cacheGet(ObjectKey). Loads Scope from cache, returns null, if instance is not in cache
      Parameters:
      id - an ObjectKey value
      Returns:
      a Scope value
      Throws:
      TorqueException - if an error occurs
    • getInstance

      public static Scope getInstance(ObjectKey<?> id, boolean fromCache) throws TorqueException
      Static accessor for the @see #getOMInstance(ObjectKey, boolean).
      Parameters:
      id - an ObjectKey value
      fromCache - if true, look for cached Scopes before loading from storage.
      Returns:
      a ${interfaceName} value
      Throws:
      TorqueException - if an error occurs
    • getInstance

      public static Scope getInstance(Integer id) throws TorqueException
      Static accessor for the @see #getOMInstance(ObjectKey).
      Parameters:
      id - an ObjectKey value
      Returns:
      a Scope value
      Throws:
      TorqueException - if an error occurs
    • getInstance

      public static Scope getInstance(Integer id, boolean fromCache) throws TorqueException
      Static accessor for the @see #getOMInstance(ObjectKey).
      Parameters:
      id - an ObjectKey value
      fromCache - if true, look for cached Scopes before loading from storage.
      Returns:
      a Scope value
      Throws:
      TorqueException - if an error occurs
    • getInstances

      public static List<Scope> getInstances(List<? extends ObjectKey<?>> ids) throws TorqueException
      Static accessor for the @see #getOMs(List).
      Parameters:
      ids - a List value
      Returns:
      a List value
      Throws:
      TorqueException - if an error occurs
    • getInstances

      public static List<Scope> getInstances(List<? extends ObjectKey<?>> ids, boolean fromCache) throws TorqueException
      Static accessor for the @see #getOMs(List, boolean).
      Parameters:
      ids - a List value
      fromCache - if true, look for cached Scopes before loading from storage.
      Returns:
      a List value
      Throws:
      TorqueException - if an error occurs
    • putInstance

      public static void putInstance(Scope om) throws TorqueException
      Throws:
      TorqueException
    • clear

      public static void clear() throws TorqueException
      Throws:
      TorqueException
    • exists

      public static boolean exists(Scope obj) throws TorqueException
      Throws:
      TorqueException
    • getMethodResult

      public static MethodResultCache getMethodResult()
    • addCacheListener

      public static void addCacheListener(CacheListener<? extends Persistent> listener)
    • existsImpl

      protected boolean existsImpl(Scope om) throws TorqueException
      check for a duplicate project name
      Throws:
      TorqueException
    • retrieveStoredOM

      protected Scope retrieveStoredOM(ObjectKey<?> id) throws TorqueException
      Gets a ModuleEntity based on id.
      Specified by:
      retrieveStoredOM in class AbstractBaseManager<Scope>
      Parameters:
      id - a NumberKey value
      Throws:
      TorqueException
    • retrieveStoredOMs

      protected List<Scope> retrieveStoredOMs(List<? extends ObjectKey<?>> ids) throws TorqueException
      Gets a list of ModuleEntities based on id's.
      Specified by:
      retrieveStoredOMs in class AbstractBaseManager<Scope>
      Parameters:
      ids - a NumberKey[] value
      Returns:
      a List value
      Throws:
      TorqueException - if an error occurs