it.sistematica.isharedoc.persistence
Class FilePersister<T extends File>

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by it.neverworks.application.data.BasePersister<T>
              extended by it.neverworks.application.data.StandardPersister<T>
                  extended by it.sistematica.isharedoc.persistence.IsharedocStandardPersister<T>
                      extended by it.sistematica.isharedoc.persistence.FilePersister<T>
All Implemented Interfaces:
it.neverworks.data.DataAccessObject<T>, it.neverworks.data.EntityPersister<T>, it.neverworks.data.EntityPersisterFactory, org.springframework.beans.factory.InitializingBean

@Repository
public class FilePersister<T extends File>
extends IsharedocStandardPersister<T>


Field Summary
protected  DocumentManager documentManager
           
 
Fields inherited from class it.sistematica.isharedoc.persistence.IsharedocStandardPersister
entities, userInfo
 
Constructor Summary
FilePersister()
           
 
Method Summary
 void afterSave(File file)
           
 void delete(File file)
           
 it.neverworks.data.Finder<T> find()
           
 DocumentManager getDocumentManager()
           
 T load(java.io.Serializable key)
           
 void save(File file)
           
 
Methods inherited from class it.sistematica.isharedoc.persistence.IsharedocStandardPersister
checkViolation, initPersister, insert, notifyEvent, setEntities, setUserInfo, update
 
Methods inherited from class it.neverworks.application.data.StandardPersister
buildFor
 
Methods inherited from class it.neverworks.application.data.BasePersister
create, createEntity, exec, getEntityListenerContext, getEntityType, query, query, setEntityListenerContext, setEntityType
 
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
 

Field Detail

documentManager

protected DocumentManager documentManager
Constructor Detail

FilePersister

public FilePersister()
Method Detail

getDocumentManager

public DocumentManager getDocumentManager()

find

public it.neverworks.data.Finder<T> find()
Specified by:
find in interface it.neverworks.data.DataAccessObject<T extends File>
Overrides:
find in class IsharedocStandardPersister<T extends File>

load

public T load(java.io.Serializable key)
Specified by:
load in interface it.neverworks.data.DataAccessObject<T extends File>
Overrides:
load in class IsharedocStandardPersister<T extends File>

delete

public void delete(File file)
Specified by:
delete in interface it.neverworks.data.DataAccessObject<T extends File>
Overrides:
delete in class it.neverworks.application.data.BasePersister<T extends File>

save

public void save(File file)
Specified by:
save in interface it.neverworks.data.DataAccessObject<T extends File>
Overrides:
save in class IsharedocStandardPersister<T extends File>

afterSave

public void afterSave(File file)