public class GrokLineDAO
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private org.hibernate.Session |
ss |
Constructor and Description |
---|
GrokLineDAO()
Constructor of the class - only thing to do here is to open session to DB
|
Modifier and Type | Method and Description |
---|---|
void |
closeSession()
Method for closing the session - it flushes database connection
|
java.util.List<GrokLine> |
getAllLines(java.lang.Boolean confirmed)
Method returning all lines that are in blacklist and filters them according to confirmed flag
|
public GrokLineDAO()
public java.util.List<GrokLine> getAllLines(java.lang.Boolean confirmed)
confirmed
- filter flagpublic void closeSession()