public interface BeanManager
| Modifier and Type | Method and Description |
|---|---|
void |
batchUpdate(String[] sql) |
void |
copyFrom(Bean bean,
org.springframework.web.multipart.MultipartFile in) |
void |
copyTo(Bean bean,
OutputStream out) |
Number |
create(Bean bean) |
int |
delete(Bean bean) |
int |
execute(Bean bean,
String what) |
Object |
executeTransaction(org.springframework.transaction.support.TransactionCallback transactionCallback) |
List<Bean> |
exportList(Class beanClass,
Bean bean,
String fieldName) |
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager() |
org.springframework.validation.Validator |
getValidator(Bean target,
String validationGroup) |
void |
init() |
Bean |
read(Number id,
Class beanClass) |
Bean |
readByFilter(Bean filter,
String filterName,
Class beanClass) |
List<Number> |
readList(Bean bean,
String fieldName) |
List<Number> |
readListByClass(Class beanClass,
String fieldName) |
List<Number> |
readListByFilter(Class beanClass,
Bean filter,
String fieldName) |
InputStream |
stream(Bean bean) |
int |
update(Bean bean) |
Bean readByFilter(Bean filter, String filterName, Class beanClass) throws Exception
ExceptionList<Number> readListByClass(Class beanClass, String fieldName) throws Exception
ExceptionList<Number> readListByFilter(Class beanClass, Bean filter, String fieldName) throws Exception
Exceptionvoid copyTo(Bean bean, OutputStream out) throws Exception
Exceptionvoid copyFrom(Bean bean, org.springframework.web.multipart.MultipartFile in) throws Exception
ExceptionInputStream stream(Bean bean) throws Exception
ExceptionList<Bean> exportList(Class beanClass, Bean bean, String fieldName) throws Exception
Exceptionorg.springframework.validation.Validator getValidator(Bean target, String validationGroup) throws Exception
ExceptionObject executeTransaction(org.springframework.transaction.support.TransactionCallback transactionCallback)
org.springframework.transaction.PlatformTransactionManager getTransactionManager()
Copyright © 2015. All rights reserved.