org.dspace.browse
Interface BrowseItemDAO

All Known Implementing Classes:
BrowseItemDAOOracle, BrowseItemDAOPostgres

public interface BrowseItemDAO


Method Summary
 BrowseItem[] findAll()
          Get an array of all the items in the database
 DCValue[] queryMetadata(int itemId, String schema, String element, String qualifier, String lang)
          perform a database query to obtain the string array of values corresponding to the passed parameters.
 

Method Detail

findAll

BrowseItem[] findAll()
                     throws SQLException
Get an array of all the items in the database

Returns:
array of items
Throws:
SQLException

queryMetadata

DCValue[] queryMetadata(int itemId,
                        String schema,
                        String element,
                        String qualifier,
                        String lang)
                        throws SQLException
perform a database query to obtain the string array of values corresponding to the passed parameters. In general you should use: getMetadata(schema, element, qualifier, lang); As this will obtain the value from cache if available first.

Parameters:
itemId -
schema -
element -
qualifier -
lang -
Returns:
Throws:
SQLException


Copyright © 2010 DuraSpace. All Rights Reserved.