Class BaseReportManager

java.lang.Object
org.apache.torque.manager.AbstractBaseManager<Report>
com.easydesk.om.manager.base.BaseReportManager
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ReportManager

public abstract class BaseReportManager extends AbstractBaseManager<Report>
This class manages Report objects. Artifactizable(Report) 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 ReportBean
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

    • BaseReportManager

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

    • getManager

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

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

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

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

      public static Report 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 Reports before loading from storage.
      Returns:
      a ${interfaceName} value
      Throws:
      TorqueException - if an error occurs
    • getInstance

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

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

      public static List<Report> 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<Report> 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 Reports before loading from storage.
      Returns:
      a List value
      Throws:
      TorqueException - if an error occurs
    • putInstance

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

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

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

      public static MethodResultCache getMethodResult()
    • addCacheListener

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

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

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

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