Package com.avoka.fc.core.dao
Class SchemaExtractMapDao
- java.lang.Object
-
- com.avoka.core.dao.BaseDao
-
- com.avoka.fc.core.dao.AbstractDao
-
- com.avoka.fc.core.dao.SchemaExtractMapDao
-
public class SchemaExtractMapDao extends AbstractDao
Provides a SchemaExtractMap DAO class.- Since:
- 4.0.0
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description SchemaExtractMapDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPreviousSequenceNumber(SchemaSeed schemaSeed, int currentSequenceNumber)
Return the previous sequence number for the given schema seed and current sequence number.SchemaExtractMap
getSchemaExtractMapBySequenceNumber(SchemaSeed schemaSeed, int sequenceNumber)
Return the SchemaExtractMap of the SchemaSeed and sequence number.SchemaExtractMap
getSchemaExtractMapForKP(String id)
Return the schema data extract for the given primary key.List<SchemaExtractMap>
getSchemaExtractMapList(SchemaSeed schemaSeed, String name, String xpath)
Return the list of schema extract mappings for the given schema seed, name and XPath.-
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
-
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 seedcurrentSequenceNumber
- 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 seedsequenceNumber
- 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
-
-