interface: Querier

public abstract <<interface>> interface: Querier
Author: franke (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1952 $ $LastChangedDate: 2009-05-07 10:; Complexity: 1
Dates: Created: 16.07.2009 15:15:59; Modified: 16.07.2009 15:15:59;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {D997BF5A-28F2-49aa-A66C-6721B19438CD}
Interface between the CoNE data storage and the presentation.
 

Goto: Methods

See also: RDFHandler, CCCrawler, MockQuerier, MulgaraQuerier, SQLQuerier, QuerierTest

Appears in: cone

Connections
 
Querier Methods
Operation Details
public
create(
   String model,
   String id,
   TreeFragment values):void
Sequential
Tags: throws=Exception
Notes: Inserts a map of values into the database.
@link Map} of {@link List}s of {@link LocalizedString}s containing the information about the entity. It is a list because it is possible that there are more than one objects to a given subject/predicate combination. E.g. there may be multiple alternative titles to a journal.
public
createUniqueIdentifier(
   String model):String
Sequential
Tags: throws=Exception
public
delete(
   String model,
   String id):void
Sequential
Tags: throws=Exception
Notes: Deletes all entries from the database that fit the given model and id.
public
details(
   String model,
   String id):TreeFragment
Sequential
Tags: throws=Exception
Notes: Retrieves details about an entity identified by the given id.
@return A {@link Map} of {@link List}s of {@link LocalizedString}s containing the information about the entity. It is a list because it is possible that there are more than one objects to a given subject/predicate combination. E.g. there may be multiple alternative titles to a journal.
public
details(
   String model,
   String id,
   String lang):TreeFragment
Sequential
Tags: throws=Exception
Notes: Retrieves details about an entity identified by the given id and returns the results in the given language.
@return A {@link Map} of {@link List}s of {@link LocalizedString}s containing the information about the entity. It is a list because it is possible that there are more than one objects to a given subject/predicate combination. E.g. there may be multiple alternative titles to a journal.
public
getAllIds(
   String model):List
Sequential
Tags: throws=Exception
public
query(
   String model,
   String query):List
Sequential
Tags: throws=Exception
Notes: Retrieve a list of entities matching the given search query.
@return A {@link List} of key-value pairs containing the matching results.
public
query(
   String model,
   String query,
   String lang):List
Sequential
Tags: throws=Exception
Notes: Retrieve a list of objects matching the given search query and the given language.
@return A {@link List} of key-value pairs containing the matching results.
public
query(
   String model,
   String query,
   String lang,
   int limit):List
Sequential
Tags: throws=Exception
Notes: Retrieve a list of objects matching the given search query and the given language.
@return A {@link List} of key-value pairs containing the matching results.
public
release():void
Sequential
Tags: throws=Exception