org.tigris.scarab.om
Class BaseActivity

java.lang.Object
  extended byorg.apache.torque.om.BaseObject
      extended byorg.tigris.scarab.om.BaseActivity
All Implemented Interfaces:
org.apache.torque.om.Persistent, org.apache.fulcrum.intake.Retrievable, java.io.Serializable
Direct Known Subclasses:
Activity

public abstract class BaseActivity
extends org.apache.torque.om.BaseObject
implements org.apache.fulcrum.intake.Retrievable

You should not use this class directly. It should not even be extended all references should be to Activity

See Also:
Serialized Form

Field Summary
protected  java.util.List collNotificationStatuss
          Collection to store aggregation of collNotificationStatuss
 
Fields inherited from class org.apache.torque.om.BaseObject
NEW_ID
 
Constructor Summary
BaseActivity()
           
 
Method Summary
 void addNotificationStatus(NotificationStatus l)
          Method called to associate a NotificationStatus object to this object through the NotificationStatus foreign key attribute
 Activity copy()
          Makes a copy of this object.
protected  Activity copyInto(Activity copyObj)
           
 java.lang.Long getActivityId()
          Get the ActivityId
 ActivitySet getActivitySet()
          Returns the associated ActivitySet object.
 ActivitySet getActivitySet(java.sql.Connection connection)
          Return the associated ActivitySet object If it was not retrieved before, the object is retrieved from the database using the passed connection
 java.lang.String getActivityType()
          Get the ActivityType
 Attachment getAttachment()
          Returns the associated Attachment object.
 Attachment getAttachment(java.sql.Connection connection)
          Return the associated Attachment object If it was not retrieved before, the object is retrieved from the database using the passed connection
 java.lang.Long getAttachmentId()
          Get the AttachmentId
 Attribute getAttribute()
          Returns the associated Attribute object.
 Attribute getAttribute(java.sql.Connection connection)
          Return the associated Attribute object If it was not retrieved before, the object is retrieved from the database using the passed connection
 java.lang.Integer getAttributeId()
          Get the AttributeId
 AttributeOption getAttributeOptionRelatedByNewOptionId()
          Returns the associated AttributeOption object.
 AttributeOption getAttributeOptionRelatedByNewOptionId(java.sql.Connection connection)
          Return the associated AttributeOption object If it was not retrieved before, the object is retrieved from the database using the passed connection
 AttributeOption getAttributeOptionRelatedByOldOptionId()
          Returns the associated AttributeOption object.
 AttributeOption getAttributeOptionRelatedByOldOptionId(java.sql.Connection connection)
          Return the associated AttributeOption object If it was not retrieved before, the object is retrieved from the database using the passed connection
 java.lang.Object getByName(java.lang.String name)
          Retrieves a field from the object by name passed in as a String.
 java.lang.Object getByPeerName(java.lang.String name)
          Retrieves a field from the object by name passed in as a String.
 java.lang.Object getByPosition(int pos)
          Retrieves a field from the object by Position as specified in the xml schema.
 Depend getDepend()
          Returns the associated Depend object.
 Depend getDepend(java.sql.Connection connection)
          Return the associated Depend object If it was not retrieved before, the object is retrieved from the database using the passed connection
 java.lang.Integer getDependId()
          Get the DependId
 java.lang.String getDescription()
          Get the Description
 java.util.Date getEndDate()
          Get the EndDate
static java.util.List getFieldNames()
          Generate a list of field names.
 Issue getIssue()
          Returns the associated Issue object.
 Issue getIssue(java.sql.Connection connection)
          Return the associated Issue object If it was not retrieved before, the object is retrieved from the database using the passed connection
 java.lang.Long getIssueId()
          Get the IssueId
 java.lang.Integer getNewNumericValue()
          Get the NewNumericValue
 java.lang.Integer getNewOptionId()
          Get the NewOptionId
 java.lang.Integer getNewUserId()
          Get the NewUserId
 java.lang.String getNewValue()
          Get the NewValue
 java.util.List getNotificationStatuss()
          If this collection has already been initialized, returns the collection.
 java.util.List getNotificationStatuss(java.sql.Connection con)
          If this collection has already been initialized, returns the collection.
 java.util.List getNotificationStatuss(org.apache.torque.util.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.util.List getNotificationStatuss(org.apache.torque.util.Criteria criteria, java.sql.Connection con)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.List getNotificationStatussJoinActivity(org.apache.torque.util.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.List getNotificationStatussJoinScarabUserImpl(org.apache.torque.util.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.lang.Integer getOldNumericValue()
          Get the OldNumericValue
 java.lang.Integer getOldOptionId()
          Get the OldOptionId
 java.lang.Integer getOldUserId()
          Get the OldUserId
 java.lang.String getOldValue()
          Get the OldValue
 ActivityPeer getPeer()
          returns a peer instance associated with this om.
 org.apache.torque.om.ObjectKey getPrimaryKey()
          returns an id that differentiates this object from others of its class.
 java.lang.String getQueryKey()
          get an id that differentiates this object from others of its class.
 ScarabUser getScarabUserRelatedByNewUserId()
          Returns the associated ScarabUser object.
 ScarabUser getScarabUserRelatedByNewUserId(java.sql.Connection connection)
          Return the associated ScarabUser object If it was not retrieved before, the object is retrieved from the database using the passed connection
 ScarabUser getScarabUserRelatedByOldUserId()
          Returns the associated ScarabUser object.
 ScarabUser getScarabUserRelatedByOldUserId(java.sql.Connection connection)
          Return the associated ScarabUser object If it was not retrieved before, the object is retrieved from the database using the passed connection
 java.lang.Long getTransactionId()
          Get the TransactionId
protected  void initNotificationStatuss()
          Temporary storage of collNotificationStatuss to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
protected  boolean isCacheOnSave()
          Specify whether to cache the object after saving to the db.
 void save()
          Stores the object in the database.
 void save(java.sql.Connection con)
          Stores the object in the database.
 void save(java.lang.String dbName)
          Stores the object in the database.
 void setActivityId(java.lang.Long v)
          Set the value of ActivityId
 void setActivitySet(ActivitySet v)
          Declares an association between this object and a ActivitySet object
 void setActivitySetKey(org.apache.torque.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())
 void setActivityType(java.lang.String v)
          Set the value of ActivityType
 void setAttachment(Attachment v)
          Declares an association between this object and a Attachment object
 void setAttachmentId(java.lang.Long v)
          Set the value of AttachmentId
 void setAttachmentKey(org.apache.torque.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())
 void setAttribute(Attribute v)
          Declares an association between this object and a Attribute object
 void setAttributeId(java.lang.Integer v)
          Set the value of AttributeId
 void setAttributeKey(org.apache.torque.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())
 void setAttributeOptionRelatedByNewOptionId(AttributeOption v)
          Declares an association between this object and a AttributeOption object
 void setAttributeOptionRelatedByNewOptionIdKey(org.apache.torque.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())
 void setAttributeOptionRelatedByOldOptionId(AttributeOption v)
          Declares an association between this object and a AttributeOption object
 void setAttributeOptionRelatedByOldOptionIdKey(org.apache.torque.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())
 void setDepend(Depend v)
          Declares an association between this object and a Depend object
 void setDependId(java.lang.Integer v)
          Set the value of DependId
 void setDependKey(org.apache.torque.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())
 void setDescription(java.lang.String v)
          Set the value of Description
 void setEndDate(java.util.Date v)
          Set the value of EndDate
 void setIssue(Issue v)
          Declares an association between this object and a Issue object
 void setIssueId(java.lang.Long v)
          Set the value of IssueId
 void setIssueKey(org.apache.torque.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())
 void setNewNumericValue(java.lang.Integer v)
          Set the value of NewNumericValue
 void setNewOptionId(java.lang.Integer v)
          Set the value of NewOptionId
 void setNewUserId(java.lang.Integer v)
          Set the value of NewUserId
 void setNewValue(java.lang.String v)
          Set the value of NewValue
 void setOldNumericValue(java.lang.Integer v)
          Set the value of OldNumericValue
 void setOldOptionId(java.lang.Integer v)
          Set the value of OldOptionId
 void setOldUserId(java.lang.Integer v)
          Set the value of OldUserId
 void setOldValue(java.lang.String v)
          Set the value of OldValue
 void setPrimaryKey(org.apache.torque.om.ObjectKey key)
          Set the PrimaryKey using ObjectKey.
 void setPrimaryKey(java.lang.String key)
          Set the PrimaryKey using a String.
 void setQueryKey(java.lang.String key)
          set an id that differentiates this object from others of its class.
 void setScarabUserRelatedByNewUserId(ScarabUser v)
          Declares an association between this object and a ScarabUser object
 void setScarabUserRelatedByNewUserIdKey(org.apache.torque.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())
 void setScarabUserRelatedByOldUserId(ScarabUser v)
          Declares an association between this object and a ScarabUser object
 void setScarabUserRelatedByOldUserIdKey(org.apache.torque.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())
 void setTransactionId(java.lang.Long v)
          Set the value of TransactionId
 java.lang.String toString()
           
 
Methods inherited from class org.apache.torque.om.BaseObject
equals, equals, getLog, hashCode, isModified, isNew, resetModified, setModified, setNew, setPrimaryKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

collNotificationStatuss

protected java.util.List collNotificationStatuss
Collection to store aggregation of collNotificationStatuss

Constructor Detail

BaseActivity

public BaseActivity()
Method Detail

getActivityId

public java.lang.Long getActivityId()
Get the ActivityId

Returns:
Long

setActivityId

public void setActivityId(java.lang.Long v)
                   throws org.apache.torque.TorqueException
Set the value of ActivityId

Parameters:
v - new value
Throws:
org.apache.torque.TorqueException

getIssueId

public java.lang.Long getIssueId()
Get the IssueId

Returns:
Long

setIssueId

public void setIssueId(java.lang.Long v)
                throws org.apache.torque.TorqueException
Set the value of IssueId

Parameters:
v - new value
Throws:
org.apache.torque.TorqueException

getAttributeId

public java.lang.Integer getAttributeId()
Get the AttributeId

Returns:
Integer

setAttributeId

public void setAttributeId(java.lang.Integer v)
                    throws org.apache.torque.TorqueException
Set the value of AttributeId

Parameters:
v - new value
Throws:
org.apache.torque.TorqueException

getTransactionId

public java.lang.Long getTransactionId()
Get the TransactionId

Returns:
Long

setTransactionId

public void setTransactionId(java.lang.Long v)
                      throws org.apache.torque.TorqueException
Set the value of TransactionId

Parameters:
v - new value
Throws:
org.apache.torque.TorqueException

getOldNumericValue

public java.lang.Integer getOldNumericValue()
Get the OldNumericValue

Returns:
Integer

setOldNumericValue

public void setOldNumericValue(java.lang.Integer v)
Set the value of OldNumericValue

Parameters:
v - new value

getNewNumericValue

public java.lang.Integer getNewNumericValue()
Get the NewNumericValue

Returns:
Integer

setNewNumericValue

public void setNewNumericValue(java.lang.Integer v)
Set the value of NewNumericValue

Parameters:
v - new value

getOldUserId

public java.lang.Integer getOldUserId()
Get the OldUserId

Returns:
Integer

setOldUserId

public void setOldUserId(java.lang.Integer v)
                  throws org.apache.torque.TorqueException
Set the value of OldUserId

Parameters:
v - new value
Throws:
org.apache.torque.TorqueException

getNewUserId

public java.lang.Integer getNewUserId()
Get the NewUserId

Returns:
Integer

setNewUserId

public void setNewUserId(java.lang.Integer v)
                  throws org.apache.torque.TorqueException
Set the value of NewUserId

Parameters:
v - new value
Throws:
org.apache.torque.TorqueException

getOldOptionId

public java.lang.Integer getOldOptionId()
Get the OldOptionId

Returns:
Integer

setOldOptionId

public void setOldOptionId(java.lang.Integer v)
                    throws org.apache.torque.TorqueException
Set the value of OldOptionId

Parameters:
v - new value
Throws:
org.apache.torque.TorqueException

getNewOptionId

public java.lang.Integer getNewOptionId()
Get the NewOptionId

Returns:
Integer

setNewOptionId

public void setNewOptionId(java.lang.Integer v)
                    throws org.apache.torque.TorqueException
Set the value of NewOptionId

Parameters:
v - new value
Throws:
org.apache.torque.TorqueException

getOldValue

public java.lang.String getOldValue()
Get the OldValue

Returns:
String

setOldValue

public void setOldValue(java.lang.String v)
Set the value of OldValue

Parameters:
v - new value

getNewValue

public java.lang.String getNewValue()
Get the NewValue

Returns:
String

setNewValue

public void setNewValue(java.lang.String v)
Set the value of NewValue

Parameters:
v - new value

getDependId

public java.lang.Integer getDependId()
Get the DependId

Returns:
Integer

setDependId

public void setDependId(java.lang.Integer v)
                 throws org.apache.torque.TorqueException
Set the value of DependId

Parameters:
v - new value
Throws:
org.apache.torque.TorqueException

getDescription

public java.lang.String getDescription()
Get the Description

Returns:
String

setDescription

public void setDescription(java.lang.String v)
Set the value of Description

Parameters:
v - new value

getEndDate

public java.util.Date getEndDate()
Get the EndDate

Returns:
Date

setEndDate

public void setEndDate(java.util.Date v)
Set the value of EndDate

Parameters:
v - new value

getAttachmentId

public java.lang.Long getAttachmentId()
Get the AttachmentId

Returns:
Long

setAttachmentId

public void setAttachmentId(java.lang.Long v)
                     throws org.apache.torque.TorqueException
Set the value of AttachmentId

Parameters:
v - new value
Throws:
org.apache.torque.TorqueException

getActivityType

public java.lang.String getActivityType()
Get the ActivityType

Returns:
String

setActivityType

public void setActivityType(java.lang.String v)
Set the value of ActivityType

Parameters:
v - new value

setIssue

public void setIssue(Issue v)
              throws org.apache.torque.TorqueException
Declares an association between this object and a Issue object

Parameters:
v - Issue
Throws:
org.apache.torque.TorqueException

getIssue

public Issue getIssue()
               throws org.apache.torque.TorqueException
Returns the associated Issue object. If it was not retrieved before, the object is retrieved from the database

Returns:
the associated Issue object
Throws:
org.apache.torque.TorqueException

getIssue

public Issue getIssue(java.sql.Connection connection)
               throws org.apache.torque.TorqueException
Return the associated Issue object If it was not retrieved before, the object is retrieved from the database using the passed connection

Parameters:
connection - the connection used to retrieve the associated object from the database, if it was not retrieved before
Returns:
the associated Issue object
Throws:
org.apache.torque.TorqueException

setIssueKey

public void setIssueKey(org.apache.torque.om.ObjectKey key)
                 throws org.apache.torque.TorqueException
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())

Throws:
org.apache.torque.TorqueException

setAttribute

public void setAttribute(Attribute v)
                  throws org.apache.torque.TorqueException
Declares an association between this object and a Attribute object

Parameters:
v - Attribute
Throws:
org.apache.torque.TorqueException

getAttribute

public Attribute getAttribute()
                       throws org.apache.torque.TorqueException
Returns the associated Attribute object. If it was not retrieved before, the object is retrieved from the database

Returns:
the associated Attribute object
Throws:
org.apache.torque.TorqueException

getAttribute

public Attribute getAttribute(java.sql.Connection connection)
                       throws org.apache.torque.TorqueException
Return the associated Attribute object If it was not retrieved before, the object is retrieved from the database using the passed connection

Parameters:
connection - the connection used to retrieve the associated object from the database, if it was not retrieved before
Returns:
the associated Attribute object
Throws:
org.apache.torque.TorqueException

setAttributeKey

public void setAttributeKey(org.apache.torque.om.ObjectKey key)
                     throws org.apache.torque.TorqueException
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())

Throws:
org.apache.torque.TorqueException

setActivitySet

public void setActivitySet(ActivitySet v)
                    throws org.apache.torque.TorqueException
Declares an association between this object and a ActivitySet object

Parameters:
v - ActivitySet
Throws:
org.apache.torque.TorqueException

getActivitySet

public ActivitySet getActivitySet()
                           throws org.apache.torque.TorqueException
Returns the associated ActivitySet object. If it was not retrieved before, the object is retrieved from the database

Returns:
the associated ActivitySet object
Throws:
org.apache.torque.TorqueException

getActivitySet

public ActivitySet getActivitySet(java.sql.Connection connection)
                           throws org.apache.torque.TorqueException
Return the associated ActivitySet object If it was not retrieved before, the object is retrieved from the database using the passed connection

Parameters:
connection - the connection used to retrieve the associated object from the database, if it was not retrieved before
Returns:
the associated ActivitySet object
Throws:
org.apache.torque.TorqueException

setActivitySetKey

public void setActivitySetKey(org.apache.torque.om.ObjectKey key)
                       throws org.apache.torque.TorqueException
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())

Throws:
org.apache.torque.TorqueException

setScarabUserRelatedByOldUserId

public void setScarabUserRelatedByOldUserId(ScarabUser v)
                                     throws org.apache.torque.TorqueException
Declares an association between this object and a ScarabUser object

Parameters:
v - ScarabUser
Throws:
org.apache.torque.TorqueException

getScarabUserRelatedByOldUserId

public ScarabUser getScarabUserRelatedByOldUserId()
                                           throws org.apache.torque.TorqueException
Returns the associated ScarabUser object. If it was not retrieved before, the object is retrieved from the database

Returns:
the associated ScarabUser object
Throws:
org.apache.torque.TorqueException

getScarabUserRelatedByOldUserId

public ScarabUser getScarabUserRelatedByOldUserId(java.sql.Connection connection)
                                           throws org.apache.torque.TorqueException
Return the associated ScarabUser object If it was not retrieved before, the object is retrieved from the database using the passed connection

Parameters:
connection - the connection used to retrieve the associated object from the database, if it was not retrieved before
Returns:
the associated ScarabUser object
Throws:
org.apache.torque.TorqueException

setScarabUserRelatedByOldUserIdKey

public void setScarabUserRelatedByOldUserIdKey(org.apache.torque.om.ObjectKey key)
                                        throws org.apache.torque.TorqueException
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())

Throws:
org.apache.torque.TorqueException

setScarabUserRelatedByNewUserId

public void setScarabUserRelatedByNewUserId(ScarabUser v)
                                     throws org.apache.torque.TorqueException
Declares an association between this object and a ScarabUser object

Parameters:
v - ScarabUser
Throws:
org.apache.torque.TorqueException

getScarabUserRelatedByNewUserId

public ScarabUser getScarabUserRelatedByNewUserId()
                                           throws org.apache.torque.TorqueException
Returns the associated ScarabUser object. If it was not retrieved before, the object is retrieved from the database

Returns:
the associated ScarabUser object
Throws:
org.apache.torque.TorqueException

getScarabUserRelatedByNewUserId

public ScarabUser getScarabUserRelatedByNewUserId(java.sql.Connection connection)
                                           throws org.apache.torque.TorqueException
Return the associated ScarabUser object If it was not retrieved before, the object is retrieved from the database using the passed connection

Parameters:
connection - the connection used to retrieve the associated object from the database, if it was not retrieved before
Returns:
the associated ScarabUser object
Throws:
org.apache.torque.TorqueException

setScarabUserRelatedByNewUserIdKey

public void setScarabUserRelatedByNewUserIdKey(org.apache.torque.om.ObjectKey key)
                                        throws org.apache.torque.TorqueException
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())

Throws:
org.apache.torque.TorqueException

setAttributeOptionRelatedByOldOptionId

public void setAttributeOptionRelatedByOldOptionId(AttributeOption v)
                                            throws org.apache.torque.TorqueException
Declares an association between this object and a AttributeOption object

Parameters:
v - AttributeOption
Throws:
org.apache.torque.TorqueException

getAttributeOptionRelatedByOldOptionId

public AttributeOption getAttributeOptionRelatedByOldOptionId()
                                                       throws org.apache.torque.TorqueException
Returns the associated AttributeOption object. If it was not retrieved before, the object is retrieved from the database

Returns:
the associated AttributeOption object
Throws:
org.apache.torque.TorqueException

getAttributeOptionRelatedByOldOptionId

public AttributeOption getAttributeOptionRelatedByOldOptionId(java.sql.Connection connection)
                                                       throws org.apache.torque.TorqueException
Return the associated AttributeOption object If it was not retrieved before, the object is retrieved from the database using the passed connection

Parameters:
connection - the connection used to retrieve the associated object from the database, if it was not retrieved before
Returns:
the associated AttributeOption object
Throws:
org.apache.torque.TorqueException

setAttributeOptionRelatedByOldOptionIdKey

public void setAttributeOptionRelatedByOldOptionIdKey(org.apache.torque.om.ObjectKey key)
                                               throws org.apache.torque.TorqueException
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())

Throws:
org.apache.torque.TorqueException

setAttributeOptionRelatedByNewOptionId

public void setAttributeOptionRelatedByNewOptionId(AttributeOption v)
                                            throws org.apache.torque.TorqueException
Declares an association between this object and a AttributeOption object

Parameters:
v - AttributeOption
Throws:
org.apache.torque.TorqueException

getAttributeOptionRelatedByNewOptionId

public AttributeOption getAttributeOptionRelatedByNewOptionId()
                                                       throws org.apache.torque.TorqueException
Returns the associated AttributeOption object. If it was not retrieved before, the object is retrieved from the database

Returns:
the associated AttributeOption object
Throws:
org.apache.torque.TorqueException

getAttributeOptionRelatedByNewOptionId

public AttributeOption getAttributeOptionRelatedByNewOptionId(java.sql.Connection connection)
                                                       throws org.apache.torque.TorqueException
Return the associated AttributeOption object If it was not retrieved before, the object is retrieved from the database using the passed connection

Parameters:
connection - the connection used to retrieve the associated object from the database, if it was not retrieved before
Returns:
the associated AttributeOption object
Throws:
org.apache.torque.TorqueException

setAttributeOptionRelatedByNewOptionIdKey

public void setAttributeOptionRelatedByNewOptionIdKey(org.apache.torque.om.ObjectKey key)
                                               throws org.apache.torque.TorqueException
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())

Throws:
org.apache.torque.TorqueException

setAttachment

public void setAttachment(Attachment v)
                   throws org.apache.torque.TorqueException
Declares an association between this object and a Attachment object

Parameters:
v - Attachment
Throws:
org.apache.torque.TorqueException

getAttachment

public Attachment getAttachment()
                         throws org.apache.torque.TorqueException
Returns the associated Attachment object. If it was not retrieved before, the object is retrieved from the database

Returns:
the associated Attachment object
Throws:
org.apache.torque.TorqueException

getAttachment

public Attachment getAttachment(java.sql.Connection connection)
                         throws org.apache.torque.TorqueException
Return the associated Attachment object If it was not retrieved before, the object is retrieved from the database using the passed connection

Parameters:
connection - the connection used to retrieve the associated object from the database, if it was not retrieved before
Returns:
the associated Attachment object
Throws:
org.apache.torque.TorqueException

setAttachmentKey

public void setAttachmentKey(org.apache.torque.om.ObjectKey key)
                      throws org.apache.torque.TorqueException
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())

Throws:
org.apache.torque.TorqueException

setDepend

public void setDepend(Depend v)
               throws org.apache.torque.TorqueException
Declares an association between this object and a Depend object

Parameters:
v - Depend
Throws:
org.apache.torque.TorqueException

getDepend

public Depend getDepend()
                 throws org.apache.torque.TorqueException
Returns the associated Depend object. If it was not retrieved before, the object is retrieved from the database

Returns:
the associated Depend object
Throws:
org.apache.torque.TorqueException

getDepend

public Depend getDepend(java.sql.Connection connection)
                 throws org.apache.torque.TorqueException
Return the associated Depend object If it was not retrieved before, the object is retrieved from the database using the passed connection

Parameters:
connection - the connection used to retrieve the associated object from the database, if it was not retrieved before
Returns:
the associated Depend object
Throws:
org.apache.torque.TorqueException

setDependKey

public void setDependKey(org.apache.torque.om.ObjectKey key)
                  throws org.apache.torque.TorqueException
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())

Throws:
org.apache.torque.TorqueException

initNotificationStatuss

protected void initNotificationStatuss()
Temporary storage of collNotificationStatuss to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.


addNotificationStatus

public void addNotificationStatus(NotificationStatus l)
                           throws org.apache.torque.TorqueException
Method called to associate a NotificationStatus object to this object through the NotificationStatus foreign key attribute

Parameters:
l - NotificationStatus
Throws:
org.apache.torque.TorqueException

getNotificationStatuss

public java.util.List getNotificationStatuss()
                                      throws org.apache.torque.TorqueException
If this collection has already been initialized, returns the collection. Otherwise returns the results of getNotificationStatuss(new Criteria())

Returns:
the collection of associated objects
Throws:
org.apache.torque.TorqueException

getNotificationStatuss

public java.util.List getNotificationStatuss(org.apache.torque.util.Criteria criteria)
                                      throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Activity has previously been saved, it will retrieve related NotificationStatuss from storage. If this Activity is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

Throws:
org.apache.torque.TorqueException

getNotificationStatuss

public java.util.List getNotificationStatuss(java.sql.Connection con)
                                      throws org.apache.torque.TorqueException
If this collection has already been initialized, returns the collection. Otherwise returns the results of getNotificationStatuss(new Criteria(),Connection) This method takes in the Connection also as input so that referenced objects can also be obtained using a Connection that is taken as input

Throws:
org.apache.torque.TorqueException

getNotificationStatuss

public java.util.List getNotificationStatuss(org.apache.torque.util.Criteria criteria,
                                             java.sql.Connection con)
                                      throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Activity has previously been saved, it will retrieve related NotificationStatuss from storage. If this Activity is new, it will return an empty collection or the current collection, the criteria is ignored on a new object. This method takes in the Connection also as input so that referenced objects can also be obtained using a Connection that is taken as input

Throws:
org.apache.torque.TorqueException

getNotificationStatussJoinScarabUserImpl

protected java.util.List getNotificationStatussJoinScarabUserImpl(org.apache.torque.util.Criteria criteria)
                                                           throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Activity is new, it will return an empty collection; or if this Activity has previously been saved, it will retrieve related NotificationStatuss from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Activity.

Throws:
org.apache.torque.TorqueException

getNotificationStatussJoinActivity

protected java.util.List getNotificationStatussJoinActivity(org.apache.torque.util.Criteria criteria)
                                                     throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Activity is new, it will return an empty collection; or if this Activity has previously been saved, it will retrieve related NotificationStatuss from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Activity.

Throws:
org.apache.torque.TorqueException

getFieldNames

public static java.util.List getFieldNames()
Generate a list of field names.

Returns:
a list of field names

getByName

public java.lang.Object getByName(java.lang.String name)
Retrieves a field from the object by name passed in as a String.

Parameters:
name - field name
Returns:
value

getByPeerName

public java.lang.Object getByPeerName(java.lang.String name)
Retrieves a field from the object by name passed in as a String. The String must be one of the static Strings defined in this Class' Peer.

Parameters:
name - peer name
Returns:
value

getByPosition

public java.lang.Object getByPosition(int pos)
Retrieves a field from the object by Position as specified in the xml schema. Zero-based.

Parameters:
pos - position in xml schema
Returns:
value

save

public void save()
          throws org.apache.torque.TorqueException
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed.

Specified by:
save in interface org.apache.torque.om.Persistent
Throws:
org.apache.torque.TorqueException

save

public void save(java.lang.String dbName)
          throws org.apache.torque.TorqueException
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed. Note: this code is here because the method body is auto-generated conditionally and therefore needs to be in this file instead of in the super class, BaseObject.

Specified by:
save in interface org.apache.torque.om.Persistent
Parameters:
dbName -
Throws:
org.apache.torque.TorqueException

save

public void save(java.sql.Connection con)
          throws org.apache.torque.TorqueException
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed. This method is meant to be used as part of a transaction, otherwise use the save() method and the connection details will be handled internally

Specified by:
save in interface org.apache.torque.om.Persistent
Parameters:
con -
Throws:
org.apache.torque.TorqueException

isCacheOnSave

protected boolean isCacheOnSave()
Specify whether to cache the object after saving to the db. This method returns true


setPrimaryKey

public void setPrimaryKey(org.apache.torque.om.ObjectKey key)
                   throws org.apache.torque.TorqueException
Set the PrimaryKey using ObjectKey.

Specified by:
setPrimaryKey in interface org.apache.torque.om.Persistent
Parameters:
key - activityId ObjectKey
Throws:
org.apache.torque.TorqueException

setPrimaryKey

public void setPrimaryKey(java.lang.String key)
                   throws org.apache.torque.TorqueException
Set the PrimaryKey using a String.

Specified by:
setPrimaryKey in interface org.apache.torque.om.Persistent
Parameters:
key -
Throws:
org.apache.torque.TorqueException

getPrimaryKey

public org.apache.torque.om.ObjectKey getPrimaryKey()
returns an id that differentiates this object from others of its class.

Specified by:
getPrimaryKey in interface org.apache.torque.om.Persistent

getQueryKey

public java.lang.String getQueryKey()
get an id that differentiates this object from others of its class.

Specified by:
getQueryKey in interface org.apache.fulcrum.intake.Retrievable

setQueryKey

public void setQueryKey(java.lang.String key)
                 throws org.apache.torque.TorqueException
set an id that differentiates this object from others of its class.

Specified by:
setQueryKey in interface org.apache.fulcrum.intake.Retrievable
Throws:
org.apache.torque.TorqueException

copy

public Activity copy()
              throws org.apache.torque.TorqueException
Makes a copy of this object. It creates a new object filling in the simple attributes. It then fills all the association collections and sets the related objects to isNew=true.

Throws:
org.apache.torque.TorqueException

copyInto

protected Activity copyInto(Activity copyObj)
                     throws org.apache.torque.TorqueException
Throws:
org.apache.torque.TorqueException

getPeer

public ActivityPeer getPeer()
returns a peer instance associated with this om. Since Peer classes are not to have any instance attributes, this method returns the same instance for all member of this class. The method could therefore be static, but this would prevent one from overriding the behavior.


toString

public java.lang.String toString()


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