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) |
java.util.List<L> |
getLeftBaseModels(long rightPrimaryKey,
int start,
int end,
OrderByComparator obc) |
long[] |
getLeftPrimaryKeys(long rightPrimaryKey) |
TableMapper<R,L> |
getReverseTableMapper() |
java.util.List<R> |
getRightBaseModels(long leftPrimaryKey,
int start,
int end,
OrderByComparator obc) |
long[] |
getRightPrimaryKeys(long leftPrimaryKey) |
boolean |
matches(java.lang.String leftColumnName,
java.lang.String rightColumnName) |
boolean addTableMapping(long leftPrimaryKey,
long rightPrimaryKey)
throws SystemException
SystemExceptionboolean containsTableMapping(long leftPrimaryKey,
long rightPrimaryKey)
throws SystemException
SystemExceptionint deleteLeftPrimaryKeyTableMappings(long leftPrimaryKey)
throws SystemException
SystemExceptionint deleteRightPrimaryKeyTableMappings(long rightPrimaryKey)
throws SystemException
SystemExceptionboolean deleteTableMapping(long leftPrimaryKey,
long rightPrimaryKey)
throws SystemException
SystemExceptionjava.util.List<L> getLeftBaseModels(long rightPrimaryKey, int start, int end, OrderByComparator obc) throws SystemException
SystemExceptionlong[] getLeftPrimaryKeys(long rightPrimaryKey)
throws SystemException
SystemExceptionTableMapper<R,L> getReverseTableMapper()
java.util.List<R> getRightBaseModels(long leftPrimaryKey, int start, int end, OrderByComparator obc) throws SystemException
SystemExceptionlong[] getRightPrimaryKeys(long leftPrimaryKey)
throws SystemException
SystemExceptionboolean matches(java.lang.String leftColumnName,
java.lang.String rightColumnName)