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