public class SpotSecurityDecorator<E extends Spot> extends MapperDecorator<E>
| Constructor and Description |
|---|
SpotSecurityDecorator(Mapper<E> generatedMapper) |
| Modifier and Type | Method and Description |
|---|---|
int |
add(List<E> entities) |
int |
count(QueryRule... rules) |
String |
createFindSqlInclRules(QueryRule[] rules) |
int |
executeAdd(List<? extends E> entities) |
int |
executeRemove(List<? extends E> entities) |
int |
executeUpdate(List<? extends E> entities) |
List<E> |
find(QueryRule... rules) |
E |
findById(Object id) |
int |
remove(List<E> entities) |
void |
resolveForeignKeys(List<E> entities) |
int |
update(List<E> entities) |
create, createList, getDatabase, getFieldType, getTableFieldNamepublic int add(List<E> entities) throws DatabaseException
add in interface Mapper<E extends Spot>add in class MapperDecorator<E extends Spot>DatabaseExceptionpublic int update(List<E> entities) throws DatabaseException
update in interface Mapper<E extends Spot>update in class MapperDecorator<E extends Spot>DatabaseExceptionpublic int remove(List<E> entities) throws DatabaseException
remove in interface Mapper<E extends Spot>remove in class MapperDecorator<E extends Spot>DatabaseExceptionpublic int count(QueryRule... rules) throws DatabaseException
count in interface Mapper<E extends Spot>count in class MapperDecorator<E extends Spot>DatabaseExceptionpublic List<E> find(QueryRule... rules) throws DatabaseException
find in interface Mapper<E extends Spot>find in class MapperDecorator<E extends Spot>DatabaseExceptionpublic E findById(Object id) throws DatabaseException
findById in interface Mapper<E extends Spot>findById in class MapperDecorator<E extends Spot>DatabaseExceptionpublic int executeAdd(List<? extends E> entities) throws DatabaseException
executeAdd in interface Mapper<E extends Spot>executeAdd in class MapperDecorator<E extends Spot>DatabaseExceptionpublic int executeUpdate(List<? extends E> entities) throws DatabaseException
executeUpdate in interface Mapper<E extends Spot>executeUpdate in class MapperDecorator<E extends Spot>DatabaseExceptionpublic int executeRemove(List<? extends E> entities) throws DatabaseException
executeRemove in interface Mapper<E extends Spot>executeRemove in class MapperDecorator<E extends Spot>DatabaseExceptionpublic void resolveForeignKeys(List<E> entities) throws ParseException, DatabaseException
resolveForeignKeys in interface Mapper<E extends Spot>resolveForeignKeys in class MapperDecorator<E extends Spot>ParseExceptionDatabaseExceptionpublic String createFindSqlInclRules(QueryRule[] rules) throws DatabaseException
createFindSqlInclRules in interface Mapper<E extends Spot>createFindSqlInclRules in class MapperDecorator<E extends Spot>DatabaseExceptionCopyright © 2013. All Rights Reserved.