|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjpl.eda.archive.ArchiveProfileHandler
This class implements the ProfileHandler interface enabling
a Profile Server to access the Catalog and Archive Service (CAS). This
handler also features an optional mapping capability. This feature allows
incoming query element names and values to be mapped to source specific
names and values.
In order to use this handler the following property must be specified for the Profile Server as follows:
This class uses the following properties:
urn:eda:rmi:JPL.Test.Archive.
/usr/local/cas/etc/cas_profile_map.csv. For
more information on the file format see the Mapping class.
JPL.EDM.Archive.
urn:eda:rmi:JPL.Test.Product.
http://cas.jpl.nasa.gov/get.
The above properties may be defined in the Profile Server's properties element.
| Constructor Summary | |
ArchiveProfileHandler()
|
|
| Method Summary | |
java.util.List |
findProfiles(jpl.eda.xmlquery.XMLQuery xmlQuery)
This method accepts a XMLQuery object as input, maps the
element names and values according to the optional map and sends the
query onto the CAS getProfiles() method. |
jpl.eda.profile.Profile |
get(java.lang.String profileId)
This method is not fully implemented at this time. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ArchiveProfileHandler()
| Method Detail |
public java.util.List findProfiles(jpl.eda.xmlquery.XMLQuery xmlQuery)
throws jpl.eda.profile.ProfileException
XMLQuery object as input, maps the
element names and values according to the optional map and sends the
query onto the CAS getProfiles() method.
findProfiles in interface jpl.eda.profile.handlers.ProfileHandlerxmlQuery - The XMLQuery object containing the query to resolve.
jpl.eda.profile.ProfileException - If an error occurs resolving the required
property, mapping the elements, finding the specified CAS instance
or the CAS generates an internal error when performing the query.
public jpl.eda.profile.Profile get(java.lang.String profileId)
throws jpl.eda.profile.ProfileException
get in interface jpl.eda.profile.handlers.ProfileHandlerprofileId - The Profile identifier.
jpl.eda.profile.ProfileException - If an error occurs retrieving the Profile.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||