Class SchemaSeedDao


public class SchemaSeedDao extends AbstractDao
Provides a DAO for the SchemaSeed entity.
See Also:
  • Constructor Details

    • SchemaSeedDao

      public SchemaSeedDao()
  • Method Details

    • getSchemaForId

      public SchemaSeed getSchemaForId(Object id)
      Return the schema seed with the specified OID
      Parameters:
      id - the OID
      Returns:
      the matching schema seed, or null if not found
    • getCachedSchemaSeedVO

      public SchemaSeedVO getCachedSchemaSeedVO(TemplateVersion version)
      Gets the schema with the specific template version.
      Parameters:
      version - the template version
      Returns:
      the schema for the specific template version
    • getSchemaForVersion

      public SchemaSeed getSchemaForVersion(TemplateVersion version)
      Gets the schema with the specific template version.
      Parameters:
      version - the template version
      Returns:
      the schema for the specific template version
    • getNextExtractDataSequenceNumber

      public Integer getNextExtractDataSequenceNumber(String schemaSeedId)
      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

      public void copySchemaSeedAttributes(SchemaSeed source, SchemaSeed target, String versionNumber)
      Copy the source SchemaSeed attributes and properties to the target SchemaSeed.
      Parameters:
      source - the source
      target - the target
      versionNumber - the version number
    • invalidateCache

      public static void invalidateCache()
      Invalidate the schema seed cache.
      Since:
      5.1.0