org.alfresco.repo.domain.hibernate
Class HibernateContentUrlDAOImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.alfresco.repo.domain.hibernate.HibernateContentUrlDAOImpl
All Implemented Interfaces:
ContentUrlDAO, org.springframework.beans.factory.InitializingBean

public class HibernateContentUrlDAOImpl
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements ContentUrlDAO

Hibernate-specific implementation of the DAO layer for Content URLs.

Since:
2.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.alfresco.repo.domain.ContentUrlDAO
ContentUrlDAO.ContentUrlHandler
 
Constructor Summary
HibernateContentUrlDAOImpl()
           
 
Method Summary
 ContentUrl createContentUrl(java.lang.String contentUrl)
          Create a new Content URL or get an existing instance.
 void deleteAllContentUrls()
          Delete all Content URL entities.
 void deleteContentUrl(java.lang.String contentUrl)
          Delete the Content URL.
 void deleteContentUrls(java.util.Set contentUrls)
          Delete a set of Content URL.
 void getAllContentUrls(ContentUrlDAO.ContentUrlHandler handler)
          Enumerate all the available Content URLs, calling back to the given handler.
 
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

HibernateContentUrlDAOImpl

public HibernateContentUrlDAOImpl()
Method Detail

createContentUrl

public ContentUrl createContentUrl(java.lang.String contentUrl)
Description copied from interface: ContentUrlDAO
Create a new Content URL or get an existing instance.

Specified by:
createContentUrl in interface ContentUrlDAO

getAllContentUrls

public void getAllContentUrls(ContentUrlDAO.ContentUrlHandler handler)
Description copied from interface: ContentUrlDAO
Enumerate all the available Content URLs, calling back to the given handler.

Specified by:
getAllContentUrls in interface ContentUrlDAO
Parameters:
handler - the component that will be called with each URL

deleteContentUrl

public void deleteContentUrl(java.lang.String contentUrl)
Description copied from interface: ContentUrlDAO
Delete the Content URL.

Specified by:
deleteContentUrl in interface ContentUrlDAO

deleteContentUrls

public void deleteContentUrls(java.util.Set contentUrls)
Description copied from interface: ContentUrlDAO
Delete a set of Content URL.

Specified by:
deleteContentUrls in interface ContentUrlDAO

deleteAllContentUrls

public void deleteAllContentUrls()
Description copied from interface: ContentUrlDAO
Delete all Content URL entities.

Specified by:
deleteAllContentUrls in interface ContentUrlDAO


Copyright © 2005 - 2008 Alfresco Software, Inc. All Rights Reserved.