org.dspace.browse
Class BrowseItemDAOOracle

java.lang.Object
  extended by org.dspace.browse.BrowseItemDAOOracle
All Implemented Interfaces:
BrowseItemDAO

public class BrowseItemDAOOracle
extends Object
implements BrowseItemDAO


Constructor Summary
BrowseItemDAOOracle(Context context)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowseItemDAOOracle

public BrowseItemDAOOracle(Context context)
                    throws BrowseException
Throws:
BrowseException
Method Detail

findAll

public BrowseItem[] findAll()
                     throws SQLException
Description copied from interface: BrowseItemDAO
Get an array of all the items in the database

Specified by:
findAll in interface BrowseItemDAO
Returns:
array of items
Throws:
SQLException

queryMetadata

public DCValue[] queryMetadata(int itemId,
                               String schema,
                               String element,
                               String qualifier,
                               String lang)
                        throws SQLException
Description copied from interface: BrowseItemDAO
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.

Specified by:
queryMetadata in interface BrowseItemDAO
Returns:
Throws:
SQLException


Copyright © 2010 DuraSpace. All Rights Reserved.