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
-
public class TemplateVersionDeploymentDao extends AbstractDao
Provides a DAO for the TemplateVersionDeployment entity.- See Also:
TemplateVersionDeployment
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description TemplateVersionDeploymentDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TemplateVersionDeployment>
getDueDeployments(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"List<TemplateVersionDeployment>
getFutureDeployments(Form form)
Return the list of all template version deployments scheduled for a future time for the given template.TemplateVersionDeployment
getTemplateVersionDeployment(String id)
Return the template version deployment with the specified OID-
Methods 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
-
-
-
-
Method Detail
-
getTemplateVersionDeployment
public TemplateVersionDeployment getTemplateVersionDeployment(String id)
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
public List<TemplateVersionDeployment> getDueDeployments(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"- Parameters:
cutoffDate
- the cutoff date- Returns:
- the list of template version deployments, sorted descending by due date
-
getFutureDeployments
public List<TemplateVersionDeployment> getFutureDeployments(Form form)
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
-
-