Package com.avoka.fc.core.dao
Class VersionMetadataValueDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.VersionMetadataValueDao
Provides a DAO for the VersionMetadataValue 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 TypeMethodDescriptiongetMetadataValue
(TemplateVersion version, String tagName) Return the value of a metadata tag for the given template versiongetMetadataValues
(Object templateVersionId) Return the list of metadata values for a form and template versiongetVersionMetadataValue
(TemplateVersion version, String tagName) Return the VersionMetadataValue object for the given template version and metadata tag nameReturn the VersionMetadataValue object with the given 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
-
VersionMetadataValueDao
public VersionMetadataValueDao()
-
-
Method Details
-
getVersionMetadataValueFromPk
Return the VersionMetadataValue object with the given OID- Parameters:
id
- the OID- Returns:
- the matching VersionMetadataValue object, or null if none was found
-
getVersionMetadataValue
Return the VersionMetadataValue object for the given template version and metadata tag name- Parameters:
version
- the non-null template versiontagName
- a valid metadata tag name- Returns:
- the matching VersionMetadataValue, or null if none were found
-
getMetadataValue
Return the value of a metadata tag for the given template version- Parameters:
version
- the non-null template versiontagName
- a valid tag name- Returns:
- the metadata value for the version, or null if none was found
-
getMetadataValues
Return the list of metadata values for a form and template version- Parameters:
templateVersionId
- the template version OID (required)- Returns:
- the list of metadata values for the given form and template version
-