@Transactional public class LoaderService<T> extends Object
| Constructor and Description |
|---|
LoaderService(org.springframework.data.jpa.repository.JpaRepository<T,Long> jpaRepository,
Class<T> clase,
String... nombresCampos) |
| Modifier and Type | Method and Description |
|---|---|
void |
cargar(InputStream inputStream)
Carga un inputStream en una tabla.
|
void |
setCallbackBefore(Runnable callbackBefore) |
public void setCallbackBefore(Runnable callbackBefore)
@PreAuthorize(value="hasAuthority(\'EJECUTAR_LOADER\')") public void cargar(InputStream inputStream)
Copyright © 2019. All rights reserved.