org.apache.oodt.profile.handlers.cas
Class CASProfileHandler
java.lang.Object
org.apache.oodt.profile.handlers.cas.CASProfileHandler
- All Implemented Interfaces:
- ProfileHandler
public class CASProfileHandler
- extends Object
- implements ProfileHandler
- Version:
- $Revision$
An OODT ProfileHandler that queries a backend OODT File Management
component, and converts Products and their Metadata into
OODT Profiles.
- Author:
- mattmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CASProfileHandler
public CASProfileHandler()
throws InstantiationException
- Throws:
InstantiationException
findProfiles
public List findProfiles(XMLQuery query)
throws ProfileException
- Description copied from interface:
ProfileHandler
- Find a set of profiles that match the given query.
This method searchs the profiles provided by this profile service provider
based on criteria in the query. It returns an XML document
describing the profiles and profile elements that match.
- Specified by:
findProfiles in interface ProfileHandler
- Parameters:
query - Search criteria.
- Returns:
- List of matching
Profile objects.
- Throws:
ProfileException - If any other error occurs.
get
public Profile get(String arg0)
throws ProfileException
- Description copied from interface:
ProfileHandler
- Get a profile.
- Specified by:
get in interface ProfileHandler
- Parameters:
arg0 - ID of the profile to get.
- Returns:
- The profile with the given profID, or null if it's not found.
- Throws:
ProfileException - If any error occurs.
getID
public String getID()
- Description copied from interface:
ProfileHandler
- Get my ID.
- Specified by:
getID in interface ProfileHandler
- Returns:
- A string that identifies this profile handler in some way.
Copyright © 1999-2012 Apache OODT. All Rights Reserved.