public class DocumentDaoImpl extends java.lang.Object implements DocumentDao
Modifier and Type | Field and Description |
---|---|
private static Log |
log |
private SessionFactory |
sessionFactory |
Constructor and Description |
---|
DocumentDaoImpl() |
Modifier and Type | Method and Description |
---|---|
Document |
getDocument(int documentID)
Retrieve document by primary key
|
SessionFactory |
getSessionFactory() |
void |
setSessionFactory(SessionFactory sessionFactory) |
public SessionFactory getSessionFactory()
public void setSessionFactory(SessionFactory sessionFactory)
public Document getDocument(int documentID)
DocumentDao
getDocument
in interface DocumentDao