| org.tigris.scarab.om.BaseActivity
All known Subclasses: org.tigris.scarab.om.Activity,
BaseActivity | abstract public class BaseActivity extends BaseObject implements org.apache.fulcrum.intake.Retrievable(Code) | | You should not use this class directly. It should not even be
extended all references should be to Activity
|
Method Summary | |
public void | addNotificationStatus(NotificationStatus l) | public Activity | copy() Makes a copy of this object. | protected Activity | copyInto(Activity copyObj) | public Long | getActivityId() | public ActivitySet | getActivitySet() Returns the associated ActivitySet object. | public ActivitySet | getActivitySet(Connection connection) | public String | getActivityType() | public Attachment | getAttachment() Returns the associated Attachment object. | public Attachment | getAttachment(Connection connection) | public Long | getAttachmentId() | public Attribute | getAttribute() Returns the associated Attribute object. | public Attribute | getAttribute(Connection connection) | public Integer | getAttributeId() | public AttributeOption | getAttributeOptionRelatedByNewOptionId() Returns the associated AttributeOption object. | public AttributeOption | getAttributeOptionRelatedByNewOptionId(Connection connection) | public AttributeOption | getAttributeOptionRelatedByOldOptionId() Returns the associated AttributeOption object. | public AttributeOption | getAttributeOptionRelatedByOldOptionId(Connection connection) | public Object | getByName(String name) Retrieves a field from the object by name passed in as a String. | public Object | getByPeerName(String name) Retrieves a field from the object by name passed in
as a String. | public Object | getByPosition(int pos) Retrieves a field from the object by Position as specified
in the xml schema. | public Depend | getDepend() Returns the associated Depend object. | public Depend | getDepend(Connection connection) | public Integer | getDependId() | public String | getDescription() | public Date | getEndDate() | public static synchronized List | getFieldNames() Generate a list of field names. | public Issue | getIssue() Returns the associated Issue object. | public Issue | getIssue(Connection connection) | public Long | getIssueId() | public Integer | getNewNumericValue() | public Integer | getNewOptionId() | public Integer | getNewUserId() | public String | getNewValue() | public List | getNotificationStatuss() If this collection has already been initialized, returns
the collection. | public List | getNotificationStatuss(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection. | public List | getNotificationStatuss(Connection con) If this collection has already been initialized, returns
the collection. | public List | getNotificationStatuss(Criteria criteria, Connection con) If this collection has already been initialized with
an identical criteria, it returns the collection. | protected List | getNotificationStatussJoinActivity(Criteria criteria) 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. | protected List | getNotificationStatussJoinScarabUserImpl(Criteria criteria) 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. | public Integer | getOldNumericValue() | public Integer | getOldOptionId() | public Integer | getOldUserId() | public String | getOldValue() | public ActivityPeer | getPeer() returns a peer instance associated with this om. | public ObjectKey | getPrimaryKey() returns an id that differentiates this object from others
of its class. | public String | getQueryKey() get an id that differentiates this object from others
of its class. | public ScarabUser | getScarabUserRelatedByNewUserId() Returns the associated ScarabUser object. | public ScarabUser | getScarabUserRelatedByNewUserId(Connection connection) | public ScarabUser | getScarabUserRelatedByOldUserId() Returns the associated ScarabUser object. | public ScarabUser | getScarabUserRelatedByOldUserId(Connection connection) | public Long | getTransactionId() | 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. | public void | save() Stores the object in the database. | public void | save(String dbName) Stores the object in the database. | public void | save(Connection con) Stores the object in the database. | public void | setActivityId(Long v) | public void | setActivitySet(ActivitySet v) | public void | setActivitySetKey(ObjectKey key) | public void | setActivityType(String v) | public void | setAttachment(Attachment v) | public void | setAttachmentId(Long v) | public void | setAttachmentKey(ObjectKey key) | public void | setAttribute(Attribute v) | public void | setAttributeId(Integer v) | public void | setAttributeKey(ObjectKey key) | public void | setAttributeOptionRelatedByNewOptionId(AttributeOption v) | public void | setAttributeOptionRelatedByNewOptionIdKey(ObjectKey key) | public void | setAttributeOptionRelatedByOldOptionId(AttributeOption v) | public void | setAttributeOptionRelatedByOldOptionIdKey(ObjectKey key) | public void | setDepend(Depend v) | public void | setDependId(Integer v) | public void | setDependKey(ObjectKey key) | public void | setDescription(String v) | public void | setEndDate(Date v) | public void | setIssue(Issue v) | public void | setIssueId(Long v) | public void | setIssueKey(ObjectKey key) | public void | setNewNumericValue(Integer v) | public void | setNewOptionId(Integer v) | public void | setNewUserId(Integer v) | public void | setNewValue(String v) | public void | setOldNumericValue(Integer v) | public void | setOldOptionId(Integer v) | public void | setOldUserId(Integer v) | public void | setOldValue(String v) | public void | setPrimaryKey(ObjectKey key) Set the PrimaryKey using ObjectKey. | public void | setPrimaryKey(String key) Set the PrimaryKey using a String. | public void | setQueryKey(String key) set an id that differentiates this object from others
of its class. | public void | setScarabUserRelatedByNewUserId(ScarabUser v) | public void | setScarabUserRelatedByNewUserIdKey(ObjectKey key) | public void | setScarabUserRelatedByOldUserId(ScarabUser v) | public void | setScarabUserRelatedByOldUserIdKey(ObjectKey key) | public void | setTransactionId(Long v) | public String | toString() |
collNotificationStatuss | protected List collNotificationStatuss(Code) | | Collection to store aggregation of collNotificationStatuss
|
addNotificationStatus | public void addNotificationStatus(NotificationStatus l) throws TorqueException(Code) | | Method called to associate a NotificationStatus object to this object
through the NotificationStatus foreign key attribute
Parameters: l - NotificationStatus throws: TorqueException - |
copy | public Activity copy() throws TorqueException(Code) | | 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.
|
getActivityId | public Long getActivityId()(Code) | | Get the ActivityId
Long |
getActivitySet | public ActivitySet getActivitySet() throws TorqueException(Code) | | Returns the associated ActivitySet object.
If it was not retrieved before, the object is retrieved from
the database
the associated ActivitySet object throws: TorqueException - |
getActivitySet | public ActivitySet getActivitySet(Connection connection) throws TorqueException(Code) | | 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 objectfrom the database, if it was not retrieved before the associated ActivitySet object throws: TorqueException - |
getActivityType | public String getActivityType()(Code) | | Get the ActivityType
String |
getAttachment | public Attachment getAttachment() throws TorqueException(Code) | | Returns the associated Attachment object.
If it was not retrieved before, the object is retrieved from
the database
the associated Attachment object throws: TorqueException - |
getAttachment | public Attachment getAttachment(Connection connection) throws TorqueException(Code) | | 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 objectfrom the database, if it was not retrieved before the associated Attachment object throws: TorqueException - |
getAttachmentId | public Long getAttachmentId()(Code) | | Get the AttachmentId
Long |
getAttribute | public Attribute getAttribute() throws TorqueException(Code) | | Returns the associated Attribute object.
If it was not retrieved before, the object is retrieved from
the database
the associated Attribute object throws: TorqueException - |
getAttribute | public Attribute getAttribute(Connection connection) throws TorqueException(Code) | | 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 objectfrom the database, if it was not retrieved before the associated Attribute object throws: TorqueException - |
getAttributeId | public Integer getAttributeId()(Code) | | Get the AttributeId
Integer |
getAttributeOptionRelatedByNewOptionId | public AttributeOption getAttributeOptionRelatedByNewOptionId() throws TorqueException(Code) | | Returns the associated AttributeOption object.
If it was not retrieved before, the object is retrieved from
the database
the associated AttributeOption object throws: TorqueException - |
getAttributeOptionRelatedByNewOptionId | public AttributeOption getAttributeOptionRelatedByNewOptionId(Connection connection) throws TorqueException(Code) | | 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 objectfrom the database, if it was not retrieved before the associated AttributeOption object throws: TorqueException - |
getAttributeOptionRelatedByOldOptionId | public AttributeOption getAttributeOptionRelatedByOldOptionId() throws TorqueException(Code) | | Returns the associated AttributeOption object.
If it was not retrieved before, the object is retrieved from
the database
the associated AttributeOption object throws: TorqueException - |
getAttributeOptionRelatedByOldOptionId | public AttributeOption getAttributeOptionRelatedByOldOptionId(Connection connection) throws TorqueException(Code) | | 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 objectfrom the database, if it was not retrieved before the associated AttributeOption object throws: TorqueException - |
getByName | public Object getByName(String name)(Code) | | Retrieves a field from the object by name passed in as a String.
Parameters: name - field name value |
getByPeerName | public Object getByPeerName(String name)(Code) | | 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 value |
getByPosition | public Object getByPosition(int pos)(Code) | | Retrieves a field from the object by Position as specified
in the xml schema. Zero-based.
Parameters: pos - position in xml schema value |
getDepend | public Depend getDepend() throws TorqueException(Code) | | Returns the associated Depend object.
If it was not retrieved before, the object is retrieved from
the database
the associated Depend object throws: TorqueException - |
getDepend | public Depend getDepend(Connection connection) throws TorqueException(Code) | | 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 objectfrom the database, if it was not retrieved before the associated Depend object throws: TorqueException - |
getDependId | public Integer getDependId()(Code) | | Get the DependId
Integer |
getDescription | public String getDescription()(Code) | | Get the Description
String |
getEndDate | public Date getEndDate()(Code) | | Get the EndDate
Date |
getFieldNames | public static synchronized List getFieldNames()(Code) | | Generate a list of field names.
a list of field names |
getIssue | public Issue getIssue() throws TorqueException(Code) | | Returns the associated Issue object.
If it was not retrieved before, the object is retrieved from
the database
the associated Issue object throws: TorqueException - |
getIssue | public Issue getIssue(Connection connection) throws TorqueException(Code) | | 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 objectfrom the database, if it was not retrieved before the associated Issue object throws: TorqueException - |
getIssueId | public Long getIssueId()(Code) | | Get the IssueId
Long |
getNewNumericValue | public Integer getNewNumericValue()(Code) | | Get the NewNumericValue
Integer |
getNewOptionId | public Integer getNewOptionId()(Code) | | Get the NewOptionId
Integer |
getNewUserId | public Integer getNewUserId()(Code) | | Get the NewUserId
Integer |
getNewValue | public String getNewValue()(Code) | | Get the NewValue
String |
getNotificationStatuss | public List getNotificationStatuss() throws TorqueException(Code) | | If this collection has already been initialized, returns
the collection. Otherwise returns the results of
getNotificationStatuss(new Criteria())
the collection of associated objects throws: TorqueException - |
getNotificationStatuss | public List getNotificationStatuss(Criteria criteria) throws TorqueException(Code) | | 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: TorqueException - |
getNotificationStatuss | public List getNotificationStatuss(Connection con) throws TorqueException(Code) | | 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
|
getNotificationStatuss | public List getNotificationStatuss(Criteria criteria, Connection con) throws TorqueException(Code) | | 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
|
getNotificationStatussJoinActivity | protected List getNotificationStatussJoinActivity(Criteria criteria) throws TorqueException(Code) | | 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.
|
getNotificationStatussJoinScarabUserImpl | protected List getNotificationStatussJoinScarabUserImpl(Criteria criteria) throws TorqueException(Code) | | 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.
|
getOldNumericValue | public Integer getOldNumericValue()(Code) | | Get the OldNumericValue
Integer |
getOldOptionId | public Integer getOldOptionId()(Code) | | Get the OldOptionId
Integer |
getOldUserId | public Integer getOldUserId()(Code) | | Get the OldUserId
Integer |
getOldValue | public String getOldValue()(Code) | | Get the OldValue
String |
getPeer | public ActivityPeer getPeer()(Code) | | 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.
|
getPrimaryKey | public ObjectKey getPrimaryKey()(Code) | | returns an id that differentiates this object from others
of its class.
|
getQueryKey | public String getQueryKey()(Code) | | get an id that differentiates this object from others
of its class.
|
getScarabUserRelatedByNewUserId | public ScarabUser getScarabUserRelatedByNewUserId() throws TorqueException(Code) | | Returns the associated ScarabUser object.
If it was not retrieved before, the object is retrieved from
the database
the associated ScarabUser object throws: TorqueException - |
getScarabUserRelatedByNewUserId | public ScarabUser getScarabUserRelatedByNewUserId(Connection connection) throws TorqueException(Code) | | 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 objectfrom the database, if it was not retrieved before the associated ScarabUser object throws: TorqueException - |
getScarabUserRelatedByOldUserId | public ScarabUser getScarabUserRelatedByOldUserId() throws TorqueException(Code) | | Returns the associated ScarabUser object.
If it was not retrieved before, the object is retrieved from
the database
the associated ScarabUser object throws: TorqueException - |
getScarabUserRelatedByOldUserId | public ScarabUser getScarabUserRelatedByOldUserId(Connection connection) throws TorqueException(Code) | | 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 objectfrom the database, if it was not retrieved before the associated ScarabUser object throws: TorqueException - |
getTransactionId | public Long getTransactionId()(Code) | | Get the TransactionId
Long |
initNotificationStatuss | protected void initNotificationStatuss()(Code) | | 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.
|
isCacheOnSave | protected boolean isCacheOnSave()(Code) | | Specify whether to cache the object after saving to the db.
This method returns true
|
save | public void save() throws TorqueException(Code) | | Stores the object in the database. If the object is new,
it inserts it; otherwise an update is performed.
throws: TorqueException - |
save | public void save(String dbName) throws TorqueException(Code) | | 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.
Parameters: dbName - throws: TorqueException - |
save | public void save(Connection con) throws TorqueException(Code) | | 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
Parameters: con - throws: TorqueException - |
setActivityId | public void setActivityId(Long v) throws TorqueException(Code) | | Set the value of ActivityId
Parameters: v - new value |
setActivitySet | public void setActivitySet(ActivitySet v) throws TorqueException(Code) | | Declares an association between this object and a ActivitySet object
Parameters: v - ActivitySet throws: TorqueException - |
setActivitySetKey | public void setActivitySetKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setActivityType | public void setActivityType(String v)(Code) | | Set the value of ActivityType
Parameters: v - new value |
setAttachment | public void setAttachment(Attachment v) throws TorqueException(Code) | | Declares an association between this object and a Attachment object
Parameters: v - Attachment throws: TorqueException - |
setAttachmentId | public void setAttachmentId(Long v) throws TorqueException(Code) | | Set the value of AttachmentId
Parameters: v - new value |
setAttachmentKey | public void setAttachmentKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setAttribute | public void setAttribute(Attribute v) throws TorqueException(Code) | | Declares an association between this object and a Attribute object
Parameters: v - Attribute throws: TorqueException - |
setAttributeId | public void setAttributeId(Integer v) throws TorqueException(Code) | | Set the value of AttributeId
Parameters: v - new value |
setAttributeKey | public void setAttributeKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setAttributeOptionRelatedByNewOptionId | public void setAttributeOptionRelatedByNewOptionId(AttributeOption v) throws TorqueException(Code) | | Declares an association between this object and a AttributeOption object
Parameters: v - AttributeOption throws: TorqueException - |
setAttributeOptionRelatedByNewOptionIdKey | public void setAttributeOptionRelatedByNewOptionIdKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setAttributeOptionRelatedByOldOptionId | public void setAttributeOptionRelatedByOldOptionId(AttributeOption v) throws TorqueException(Code) | | Declares an association between this object and a AttributeOption object
Parameters: v - AttributeOption throws: TorqueException - |
setAttributeOptionRelatedByOldOptionIdKey | public void setAttributeOptionRelatedByOldOptionIdKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setDepend | public void setDepend(Depend v) throws TorqueException(Code) | | Declares an association between this object and a Depend object
Parameters: v - Depend throws: TorqueException - |
setDependId | public void setDependId(Integer v) throws TorqueException(Code) | | Set the value of DependId
Parameters: v - new value |
setDependKey | public void setDependKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setDescription | public void setDescription(String v)(Code) | | Set the value of Description
Parameters: v - new value |
setEndDate | public void setEndDate(Date v)(Code) | | Set the value of EndDate
Parameters: v - new value |
setIssue | public void setIssue(Issue v) throws TorqueException(Code) | | Declares an association between this object and a Issue object
Parameters: v - Issue throws: TorqueException - |
setIssueId | public void setIssueId(Long v) throws TorqueException(Code) | | Set the value of IssueId
Parameters: v - new value |
setIssueKey | public void setIssueKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setNewNumericValue | public void setNewNumericValue(Integer v)(Code) | | Set the value of NewNumericValue
Parameters: v - new value |
setNewOptionId | public void setNewOptionId(Integer v) throws TorqueException(Code) | | Set the value of NewOptionId
Parameters: v - new value |
setNewUserId | public void setNewUserId(Integer v) throws TorqueException(Code) | | Set the value of NewUserId
Parameters: v - new value |
setNewValue | public void setNewValue(String v)(Code) | | Set the value of NewValue
Parameters: v - new value |
setOldNumericValue | public void setOldNumericValue(Integer v)(Code) | | Set the value of OldNumericValue
Parameters: v - new value |
setOldOptionId | public void setOldOptionId(Integer v) throws TorqueException(Code) | | Set the value of OldOptionId
Parameters: v - new value |
setOldUserId | public void setOldUserId(Integer v) throws TorqueException(Code) | | Set the value of OldUserId
Parameters: v - new value |
setOldValue | public void setOldValue(String v)(Code) | | Set the value of OldValue
Parameters: v - new value |
setPrimaryKey | public void setPrimaryKey(ObjectKey key) throws TorqueException(Code) | | Set the PrimaryKey using ObjectKey.
Parameters: key - activityId ObjectKey |
setPrimaryKey | public void setPrimaryKey(String key) throws TorqueException(Code) | | Set the PrimaryKey using a String.
Parameters: key - |
setQueryKey | public void setQueryKey(String key) throws TorqueException(Code) | | set an id that differentiates this object from others
of its class.
|
setScarabUserRelatedByNewUserId | public void setScarabUserRelatedByNewUserId(ScarabUser v) throws TorqueException(Code) | | Declares an association between this object and a ScarabUser object
Parameters: v - ScarabUser throws: TorqueException - |
setScarabUserRelatedByNewUserIdKey | public void setScarabUserRelatedByNewUserIdKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setScarabUserRelatedByOldUserId | public void setScarabUserRelatedByOldUserId(ScarabUser v) throws TorqueException(Code) | | Declares an association between this object and a ScarabUser object
Parameters: v - ScarabUser throws: TorqueException - |
setScarabUserRelatedByOldUserIdKey | public void setScarabUserRelatedByOldUserIdKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setTransactionId | public void setTransactionId(Long v) throws TorqueException(Code) | | Set the value of TransactionId
Parameters: v - new value |
|
|