org.alfresco.repo.attributes.hibernate
Class ListEntryDAOHibernate

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

public class ListEntryDAOHibernate
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements ListEntryDAO


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ListEntryDAOHibernate()
           
 
Method Summary
 void delete(ListAttribute list)
          Delete all entries from a list.
 void delete(ListEntry entry)
          Delete a list entry.
 java.util.List get(ListAttribute list)
          Get all entries for a given list.
 ListEntry get(ListEntryKey key)
          Get the entry for the give list and index.
 void save(ListEntry entry)
          Save a new Entry.
 int size(ListAttribute list)
          Get the size of the entries.
 
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

ListEntryDAOHibernate

public ListEntryDAOHibernate()
Method Detail

delete

public void delete(ListEntry entry)
Description copied from interface: ListEntryDAO
Delete a list entry.

Specified by:
delete in interface ListEntryDAO

delete

public void delete(ListAttribute list)
Description copied from interface: ListEntryDAO
Delete all entries from a list.

Specified by:
delete in interface ListEntryDAO

get

public ListEntry get(ListEntryKey key)
Description copied from interface: ListEntryDAO
Get the entry for the give list and index.

Specified by:
get in interface ListEntryDAO
Returns:
The ListEntry.

get

public java.util.List get(ListAttribute list)
Description copied from interface: ListEntryDAO
Get all entries for a given list.

Specified by:
get in interface ListEntryDAO
Parameters:
list - The ListAttribute.
Returns:
The entries.

save

public void save(ListEntry entry)
Description copied from interface: ListEntryDAO
Save a new Entry.

Specified by:
save in interface ListEntryDAO

size

public int size(ListAttribute list)
Description copied from interface: ListEntryDAO
Get the size of the entries.

Specified by:
size in interface ListEntryDAO
Parameters:
list - The list.
Returns:
The count of entries.


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