public class BackendDAO extends SQLDAO
Constructor and Description |
---|
BackendDAO() |
Modifier and Type | Method and Description |
---|---|
void |
createBackend(AnalysisBackend end) |
AnalysisBackend |
getBackend(java.lang.Integer backendId) |
java.util.List<AnalysisBackend> |
getBackends()
convenience method for retrieving all known backends
|
java.util.List<AnalysisBackend> |
getBackends(AnalysisBackend.Capability capability)
Only enabled backends will be returned.
|
java.util.List<AnalysisBackend> |
getBackends(java.util.List<java.lang.Integer> backendIds) |
java.util.List<AnalysisBackend> |
getBackends(java.util.Set<AnalysisBackend.Capability> capabilities) |
java.util.List<AnalysisBackend> |
getEnabledBackends() |
void |
removeBackend(java.lang.Integer backendId) |
void |
updateBackend(AnalysisBackend end)
updates the details for the given backend
|
getTransactionTemplate, setDataSource, setTnxManager
public BackendDAO()
public void createBackend(AnalysisBackend end)
end
- public void updateBackend(AnalysisBackend end)
end
- public void removeBackend(java.lang.Integer backendId)
backendId
- public java.util.List<AnalysisBackend> getBackends()
public java.util.List<AnalysisBackend> getBackends(AnalysisBackend.Capability capability)
capability
- public java.util.List<AnalysisBackend> getBackends(java.util.Set<AnalysisBackend.Capability> capabilities)
capabilities
- public java.util.List<AnalysisBackend> getBackends(java.util.List<java.lang.Integer> backendIds)
backendIds
- if != null, only the requested backends will be returnedpublic java.util.List<AnalysisBackend> getEnabledBackends()
public AnalysisBackend getBackend(java.lang.Integer backendId)
backendId
- Copyright © 2015 Tampere University of Technology, Pori Department.