public class BrowseItemDAOPostgres extends Object implements BrowseItemDAO
| Constructor and Description |
|---|
BrowseItemDAOPostgres(Context context) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public BrowseItemDAOPostgres(Context context) throws BrowseException
BrowseExceptionpublic BrowseItem[] findAll() throws SQLException
BrowseItemDAOfindAll in interface BrowseItemDAOSQLExceptionpublic DCValue[] queryMetadata(int itemId, String schema, String element, String qualifier, String lang) throws SQLException
BrowseItemDAO
getMetadata(schema, element, qualifier, lang);
As this will obtain the value from cache if available first.queryMetadata in interface BrowseItemDAOSQLExceptionCopyright © 2014 DuraSpace. All Rights Reserved.