org.opensubsystems.patterns.listdata.persist
Interface ListFactory

All Superinterfaces:
org.opensubsystems.core.persist.DataFactory
All Known Implementing Classes:
ListDatabaseFactoryImpl

public interface ListFactory
extends org.opensubsystems.core.persist.DataFactory

This interface should be implemented by all data object factories, which support browsing through list of data object page by page.

Version:
$Id: ListFactory.java,v 1.4 2007/01/07 06:14:09 bastafidli Exp $
Author:
Julo Legeny
Code reviewer:
Miro Halas
Code reviewed:
1.2 2004/12/18 06:18:28 bastafidli

Method Summary
 java.util.List get(ListOptions options)
          Get list of data objects specified by the list options.
 ListDefinition getDefaultListDefinition()
          Get the default list definition, which will be used to retrieve the initial list of data objects
 
Methods inherited from interface org.opensubsystems.core.persist.DataFactory
get, getDataType
 

Method Detail

getDefaultListDefinition

ListDefinition getDefaultListDefinition()
Get the default list definition, which will be used to retrieve the initial list of data objects

Returns:
ListDefinition - list definition describing what list of data objects to retrieve by default.

get

java.util.List get(ListOptions options)
                   throws org.opensubsystems.core.error.OSSException
Get list of data objects specified by the list options.

Parameters:
options - - options specifying what data to retrieve
Returns:
List - list of selected items specified by the list option
Throws:
org.opensubsystems.core.error.OSSException - - error during select


Copyright © 2003 - 2006 OpenSubsystems s.r.o.