Get current lifecycle reviews of an asset

Asset reviews are stored within an asset's state history. You can use RAMAsset.getCurrentStateHistory() to get to the asset's current reviews.

//Get the current state history
  RAMStateHistory stateHistory = newAsset.getCurrentStateHistory();
//Get the comments from the state history
  RAMVote[] votes = stateHistory.getVotes()

Feedback