Class SchemaExtractMapDao


  • public class SchemaExtractMapDao
    extends AbstractDao
    Provides a SchemaExtractMap DAO class.
    Since:
    4.0.0
    • Constructor Detail

      • SchemaExtractMapDao

        public SchemaExtractMapDao()
    • Method Detail

      • getSchemaExtractMapForKP

        public SchemaExtractMap getSchemaExtractMapForKP​(String id)
        Return the schema data extract for the given primary key.
        Parameters:
        id - the object id
        Returns:
        the schema data extract for the given primary key
      • getPreviousSequenceNumber

        public int getPreviousSequenceNumber​(SchemaSeed schemaSeed,
                                             int currentSequenceNumber)
        Return the previous sequence number for the given schema seed and current sequence number.
        Parameters:
        schemaSeed - the form schema seed
        currentSequenceNumber - the current mapping sequence number
        Returns:
        the previous sequence number for the given schema seed and current sequence number.
      • getSchemaExtractMapBySequenceNumber

        public SchemaExtractMap getSchemaExtractMapBySequenceNumber​(SchemaSeed schemaSeed,
                                                                    int sequenceNumber)
        Return the SchemaExtractMap of the SchemaSeed and sequence number.
        Parameters:
        schemaSeed - the form schema seed
        sequenceNumber - the of the schema extract map
        Returns:
        the SchemaExtractMap of the SchemaSeet and sequence number
      • getSchemaExtractMapList

        public List<SchemaExtractMap> getSchemaExtractMapList​(SchemaSeed schemaSeed,
                                                              String name,
                                                              String xpath)
        Return the list of schema extract mappings for the given schema seed, name and XPath.
        Parameters:
        schemaSeed - the schema seed (required)
        name - the extract name (required)
        xpath - the XPath to extract (required)
        Returns:
        the list of matching schema extract mappings
        Since:
        5.1.5.1