Class PropertyPrefillMapDao

    • Constructor Detail

      • PropertyPrefillMapDao

        public PropertyPrefillMapDao()
    • Method Detail

      • getPropertyPrefillMapListForSchema

        public List<PropertyPrefillMap> getPropertyPrefillMapListForSchema​(SchemaSeed schema)
        Return the list of property prefill mappings for a schema seed
        Parameters:
        schema - the non-null schema seed object
        Returns:
        the list of property prefill mappings
      • getFullPropertyPrefillMapsForSchema

        public List<PropertyPrefillMap> getFullPropertyPrefillMapsForSchema​(SchemaSeed schema)
        Return the list of property prefill mappings for a schema seed, as well as a property prefill mapping for each property type and version property value (if the form is known) Note: The returned objects will not all have a schema seed set, because the "dummy" objects representing property types and version property values must not be registered with a data context.
        Parameters:
        schema - the non-null schema seed object
        Returns:
        the list of property prefill mappings
      • getPropertyPrefillMap

        public PropertyPrefillMap getPropertyPrefillMap​(SchemaSeed schemaSeed,
                                                        String scope,
                                                        String name,
                                                        String xpath)
        Return the property prefill mapping for the given schema seed, scope, name and XPath.
        Parameters:
        schemaSeed - the schema seed (required)
        name - the mapping name (required)
        scope - the scope (required)
        xpath - the XPath (required)
        Returns:
        the matching property prefill mapping, or null if none exists
        Since:
        5.1.5.1