org.apache.jetspeed.om.security.turbine
Class BaseTurbinePermissionManager

java.lang.Object
  |
  +--org.apache.torque.manager.AbstractBaseManager
        |
        +--org.apache.jetspeed.om.security.turbine.BaseTurbinePermissionManager
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TurbinePermissionManager

public abstract class BaseTurbinePermissionManager
extends org.apache.torque.manager.AbstractBaseManager

This class manages TurbinePermission objects. This class was autogenerated by Torque on: [Thu Apr 22 23:12:36 EDT 2004] You should not use this class directly. It should not even be extended all references should be to TurbinePermissionManager

See Also:
Serialized Form

Field Summary
protected static java.lang.String DEFAULT_MANAGER_CLASS
          The name of our class to pass to Torque as the default manager.
protected static java.lang.String MANAGED_CLASS
          The name of the manager
 
Fields inherited from class org.apache.torque.manager.AbstractBaseManager
cache, listenersMap, log, mrCache, validFields
 
Constructor Summary
BaseTurbinePermissionManager()
          Creates a new BaseTurbinePermissionManager instance.
 
Method Summary
static void addCacheListener(org.apache.torque.manager.CacheListener listener)
           
static void clear()
           
static boolean exists(org.apache.jetspeed.om.security.turbine.TurbinePermission obj)
           
protected  boolean existsImpl(org.apache.jetspeed.om.security.turbine.TurbinePermission om)
          check for a duplicate project name
static org.apache.jetspeed.om.security.turbine.TurbinePermission getInstance()
          Static accessor for the @see #getInstanceImpl().
static org.apache.jetspeed.om.security.turbine.TurbinePermission getInstance(int id)
          Static accessor for the @see #getInstanceImpl(ObjectKey).
static org.apache.jetspeed.om.security.turbine.TurbinePermission getInstance(int id, boolean fromCache)
          Static accessor for the @see #getInstanceImpl(ObjectKey).
static org.apache.jetspeed.om.security.turbine.TurbinePermission getInstance(org.apache.torque.om.ObjectKey id)
          Static accessor for the @see #getInstanceImpl(ObjectKey).
static org.apache.jetspeed.om.security.turbine.TurbinePermission getInstance(org.apache.torque.om.ObjectKey id, boolean fromCache)
          Static accessor for the @see #getInstanceImpl(ObjectKey, boolean).
protected  org.apache.jetspeed.om.security.turbine.TurbinePermission getInstanceImpl()
          Get a fresh instance of a TurbinePermissionManager
protected  org.apache.jetspeed.om.security.turbine.TurbinePermission getInstanceImpl(org.apache.torque.om.ObjectKey id)
          Get a TurbinePermission with the given id.
protected  org.apache.jetspeed.om.security.turbine.TurbinePermission getInstanceImpl(org.apache.torque.om.ObjectKey id, boolean fromCache)
          Get a TurbinePermission with the given id.
static java.util.List getInstances(java.util.List ids)
          Static accessor for the @see #getInstancesImpl(List).
static java.util.List getInstances(java.util.List ids, boolean fromCache)
          Static accessor for the @see #getInstancesImpl(List, boolean).
protected  java.util.List getInstancesImpl(java.util.List ids)
          Gets a list of TurbinePermissions based on id's.
protected  java.util.List getInstancesImpl(java.util.List ids, boolean fromCache)
          Gets a list of TurbinePermissions based on id's.
static org.apache.jetspeed.om.security.turbine.TurbinePermissionManager getManager()
          Retrieves an implementation of the manager, based on the settings in the configuration.
static org.apache.torque.manager.MethodResultCache getMethodResult()
           
static void putInstance(org.apache.torque.om.Persistent om)
           
protected  org.apache.torque.om.Persistent retrieveStoredOM(org.apache.torque.om.ObjectKey id)
           
protected  java.util.List retrieveStoredOMs(java.util.List ids)
          Gets a list of ModuleEntities based on id's.
 
Methods inherited from class org.apache.torque.manager.AbstractBaseManager
addCacheListenerImpl, cacheGet, clearImpl, getClassName, getMethodResultCache, getOMClass, getOMInstance, getOMInstance, getOMInstance, getOMs, getOMs, getOMs, getRegion, notifyListeners, putInstanceImpl, putInstanceImpl, registerAsListener, removeInstanceImpl, setClassName, setOMClass, setRegion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MANAGED_CLASS

protected static java.lang.String MANAGED_CLASS
The name of the manager


DEFAULT_MANAGER_CLASS

protected static java.lang.String DEFAULT_MANAGER_CLASS
The name of our class to pass to Torque as the default manager.

Constructor Detail

BaseTurbinePermissionManager

public BaseTurbinePermissionManager()
                             throws org.apache.torque.TorqueException
Creates a new BaseTurbinePermissionManager instance.

Throws:
org.apache.torque.TorqueException - if an error occurs
Method Detail

getManager

public static org.apache.jetspeed.om.security.turbine.TurbinePermissionManager getManager()
Retrieves an implementation of the manager, based on the settings in the configuration.

Returns:
an implementation of TurbinePermissionManager.

getInstance

public static org.apache.jetspeed.om.security.turbine.TurbinePermission getInstance()
                                                                             throws org.apache.torque.TorqueException
Static accessor for the @see #getInstanceImpl().

Returns:
a TurbinePermission value
Throws:
org.apache.torque.TorqueException - if an error occurs

getInstance

public static org.apache.jetspeed.om.security.turbine.TurbinePermission getInstance(org.apache.torque.om.ObjectKey id)
                                                                             throws org.apache.torque.TorqueException
Static accessor for the @see #getInstanceImpl(ObjectKey).

Parameters:
id - an ObjectKey value
Returns:
a TurbinePermission value
Throws:
org.apache.torque.TorqueException - if an error occurs

getInstance

public static org.apache.jetspeed.om.security.turbine.TurbinePermission getInstance(org.apache.torque.om.ObjectKey id,
                                                                                    boolean fromCache)
                                                                             throws org.apache.torque.TorqueException
Static accessor for the @see #getInstanceImpl(ObjectKey, boolean).

Parameters:
id - an ObjectKey value
Returns:
a TurbinePermission value
Throws:
org.apache.torque.TorqueException - if an error occurs

getInstance

public static org.apache.jetspeed.om.security.turbine.TurbinePermission getInstance(int id)
                                                                             throws org.apache.torque.TorqueException
Static accessor for the @see #getInstanceImpl(ObjectKey).

Parameters:
id - an ObjectKey value
Returns:
a TurbinePermission value
Throws:
org.apache.torque.TorqueException - if an error occurs

getInstance

public static org.apache.jetspeed.om.security.turbine.TurbinePermission getInstance(int id,
                                                                                    boolean fromCache)
                                                                             throws org.apache.torque.TorqueException
Static accessor for the @see #getInstanceImpl(ObjectKey).

Parameters:
id - an ObjectKey value
Returns:
a TurbinePermission value
Throws:
org.apache.torque.TorqueException - if an error occurs

getInstances

public static java.util.List getInstances(java.util.List ids)
                                   throws org.apache.torque.TorqueException
Static accessor for the @see #getInstancesImpl(List).

Parameters:
ids - a List value
Returns:
a List value
Throws:
org.apache.torque.TorqueException - if an error occurs

getInstances

public static java.util.List getInstances(java.util.List ids,
                                          boolean fromCache)
                                   throws org.apache.torque.TorqueException
Static accessor for the @see #getInstancesImpl(List, boolean).

Parameters:
ids - a List value
Returns:
a List value
Throws:
org.apache.torque.TorqueException - if an error occurs

putInstance

public static void putInstance(org.apache.torque.om.Persistent om)
                        throws org.apache.torque.TorqueException
org.apache.torque.TorqueException

clear

public static void clear()
                  throws org.apache.torque.TorqueException
org.apache.torque.TorqueException

exists

public static boolean exists(org.apache.jetspeed.om.security.turbine.TurbinePermission obj)
                      throws org.apache.torque.TorqueException
org.apache.torque.TorqueException

getMethodResult

public static org.apache.torque.manager.MethodResultCache getMethodResult()

addCacheListener

public static void addCacheListener(org.apache.torque.manager.CacheListener listener)

getInstanceImpl

protected org.apache.jetspeed.om.security.turbine.TurbinePermission getInstanceImpl()
                                                                             throws org.apache.torque.TorqueException
Get a fresh instance of a TurbinePermissionManager

org.apache.torque.TorqueException

getInstanceImpl

protected org.apache.jetspeed.om.security.turbine.TurbinePermission getInstanceImpl(org.apache.torque.om.ObjectKey id)
                                                                             throws org.apache.torque.TorqueException
Get a TurbinePermission with the given id.

Parameters:
id - ObjectKey value
org.apache.torque.TorqueException

getInstanceImpl

protected org.apache.jetspeed.om.security.turbine.TurbinePermission getInstanceImpl(org.apache.torque.om.ObjectKey id,
                                                                                    boolean fromCache)
                                                                             throws org.apache.torque.TorqueException
Get a TurbinePermission with the given id.

Parameters:
id - ObjectKey value
fromCache - if true, look for cached TurbinePermissions before loading from storage.
org.apache.torque.TorqueException

getInstancesImpl

protected java.util.List getInstancesImpl(java.util.List ids)
                                   throws org.apache.torque.TorqueException
Gets a list of TurbinePermissions based on id's.

Parameters:
ids - a List of ObjectKeys value
Returns:
a List of TurbinePermissions
Throws:
org.apache.torque.TorqueException - if an error occurs

getInstancesImpl

protected java.util.List getInstancesImpl(java.util.List ids,
                                          boolean fromCache)
                                   throws org.apache.torque.TorqueException
Gets a list of TurbinePermissions based on id's.

Parameters:
ids - a List of ObjectKeys value
fromCache - if true, look for cached TurbinePermissions before loading from storage.
Returns:
a List of TurbinePermissions
Throws:
org.apache.torque.TorqueException - if an error occurs

existsImpl

protected boolean existsImpl(org.apache.jetspeed.om.security.turbine.TurbinePermission om)
                      throws org.apache.torque.TorqueException
check for a duplicate project name

org.apache.torque.TorqueException

retrieveStoredOM

protected org.apache.torque.om.Persistent retrieveStoredOM(org.apache.torque.om.ObjectKey id)
                                                    throws org.apache.torque.TorqueException
Specified by:
retrieveStoredOM in class org.apache.torque.manager.AbstractBaseManager
org.apache.torque.TorqueException

retrieveStoredOMs

protected java.util.List retrieveStoredOMs(java.util.List ids)
                                    throws org.apache.torque.TorqueException
Gets a list of ModuleEntities based on id's.

Specified by:
retrieveStoredOMs in class org.apache.torque.manager.AbstractBaseManager
Returns:
a List value
Throws:
org.apache.torque.TorqueException - if an error occurs


Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.