org.whatsitcalled.webflange.model
Class ScriptDAOHibernate

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.whatsitcalled.webflange.model.ScriptDAOHibernate
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, ScriptDAO

public class ScriptDAOHibernate
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements ScriptDAO


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ScriptDAOHibernate()
           
 
Method Summary
 Script findByName(java.lang.String name)
           
 FileManager getFileManager()
           
 Script getScript(java.lang.Long id)
           
 java.util.List getScripts()
           
 java.util.List getScripts(int first, int count, java.lang.String orderby)
           
 void removeScript(java.lang.Long id)
           
 void saveScript(Script script)
           
 void setFileManager(FileManager fileManager)
           
 
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptDAOHibernate

public ScriptDAOHibernate()
Method Detail

getScript

public Script getScript(java.lang.Long id)
Specified by:
getScript in interface ScriptDAO

getScripts

public java.util.List getScripts()
Specified by:
getScripts in interface ScriptDAO

getScripts

public java.util.List getScripts(int first,
                                 int count,
                                 java.lang.String orderby)
Specified by:
getScripts in interface ScriptDAO

removeScript

public void removeScript(java.lang.Long id)
Specified by:
removeScript in interface ScriptDAO

saveScript

public void saveScript(Script script)
Specified by:
saveScript in interface ScriptDAO

findByName

public Script findByName(java.lang.String name)
Specified by:
findByName in interface ScriptDAO

getFileManager

public FileManager getFileManager()

setFileManager

public void setFileManager(FileManager fileManager)


Copyright © 2008 Innobuilt Software LLC. All Rights Reserved.