Package com.avoka.fc.core.dao
Class ReleaseVersionDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.ReleaseVersionDao
Provides a DAO for the
ReleaseVersion
entity.- Since:
- 4.0.0
-
Field Summary
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetReleaseVersionForNumber
(String versionNumber) Return the release version for the specified release number.getReleaseVersionForPK
(Object releaseVersionId) Return the release version with the specified IDgetReleaseVersions
(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
-
Constructor Details
-
ReleaseVersionDao
public ReleaseVersionDao()
-
-
Method Details
-
getReleaseVersionForPK
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
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
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
-