org.alfresco.repo.attributes
Interface ListEntryDAO

All Known Implementing Classes:
ListEntryDAOHibernate

public interface ListEntryDAO

DAO interface for ListEntries.


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.
 

Method Detail

save

void save(ListEntry entry)
Save a new Entry.

Parameters:
entry -

get

ListEntry get(ListEntryKey key)
Get the entry for the give list and index.

Parameters:
list - The ListAttribute.
index - The index.
Returns:
The ListEntry.

get

java.util.List get(ListAttribute list)
Get all entries for a given list.

Parameters:
list - The ListAttribute.
Returns:
The entries.

delete

void delete(ListEntry entry)
Delete a list entry.

Parameters:
entry -

delete

void delete(ListAttribute list)
Delete all entries from a list.

Parameters:
list -

size

int size(ListAttribute list)
Get the size of the entries.

Parameters:
list - The list.
Returns:
The count of entries.


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