org.deegree.metadata.persistence.iso
Class ISOMetadataStore

java.lang.Object
  extended by org.deegree.metadata.persistence.iso.ISOMetadataStore
All Implemented Interfaces:
MetadataStore

public class ISOMetadataStore
extends java.lang.Object
implements MetadataStore

MetadataStore implementation of Dublin Core and ISO Profile.

Version:
$Revision: 28229 $, $Date: 2010-11-15 17:03:29 +0100 (Mo, 15. Nov 2010) $
Author:
Steffen Thomas, last edited by: $Author: sthomas $

Constructor Summary
ISOMetadataStore(ISOMetadataStoreConfig config)
          Creates a new ISOMetadataStore instance from the given JAXB configuration object.
 
Method Summary
 MetadataStoreTransaction acquireTransaction()
          Acquires transactional access to the metadata store.
 void destroy()
          Called by the container to indicate that this MetadataStore instance is being taken out of service.
 java.lang.String getConnId()
          Returns the JDBC connection id.
 MetadataResultSet getRecords(MetadataQuery query)
          Exports the XML for the requested records.
 MetadataResultSet getRecordsById(java.util.List<java.lang.String> idList)
          Exports the records by the requested identifier.
 void init()
          Called by the container to indicate that this MetadataStore instance is being placed into service.
 void setupMetametadata()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISOMetadataStore

public ISOMetadataStore(ISOMetadataStoreConfig config)
Creates a new ISOMetadataStore instance from the given JAXB configuration object.

Parameters:
config -
Method Detail

destroy

public void destroy()
Description copied from interface: MetadataStore
Called by the container to indicate that this MetadataStore instance is being taken out of service.

Specified by:
destroy in interface MetadataStore

getConnId

public java.lang.String getConnId()
Description copied from interface: MetadataStore
Returns the JDBC connection id.

Specified by:
getConnId in interface MetadataStore
Returns:
the JDBC connection id, never null

setupMetametadata

public void setupMetametadata()
                       throws MetadataStoreException
Specified by:
setupMetametadata in interface MetadataStore
Throws:
MetadataStoreException

init

public void init()
          throws MetadataStoreException
Description copied from interface: MetadataStore
Called by the container to indicate that this MetadataStore instance is being placed into service.

Specified by:
init in interface MetadataStore
Throws:
MetadataStoreException - if the initialization fails

getRecords

public MetadataResultSet getRecords(MetadataQuery query)
                             throws MetadataStoreException
Description copied from interface: MetadataStore
Exports the XML for the requested records.

Specified by:
getRecords in interface MetadataStore
Parameters:
query - MetadataQuery
Throws:
MetadataStoreException

getRecordsById

public MetadataResultSet getRecordsById(java.util.List<java.lang.String> idList)
                                 throws MetadataStoreException
Description copied from interface: MetadataStore
Exports the records by the requested identifier.

Specified by:
getRecordsById in interface MetadataStore
Parameters:
idList - list of the requested identifiers
Throws:
MetadataStoreException

acquireTransaction

public MetadataStoreTransaction acquireTransaction()
                                            throws MetadataStoreException
Description copied from interface: MetadataStore
Acquires transactional access to the metadata store.

Specified by:
acquireTransaction in interface MetadataStore
Returns:
transaction object that allows to perform transactions operations on the metadata store, never null
Throws:
MetadataStoreException - if the transactional access could not be acquired or is not implemented for this MetadataStore


Copyright © 2011. All Rights Reserved.