org.tigris.scarab.om
Class ActivitySet

java.lang.Object
  extended byorg.apache.torque.om.BaseObject
      extended byorg.tigris.scarab.om.BaseActivitySet
          extended byorg.tigris.scarab.om.ActivitySet
All Implemented Interfaces:
org.apache.torque.om.Persistent, org.apache.fulcrum.intake.Retrievable, java.io.Serializable

public class ActivitySet
extends BaseActivitySet
implements org.apache.torque.om.Persistent

This object represents a ActivitySet. It is used as a container for one or more Activity objects.

Version:
$Id: ActivitySet.java 10396 2006-12-28 14:59:53Z ronvoe122 $
Author:
Jon S. Stevens, John McNally
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.tigris.scarab.om.BaseActivitySet
collActivitys, collIssuesRelatedByCreatedTransId, collIssuesRelatedByLastTransId
 
Fields inherited from class org.apache.torque.om.BaseObject
NEW_ID
 
Constructor Summary
ActivitySet()
           
 
Method Summary
 java.util.List getActivityList()
          Returns a list of Activity objects associated with this ActivitySet.
 java.util.List getActivityListForIssue(Issue issue)
          Returns a list of Activity objects associated with this ActivitySet And this issue.
 java.lang.String getActivityReason(ScarabLocalizationTool l10n)
           
 ScarabUser getCreator()
           
 java.util.Set getRemovedUsers(Issue changedIssue)
          Returns a set of ScarabUsers which are removed from changedIssue in this ActivitySet
 void setActivityList(java.util.List activityList)
          Sets the activity list for this activitySet.
 
Methods inherited from class org.tigris.scarab.om.BaseActivitySet
addActivity, addIssueRelatedByCreatedTransId, addIssueRelatedByLastTransId, copy, copyInto, getActivitys, getActivitys, getActivitys, getActivitys, getActivitySetId, getActivitySetType, getActivitySetType, getActivitysJoinActivitySet, getActivitysJoinAttachment, getActivitysJoinAttribute, getActivitysJoinAttributeOptionRelatedByNewOptionId, getActivitysJoinAttributeOptionRelatedByOldOptionId, getActivitysJoinDepend, getActivitysJoinIssue, getActivitysJoinScarabUserImplRelatedByNewUserId, getActivitysJoinScarabUserImplRelatedByOldUserId, getAttachment, getAttachment, getAttachmentId, getByName, getByPeerName, getByPosition, getCreatedBy, getCreatedDate, getFieldNames, getIssuesRelatedByCreatedTransId, getIssuesRelatedByCreatedTransId, getIssuesRelatedByCreatedTransId, getIssuesRelatedByCreatedTransId, getIssuesRelatedByCreatedTransIdJoinActivitySetRelatedByLastTransId, getIssuesRelatedByCreatedTransIdJoinIssueType, getIssuesRelatedByCreatedTransIdJoinScarabModule, getIssuesRelatedByLastTransId, getIssuesRelatedByLastTransId, getIssuesRelatedByLastTransId, getIssuesRelatedByLastTransId, getIssuesRelatedByLastTransIdJoinActivitySetRelatedByCreatedTransId, getIssuesRelatedByLastTransIdJoinIssueType, getIssuesRelatedByLastTransIdJoinScarabModule, getPeer, getPrimaryKey, getQueryKey, getScarabUser, getScarabUser, getTypeId, initActivitys, initIssuesRelatedByCreatedTransId, initIssuesRelatedByLastTransId, isCacheOnSave, save, save, save, setActivitySetId, setActivitySetType, setActivitySetTypeKey, setAttachment, setAttachmentId, setAttachmentKey, setCreatedBy, setCreatedDate, setPrimaryKey, setPrimaryKey, setQueryKey, setScarabUser, setScarabUserKey, setTypeId, 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
 
Methods inherited from interface org.apache.torque.om.Persistent
getPrimaryKey, isModified, isNew, save, save, save, setModified, setNew, setPrimaryKey, setPrimaryKey
 

Constructor Detail

ActivitySet

public ActivitySet()
Method Detail

setActivityList

public void setActivityList(java.util.List activityList)
                     throws org.apache.torque.TorqueException
Sets the activity list for this activitySet.

Throws:
org.apache.torque.TorqueException

getActivityList

public java.util.List getActivityList()
                               throws ScarabException
Returns a list of Activity objects associated with this ActivitySet.

Throws:
ScarabException

getActivityListForIssue

public java.util.List getActivityListForIssue(Issue issue)
                                       throws org.apache.torque.TorqueException
Returns a list of Activity objects associated with this ActivitySet And this issue.

Throws:
org.apache.torque.TorqueException

getCreator

public ScarabUser getCreator()
                      throws org.apache.torque.TorqueException
Throws:
org.apache.torque.TorqueException

getActivityReason

public java.lang.String getActivityReason(ScarabLocalizationTool l10n)
                                   throws org.apache.torque.TorqueException
Throws:
org.apache.torque.TorqueException

getRemovedUsers

public java.util.Set getRemovedUsers(Issue changedIssue)
                              throws org.apache.torque.TorqueException
Returns a set of ScarabUsers which are removed from changedIssue in this ActivitySet

Throws:
org.apache.torque.TorqueException


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