Package com.avoka.fc.core.dao
Class TemplateVersionDeploymentDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.TemplateVersionDeploymentDao
Provides a DAO for the TemplateVersionDeployment 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 TypeMethodDescriptiongetDueDeployments
(Date cutoffDate) Return the list of all due template version deployments, meaning all deployments whose deployment time is before a cutoff date and whose status is on "Ready"getFutureDeployments
(Form form) Return the list of all template version deployments scheduled for a future time for the given template.Return the template version deployment with the specified OIDMethods 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
-
TemplateVersionDeploymentDao
public TemplateVersionDeploymentDao()
-
-
Method Details
-
getTemplateVersionDeployment
Return the template version deployment with the specified OID- Parameters:
id
- the OID- Returns:
- the matching template version deployment record, or null if not found
-
getDueDeployments
Return the list of all due template version deployments, meaning all deployments whose deployment time is before a cutoff date and whose status is on "Ready"- Parameters:
cutoffDate
- the cutoff date- Returns:
- the list of template version deployments, sorted descending by due date
-
getFutureDeployments
Return the list of all template version deployments scheduled for a future time for the given template. Note that only deployments with a status of "Ready" will be returned.- Parameters:
form
- a non-null form- Returns:
- the list of matching template version deployments
-