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
-
public class VersionMetadataValueDao extends AbstractDao
Provides a DAO for the VersionMetadataValue entity.- See Also:
VersionMetadataValue
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description VersionMetadataValueDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMetadataValue(TemplateVersion version, String tagName)
Return the value of a metadata tag for the given template versionList<VersionMetadataValue>
getMetadataValues(Object templateVersionId)
Return the list of metadata values for a form and template versionVersionMetadataValue
getVersionMetadataValue(TemplateVersion version, String tagName)
Return the VersionMetadataValue object for the given template version and metadata tag nameVersionMetadataValue
getVersionMetadataValueFromPk(Object id)
Return the VersionMetadataValue object with the given 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
-
getVersionMetadataValueFromPk
public VersionMetadataValue getVersionMetadataValueFromPk(Object id)
Return the VersionMetadataValue object with the given OID- Parameters:
id
- the OID- Returns:
- the matching VersionMetadataValue object, or null if none was found
-
getVersionMetadataValue
public VersionMetadataValue getVersionMetadataValue(TemplateVersion version, String tagName)
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
public String getMetadataValue(TemplateVersion version, String tagName)
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
public List<VersionMetadataValue> getMetadataValues(Object templateVersionId)
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
-
-