com.atlassian.jira.issue.util
Interface IssueChangeHolder

All Known Implementing Classes:
DefaultIssueChangeHolder

public interface IssueChangeHolder

This defines a simple object that can contain the changes that have occurred to an issue.


Method Summary
 void addChangeItem(ChangeItemBean changeItemBean)
          Convience method for adding a single ChangeItemBean to the list of change items.
 void addChangeItems(List changeItems)
          Add the provided list of change items to the current change items.
 List getChangeItems()
          Get all the change items registered with this object.
 Comment getComment()
          Get the comment associated with this group of changes.
 void setChangeItems(List changeItems)
          Set the change items of this object to the provided param.
 void setComment(Comment comment)
          Set the comment associated with this change.
 

Method Detail

getChangeItems

List getChangeItems()
Get all the change items registered with this object.

Returns:
a list of ChangeItemBean objects

setChangeItems

void setChangeItems(List changeItems)
Set the change items of this object to the provided param.

Parameters:
changeItems - to set on this object

addChangeItems

void addChangeItems(List changeItems)
Add the provided list of change items to the current change items.

Parameters:
changeItems - to add to this objects change items

addChangeItem

void addChangeItem(ChangeItemBean changeItemBean)
Convience method for adding a single ChangeItemBean to the list of change items.

Parameters:
changeItemBean -

setComment

void setComment(Comment comment)
Set the comment associated with this change.

Parameters:
comment -

getComment

Comment getComment()
Get the comment associated with this group of changes.

Returns:
the Comment that represents the comment for this group of changes.


Copyright © 2002-2007 Atlassian. All Rights Reserved.