Package com.avoka.fc.core.dao
Class PropertyPrefillMapDao
- java.lang.Object
-
- com.avoka.core.dao.BaseDao
-
- com.avoka.fc.core.dao.AbstractDao
-
- com.avoka.fc.core.dao.PropertyPrefillMapDao
-
public class PropertyPrefillMapDao extends AbstractDao
Provides a DAO for the PropertyPrefillMap entity.- See Also:
PropertyPrefillMap
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description PropertyPrefillMapDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.PropertyPrefillMap
getPropertyPrefillMap(SchemaSeed schemaSeed, String scope, String name, String xpath)
Return the property prefill mapping for the given schema seed, scope, name and XPath.List<PropertyPrefillMap>
getPropertyPrefillMapListForSchema(SchemaSeed schema)
Return the list of property prefill mappings for a schema seed-
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
-
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
-
-