Package com.avoka.fc.core.dao
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 theReleaseVersion
entity.- Since:
- 4.0.0
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description ReleaseVersionDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReleaseVersion
getReleaseVersionForNumber(String versionNumber)
Return the release version for the specified release number.ReleaseVersion
getReleaseVersionForPK(Object releaseVersionId)
Return the release version with the specified IDList<ReleaseVersion>
getReleaseVersions(boolean sortOrderAscending)
Return the list of release versions, ordered by release number.-
Methods inherited from class com.avoka.core.dao.BaseDao
addOrdering, addOrderingCaseInsensitive, addOrderingCaseSensitive, andQueryBetween, andQueryInExp, andQueryInExp, andQueryLikeIgnoreCaseExp, andQueryMatchDbExp, andQueryMatchExp, andQueryMatchIsNotNull, andQueryMatchIsNull, andQueryNoMatchExp, andQueryNotTrue, deleteObject, deleteObjects, findObject, getDataContext, getFetchLimit, getLogger, getObjectForPK, newObject, orQueryLikeIgnoreCaseExp, orQueryMatchExp, performNamedQuery, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, performQuery, registerNewObject, setCacheStrategy, setFetchLimit, setLocalCacheStrategy, setLocalCacheStrategy, setSharedCacheStrategy, toMap, toMap
-
-
-
-
Method Detail
-
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
-
-