@ApplicationScoped
public class SqlConfService
extends Object
-
Constructor Summary
Constructors
-
Method Summary
List<io.jans.orm.sql.model.SqlConnectionConfiguration>
Optional<io.jans.orm.sql.model.SqlConnectionConfiguration>
void
void
save(io.jans.orm.sql.model.SqlConnectionConfiguration conf)
void
save(List<io.jans.orm.sql.model.SqlConnectionConfiguration> confs)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SqlConfService
public SqlConfService()
-
Method Details
-
findAll
public List<io.jans.orm.sql.model.SqlConnectionConfiguration> findAll()
-
save
public void save(io.jans.orm.sql.model.SqlConnectionConfiguration conf)
-
save
public void save(List<io.jans.orm.sql.model.SqlConnectionConfiguration> confs)
-
remove
public void remove(String name)
-
findByName
public Optional<io.jans.orm.sql.model.SqlConnectionConfiguration> findByName(String name)