org.tigris.scarab.om
Class IssueManager

java.lang.Object
  extended byorg.apache.torque.manager.AbstractBaseManager
      extended byorg.tigris.scarab.om.BaseIssueManager
          extended byorg.tigris.scarab.om.IssueManager
All Implemented Interfaces:
org.apache.torque.manager.CacheListener, java.io.Serializable

public class IssueManager
extends BaseIssueManager
implements org.apache.torque.manager.CacheListener

This class manages Issue objects. The skeleton for this class was autogenerated by Torque * You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.

See Also:
Serialized Form

Field Summary
protected static java.lang.String GET_ISSUE_BY_ID
           
 
Fields inherited from class org.tigris.scarab.om.BaseIssueManager
DEFAULT_MANAGER_CLASS, MANAGED_CLASS
 
Fields inherited from class org.apache.torque.manager.AbstractBaseManager
cache, listenersMap, log, mrCache, validFields
 
Constructor Summary
IssueManager()
          Creates a new IssueManager instance.
 
Method Summary
 void addedObject(org.apache.torque.om.Persistent om)
           
 java.util.List getInterestedFields()
          fields which interest us with respect to cache events
static Issue getIssueById(Issue.FederatedId fid)
           
static Issue getIssueById(java.lang.String id)
          If the id is not specified, return null otherwise return the issue object.
static Issue getIssueById(java.lang.String id, java.lang.String defaultCode)
          If the id is not specified, return null otherwise return the issue object.
static Issue getIssueByIdImpl(Issue.FederatedId fid)
           
protected  org.apache.torque.om.Persistent putInstanceImpl(org.apache.torque.om.Persistent om)
           
 void refreshedObject(org.apache.torque.om.Persistent om)
           
protected  void registerAsListener()
          Notify other managers with relevant CacheEvents.
 
Methods inherited from class org.tigris.scarab.om.BaseIssueManager
addCacheListener, clear, exists, existsImpl, getCachedInstance, getCachedInstanceImpl, getInstance, getInstance, getInstance, getInstance, getInstance, getInstanceImpl, getInstanceImpl, getInstanceImpl, getInstances, getInstances, getInstancesImpl, getInstancesImpl, getManager, getMethodResult, putInstance, retrieveStoredOM, retrieveStoredOMs
 
Methods inherited from class org.apache.torque.manager.AbstractBaseManager
addCacheListenerImpl, cacheGet, clearImpl, getClassName, getMethodResultCache, getOMClass, getOMInstance, getOMInstance, getOMInstance, getOMs, getOMs, getOMs, getRegion, notifyListeners, putInstanceImpl, removeInstanceImpl, setClassName, setOMClass, setRegion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GET_ISSUE_BY_ID

protected static final java.lang.String GET_ISSUE_BY_ID
See Also:
Constant Field Values
Constructor Detail

IssueManager

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

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

getIssueById

public static Issue getIssueById(java.lang.String id,
                                 java.lang.String defaultCode)
If the id is not specified, return null otherwise return the issue object. if the id does not have a character prefix the default code is prepended


getIssueById

public static Issue getIssueById(java.lang.String id)
If the id is not specified, return null otherwise return the issue object.


getIssueById

public static Issue getIssueById(Issue.FederatedId fid)

getIssueByIdImpl

public static Issue getIssueByIdImpl(Issue.FederatedId fid)

putInstanceImpl

protected org.apache.torque.om.Persistent putInstanceImpl(org.apache.torque.om.Persistent om)
                                                   throws org.apache.torque.TorqueException
Throws:
org.apache.torque.TorqueException

registerAsListener

protected void registerAsListener()
Notify other managers with relevant CacheEvents.


addedObject

public void addedObject(org.apache.torque.om.Persistent om)
Specified by:
addedObject in interface org.apache.torque.manager.CacheListener

refreshedObject

public void refreshedObject(org.apache.torque.om.Persistent om)
Specified by:
refreshedObject in interface org.apache.torque.manager.CacheListener

getInterestedFields

public java.util.List getInterestedFields()
fields which interest us with respect to cache events

Specified by:
getInterestedFields in interface org.apache.torque.manager.CacheListener


Copyright © 2000-2004 Tigris.org. All Rights Reserved.