Package com.avoka.fc.core.dao
Class ComposerPackageQueueDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.ComposerPackageQueueDao
Provides a DAO for the ComposerPackageQueue entity.
- See Also:
-
Field Summary
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreatePackageQueue
(String url, byte[] packageData) Return a new Composer Package Queue item for the given package data.Return the ComposerPackageQueue with the specified OIDgetComposerPackages
(String clientId, String status, Date startDate, Date endDate) Return the list of Composer Package Queue items.getPurgeComposerPackageIdList
(Date cutoffDate, int fetchLimit) Return the list of OIDs of composer packages that can be purgedMethods inherited from class com.avoka.fc.core.dao.AbstractDao
andFilterClientExcludeNull, andFilterClientIncludeNull, andFilterClientOnly, isClientAccessAllowed, performQueryConfigCached
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
-
ComposerPackageQueueDao
public ComposerPackageQueueDao()
-
-
Method Details
-
getComposerPackageQueueForPK
Return the ComposerPackageQueue with the specified OID- Parameters:
id
- the OID- Returns:
- the matching ComposerPackageQueue, or null if not found
-
getComposerPackages
public List<ComposerPackageQueue> getComposerPackages(String clientId, String status, Date startDate, Date endDate) Return the list of Composer Package Queue items.- Parameters:
clientId
- the client identifierstatus
- the deployment statusstartDate
- the search start dateendDate
- the search end date- Returns:
- the list of Composer Package Queue items
-
getPurgeComposerPackageIdList
Return the list of OIDs of composer packages that can be purged- Parameters:
cutoffDate
- the query cut off datefetchLimit
- the query fetch limit- Returns:
- the list of composer package OIDs to purge
- Since:
- 5.1.0
-
createPackageQueue
Return a new Composer Package Queue item for the given package data.- Parameters:
url
- the load request URLpackageData
- the composer package data.- Returns:
- a new Composer Package Queue item for the given package data.
-