public class PersonSecurityDecorator<E extends Person> extends MapperDecorator<E>
| Constructor and Description |
|---|
PersonSecurityDecorator(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 Person>add in class MapperDecorator<E extends Person>DatabaseExceptionpublic int update(List<E> entities) throws DatabaseException
update in interface Mapper<E extends Person>update in class MapperDecorator<E extends Person>DatabaseExceptionpublic int remove(List<E> entities) throws DatabaseException
remove in interface Mapper<E extends Person>remove in class MapperDecorator<E extends Person>DatabaseExceptionpublic int count(QueryRule... rules) throws DatabaseException
count in interface Mapper<E extends Person>count in class MapperDecorator<E extends Person>DatabaseExceptionpublic List<E> find(QueryRule... rules) throws DatabaseException
find in interface Mapper<E extends Person>find in class MapperDecorator<E extends Person>DatabaseExceptionpublic E findById(Object id) throws DatabaseException
findById in interface Mapper<E extends Person>findById in class MapperDecorator<E extends Person>DatabaseExceptionpublic int executeAdd(List<? extends E> entities) throws DatabaseException
executeAdd in interface Mapper<E extends Person>executeAdd in class MapperDecorator<E extends Person>DatabaseExceptionpublic int executeUpdate(List<? extends E> entities) throws DatabaseException
executeUpdate in interface Mapper<E extends Person>executeUpdate in class MapperDecorator<E extends Person>DatabaseExceptionpublic int executeRemove(List<? extends E> entities) throws DatabaseException
executeRemove in interface Mapper<E extends Person>executeRemove in class MapperDecorator<E extends Person>DatabaseExceptionpublic void resolveForeignKeys(List<E> entities) throws ParseException, DatabaseException
resolveForeignKeys in interface Mapper<E extends Person>resolveForeignKeys in class MapperDecorator<E extends Person>ParseExceptionDatabaseExceptionpublic String createFindSqlInclRules(QueryRule[] rules) throws DatabaseException
createFindSqlInclRules in interface Mapper<E extends Person>createFindSqlInclRules in class MapperDecorator<E extends Person>DatabaseExceptionCopyright © 2013. All Rights Reserved.