Package com.avoka.fc.core.dao
Class VersionAttachmentDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.VersionAttachmentDao
Provides a template VersionAttachment data access object.
-
Field Summary
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the version attachment list for the given form version.getTemplateVersionAttachments
(Object templateVersionId) Return the version attachment list for the given template version.getVersionAttachmentByName
(TemplateVersion templateVersion, String name) Return the version attachment for the given form version and attachment name.Return the version attachment for the specified primary key.getVersionAttachments
(TemplateVersion version) Return the version attachment list for the given form version.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
-
Constructor Details
-
VersionAttachmentDao
public VersionAttachmentDao()
-
-
Method Details
-
getVersionAttachmentForPK
Return the version attachment for the specified primary key.- Parameters:
id
- the version attachment PK- Returns:
- the version attachment
-
getTemplateVersionAttachments
Return the version attachment list for the given template version.- Parameters:
templateVersionId
- the template version id- Returns:
- the list of version attachments
-
getCachedVersionAttachments
Return the version attachment list for the given form version.- Parameters:
version
- the template version- Returns:
- the list of version attachments
- Since:
- 5.1.0
-
getVersionAttachments
Return the version attachment list for the given form version.- Parameters:
version
- the template version- Returns:
- the list of version attachments
-
getVersionAttachmentByName
Return the version attachment for the given form version and attachment name.- Parameters:
templateVersion
- the form template versionname
- the version attachment name- Returns:
- the version attachment for the given form version and attachment name
- Since:
- 3.6.0
-