| org.tigris.scarab.om.BaseActivityManager
All known Subclasses: org.tigris.scarab.om.ActivityManager,
BaseActivityManager | abstract public class BaseActivityManager extends AbstractBaseManager (Code) | | This class manages Activity 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 ActivityManager
|
Method Summary | |
public static void | addCacheListener(CacheListener listener) | public static void | clear() | public static boolean | exists(Activity obj) | protected boolean | existsImpl(Activity om) | public static Activity | getCachedInstance(ObjectKey id) Static accessor for the @see #getCachedInstanceImpl(ObjectKey). | protected Activity | getCachedInstanceImpl(ObjectKey id) Get a Activity with the given id from the cache. | public static Activity | getInstance() Static accessor for the @see #getInstanceImpl(). | public static Activity | getInstance(ObjectKey id) Static accessor for the @see #getInstanceImpl(ObjectKey). | public static Activity | 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 Activitys before loadingfrom storage. | public static Activity | getInstance(Long id) Static accessor for the @see #getInstanceImpl(ObjectKey). | public static Activity | getInstance(Long id, boolean fromCache) Static accessor for the @see #getInstanceImpl(ObjectKey).
Parameters: id - an ObjectKey value Parameters: fromCache - if true, look for cached Activitys before loadingfrom storage. | protected Activity | getInstanceImpl() | protected Activity | getInstanceImpl(ObjectKey id) Get a Activity with the given id. | protected Activity | getInstanceImpl(ObjectKey id, boolean fromCache) Get a Activity 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 Activitys before loadingfrom storage. | protected List | getInstancesImpl(List ids) Gets a list of Activitys based on id's. | protected List | getInstancesImpl(List ids, boolean fromCache) Gets a list of Activitys based on id's.
Parameters: ids - a List of ObjectKeys value Parameters: fromCache - if true, look for cached Activitys before loadingfrom storage. | public static ActivityManager | 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
|
BaseActivityManager | public BaseActivityManager() throws TorqueException(Code) | | Creates a new BaseActivityManager 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(Activity obj) throws TorqueException(Code) | | |
existsImpl | protected boolean existsImpl(Activity om) throws TorqueException(Code) | | check for a duplicate project name
|
getCachedInstance | public static Activity getCachedInstance(ObjectKey id) throws TorqueException(Code) | | Static accessor for the @see #getCachedInstanceImpl(ObjectKey).
Loads Activity from cache, returns
null , if instance is not in cache
Parameters: id - an ObjectKey value a Activity value exception: TorqueException - if an error occurs |
getCachedInstanceImpl | protected Activity getCachedInstanceImpl(ObjectKey id) throws TorqueException(Code) | | Get a Activity with the given id from the cache. Returns
null if instance is not in cache
Parameters: id - ObjectKey value |
getInstance | public static Activity getInstance() throws TorqueException(Code) | | Static accessor for the @see #getInstanceImpl().
a Activity value exception: TorqueException - if an error occurs |
getInstance | public static Activity getInstance(ObjectKey id) throws TorqueException(Code) | | Static accessor for the @see #getInstanceImpl(ObjectKey).
Parameters: id - an ObjectKey value a Activity value exception: TorqueException - if an error occurs |
getInstance | public static Activity 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 Activitys before loadingfrom storage. a Activity value exception: TorqueException - if an error occurs |
getInstance | public static Activity getInstance(Long id) throws TorqueException(Code) | | Static accessor for the @see #getInstanceImpl(ObjectKey).
Parameters: id - an ObjectKey value a Activity value exception: TorqueException - if an error occurs |
getInstance | public static Activity getInstance(Long 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 Activitys before loadingfrom storage. a Activity value exception: TorqueException - if an error occurs |
getInstanceImpl | protected Activity getInstanceImpl() throws TorqueException(Code) | | Get a fresh instance of a ActivityManager
|
getInstanceImpl | protected Activity getInstanceImpl(ObjectKey id) throws TorqueException(Code) | | Get a Activity with the given id.
Parameters: id - ObjectKey value |
getInstanceImpl | protected Activity getInstanceImpl(ObjectKey id, boolean fromCache) throws TorqueException(Code) | | Get a Activity with the given id.
Parameters: id - ObjectKey value Parameters: fromCache - if true, look for cached Activitys 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 Activitys 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 Activitys based on id's.
Parameters: ids - a List of ObjectKeys value a List of Activitys exception: TorqueException - if an error occurs |
getInstancesImpl | protected List getInstancesImpl(List ids, boolean fromCache) throws TorqueException(Code) | | Gets a list of Activitys based on id's.
Parameters: ids - a List of ObjectKeys value Parameters: fromCache - if true, look for cached Activitys before loadingfrom storage. a List of Activitys exception: TorqueException - if an error occurs |
getManager | public static ActivityManager getManager()(Code) | | Retrieves an implementation of the manager, based on the settings in
the configuration.
an implementation of ActivityManager. |
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 |
|
|