Package com.avoka.fc.core.dao
Class SchemaSeedDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.SchemaSeedDao
Provides a DAO for the SchemaSeed 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 TypeMethodDescriptionvoid
copySchemaSeedAttributes
(SchemaSeed source, SchemaSeed target, String versionNumber) Copy the source SchemaSeed attributes and properties to the target SchemaSeed.getCachedSchemaSeedVO
(TemplateVersion version) Gets the schema with the specific template version.getNextExtractDataSequenceNumber
(String schemaSeedId) Return the next sequence number for the given schema seed.getSchemaForId
(Object id) Return the schema seed with the specified OIDgetSchemaForVersion
(TemplateVersion version) Gets the schema with the specific template version.static void
Invalidate the schema seed cache.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
-
SchemaSeedDao
public SchemaSeedDao()
-
-
Method Details
-
getSchemaForId
Return the schema seed with the specified OID- Parameters:
id
- the OID- Returns:
- the matching schema seed, or null if not found
-
getCachedSchemaSeedVO
Gets the schema with the specific template version.- Parameters:
version
- the template version- Returns:
- the schema for the specific template version
-
getSchemaForVersion
Gets the schema with the specific template version.- Parameters:
version
- the template version- Returns:
- the schema for the specific template version
-
getNextExtractDataSequenceNumber
Return the next sequence number for the given schema seed.- Parameters:
schemaSeedId
- the schema seed identifier- Returns:
- the next sequence number for the given schema seed
-
copySchemaSeedAttributes
Copy the source SchemaSeed attributes and properties to the target SchemaSeed.- Parameters:
source
- the sourcetarget
- the targetversionNumber
- the version number
-
invalidateCache
public static void invalidateCache()Invalidate the schema seed cache.- Since:
- 5.1.0
-