interface: DataHandler

public abstract <<interface>> interface: DataHandler
Author: Friederike Kleinfercher (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 16.07.2009 15:16:15; Modified: 16.07.2009 15:16:15;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {3D2DC855-1BDF-410a-8553-599119BCE076}
Interface for fetching data from external systems.
 

Goto: Fields, Methods

See also: DataHandlerBean

Appears in: dataacquisition

Connections
 
DataHandler Attributes
Attribute Details
package String
  SERVICE_NAME
Initial: "ejb/de/mpg/escidoc/services/dataacquisition/DataHandler"
 
DataHandler Methods
Operation Details
package
doFetch(
   String sourceName,
   String identifier):byte
Sequential
Tags: throws=SourceNotAvailableException,IdentifierNotRecognisedException,FormatNotRecognisedException,RuntimeException,AccessException,FormatNotAvailableException
Notes: This operation fetches data from the specified source. The format of the requested data will be the default metadata format defined in sources.xml.
@return itemXML as byte[]
package
doFetch(
   String sourceName,
   String identifier,
   String formatName):byte
Sequential
Tags: throws=SourceNotAvailableException,IdentifierNotRecognisedException,FormatNotRecognisedException,RuntimeException,AccessException,FormatNotAvailableException
Notes: This operation fetches data from the specified source and returns it in the requested format. The format properties are default This format can either be the format the external source provides, or a format we can transform from a format the external source provides
@return fetched data as byte[]
package
doFetch(
   String sourceName,
   String identifier,
   String trgFormatName,
   String trgFormatType,
   String trgFormatEncoding):byte
Sequential
Tags: throws=SourceNotAvailableException,IdentifierNotRecognisedException,FormatNotRecognisedException,RuntimeException,AccessException,FormatNotAvailableException
Notes: This operation fetches data from the specified source and returns it in the requested format. This format can either be the format the external source provides, or a format we can transform from a format the external source provides
@param trgFormatEndcoding
@return fetched data as byte[]
package
doFetch(
   String sourceName,
   String identifier,
   Format[] formats):byte
Sequential
Tags: throws=SourceNotAvailableException,IdentifierNotRecognisedException,FormatNotRecognisedException,RuntimeException,AccessException,FormatNotAvailableException
Notes: This operation fetches data from the specified source and returns it in the requested format. The fetched data will return in zip format, currently only file fetching is possible for multiple formats
@return fetched data as byte[]
package
doFetch(
   String sourceName,
   String identifier,
   String[] formats):byte
Sequential
Tags: throws=SourceNotAvailableException,IdentifierNotRecognisedException,FormatNotRecognisedException,RuntimeException,AccessException,FormatNotAvailableException
Notes: This operation fetches data from the specified source and returns it in the requested format. The fetched data will return in zip format, currently only file fetching is possible for multiple formats The formats properties are default
@return fetched data as byte[]
package
explainSources():String
Sequential
Tags: throws=RuntimeException
Notes: This method provides XML formated output of the supported import sources.
@return xml presentation of all available import sources