com.ibm.ram.client
Class RAMStateHistory

java.lang.Object
  extended by com.ibm.ram.client.RAMStateHistory

public class RAMStateHistory
extends java.lang.Object

Represents a collection of information that occurred while an asset was in a given state. This information might include collaborators' comments, policy results, and voting results.

Since:
7.5.0.2

Method Summary
 void castVote(RAMVote vote)
          Cast an approval for on the asset
 void comment(RAMComment comment)
          Add a comment to the current state history
 RAMAsset getAsset()
          Return the RAM Asset that this state history is for
 RAMComment[] getComments()
          Get the User Comments
 RAMVote[] getVotes()
          Get the User Votes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

castVote

public void castVote(RAMVote vote)
              throws RAMRuntimeException
Cast an approval for on the asset

Parameters:
vote -
Throws:
RAMRuntimeException
Since:
7.2.0.2

comment

public void comment(RAMComment comment)
Add a comment to the current state history

Parameters:
comment -
Since:
7.2.0.2

getComments

public RAMComment[] getComments()
Get the User Comments

Since:
7.2.0.2

getVotes

public RAMVote[] getVotes()
Get the User Votes

Since:
7.2.0.2

getAsset

public RAMAsset getAsset()
Return the RAM Asset that this state history is for

Returns:
Since:
7.2.0.2