public interface TableMapper<L extends BaseModel<L>,R extends BaseModel<R>>
| Modifier and Type | Method and Description |
|---|---|
boolean |
addTableMapping(long leftPrimaryKey,
long rightPrimaryKey) |
boolean |
containsTableMapping(long leftPrimaryKey,
long rightPrimaryKey) |
int |
deleteLeftPrimaryKeyTableMappings(long leftPrimaryKey) |
int |
deleteRightPrimaryKeyTableMappings(long rightPrimaryKey) |
boolean |
deleteTableMapping(long leftPrimaryKey,
long rightPrimaryKey) |
void |
destroy() |
java.util.List<L> |
getLeftBaseModels(long rightPrimaryKey,
int start,
int end,
OrderByComparator<L> obc) |
long[] |
getLeftPrimaryKeys(long rightPrimaryKey) |
TableMapper<R,L> |
getReverseTableMapper() |
java.util.List<R> |
getRightBaseModels(long leftPrimaryKey,
int start,
int end,
OrderByComparator<R> obc) |
long[] |
getRightPrimaryKeys(long leftPrimaryKey) |
boolean |
matches(java.lang.String leftColumnName,
java.lang.String rightColumnName) |
boolean addTableMapping(long leftPrimaryKey,
long rightPrimaryKey)
boolean containsTableMapping(long leftPrimaryKey,
long rightPrimaryKey)
int deleteLeftPrimaryKeyTableMappings(long leftPrimaryKey)
int deleteRightPrimaryKeyTableMappings(long rightPrimaryKey)
boolean deleteTableMapping(long leftPrimaryKey,
long rightPrimaryKey)
void destroy()
java.util.List<L> getLeftBaseModels(long rightPrimaryKey, int start, int end, OrderByComparator<L> obc)
long[] getLeftPrimaryKeys(long rightPrimaryKey)
TableMapper<R,L> getReverseTableMapper()
java.util.List<R> getRightBaseModels(long leftPrimaryKey, int start, int end, OrderByComparator<R> obc)
long[] getRightPrimaryKeys(long leftPrimaryKey)
boolean matches(java.lang.String leftColumnName,
java.lang.String rightColumnName)