Class ReleaseVersionDao

java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.ReleaseVersionDao

public class ReleaseVersionDao extends BaseDao
Provides a DAO for the ReleaseVersion entity.
Since:
4.0.0
  • Constructor Details

    • ReleaseVersionDao

      public ReleaseVersionDao()
  • Method Details

    • getReleaseVersionForPK

      public ReleaseVersion getReleaseVersionForPK(Object releaseVersionId)
      Return the release version with the specified ID
      Parameters:
      releaseVersionId - the OID of the release version (required)
      Returns:
      the matching release version, or null if not found
    • getReleaseVersionForNumber

      public ReleaseVersion getReleaseVersionForNumber(String versionNumber)
      Return the release version for the specified release number.
      Parameters:
      versionNumber - the release version number (required)
      Returns:
      the release version with the specified release number
    • getReleaseVersions

      public List<ReleaseVersion> getReleaseVersions(boolean sortOrderAscending)
      Return the list of release versions, ordered by release number.
      Parameters:
      sortOrderAscending - whether to sort by release number in ascending order, or otherwise in descending order
      Returns:
      the list of release versions