| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
package org.kuali.rice.kcb.service.impl; |
| 17 |
|
|
| 18 |
|
import java.util.Collection; |
| 19 |
|
|
| 20 |
|
import javax.sql.DataSource; |
| 21 |
|
|
| 22 |
|
import org.kuali.rice.kcb.service.KENIntegrationService; |
| 23 |
|
import org.springframework.beans.factory.annotation.Required; |
| 24 |
|
import org.springframework.jdbc.core.JdbcTemplate; |
| 25 |
|
|
| 26 |
|
|
| 27 |
|
|
| 28 |
|
|
| 29 |
|
|
| 30 |
|
@author |
| 31 |
|
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 1 |
|
| 32 |
|
public class KENIntegrationServiceDirectImpl implements KENIntegrationService { |
| 33 |
|
private DataSource datasource; |
| 34 |
|
|
| 35 |
|
|
| 36 |
|
|
| 37 |
|
@param |
| 38 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 39 |
0
|
@Required... |
| 40 |
|
public void setDataSource(DataSource ds) { |
| 41 |
0
|
this.datasource = ds; |
| 42 |
|
} |
| 43 |
|
|
| 44 |
|
|
| 45 |
|
@see |
| 46 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 47 |
0
|
public Collection<String> getAllChannelNames() {... |
| 48 |
0
|
return new JdbcTemplate(datasource).queryForList("select distinct NM from KREN_CHNL_T", String.class); |
| 49 |
|
} |
| 50 |
|
} |