Class NominationScoreHelper

java.lang.Object
org.deltava.beans.hr.NominationScoreHelper

public final class NominationScoreHelper extends Object
A helper class to score Nominations.
Since:
3.3
Version:
5.0
Author:
Luke
  • Constructor Details

    • NominationScoreHelper

      public NominationScoreHelper(Nomination n)
      Creates the helper
      Parameters:
      n - the Nomination
  • Method Details

    • getAuthorIDs

      public Collection<Integer> getAuthorIDs()
      Returns the database IDs of all comment authors.
      Returns:
      a Collection of database IDs
    • addAuthors

      public void addAuthors(Collection<Pilot> authors)
      Adds comment authors.
      Parameters:
      authors - a Collection of Pilots
    • getScore

      public int getScore()
      Returns the Nomination score.
      Returns:
      the score