|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProfileManager
Interface of a profile manager. A profile manager can manage profiles by adding, removing, and manipulating them---in addition to searching them.
| Method Summary | |
|---|---|
void |
add(Profile profile)
Add a profile into the set of profiles managed by this profile server. |
void |
addAll(Collection collection)
Add all of the profiles in the given collection to the set managed by this server. |
void |
clear()
Clear all profiles. |
boolean |
contains(Profile profile)
Tell if the given profile is managed by this server. |
boolean |
containsAll(Collection collection)
Tell if the given collection of profiles are managed by this server. |
Collection |
getAll()
Get all profiles. |
boolean |
isEmpty()
Tell if the set of profiles managed by this server is empty. |
Iterator |
iterator()
Iterate over the available profiles. |
boolean |
remove(String profID)
Remove the profile with the given ID. |
boolean |
remove(String profID,
String version)
Remove the profile with the given ID. |
void |
replace(Profile profile)
Replace a profile into the set of profiles managed by this profile server. |
int |
size()
Get the size of the set of profiles managed by this server. |
| Methods inherited from interface org.apache.oodt.profile.handlers.ProfileHandler |
|---|
findProfiles, get, getID |
| Method Detail |
|---|
void add(Profile profile)
throws ProfileException
profile - The profile to add or replace.
ProfileException - If any error occurs.
void addAll(Collection collection)
throws ProfileException
collection - Collection of Profiles to add.
ProfileException - If any error occurs.
void clear()
throws ProfileException
ProfileException - If any error occurs.
boolean contains(Profile profile)
throws ProfileException
profile - The profile to check.
ProfileException - If any error occurs.
boolean containsAll(Collection collection)
throws ProfileException
collection - The collection of Profiles to check.
Profile in collection are present in
the server, false otherwise.
ProfileException - If any error occurs.
Collection getAll()
throws ProfileException
ProfileException - If any error occurs.
boolean isEmpty()
throws ProfileException
ProfileException - If any error occurs.
Iterator iterator()
throws ProfileException
next yields a copy of the next Profile object
managed by this server. Updates to profile objects are not backed by the
server; make your updates and then call add(org.apache.oodt.profile.Profile).
Profiles.
ProfileException - If any error occurs.
boolean remove(String profID,
String version)
throws ProfileException
profID - What profile to remove.version - What version of the the profile identified by profID to remove.
ProfileException - If any error occurs.
boolean remove(String profID)
throws ProfileException
profID - ID of profile to remove.
ProfileException - If any error occurs.
int size()
throws ProfileException
ProfileException - If any error occurs.
void replace(Profile profile)
throws ProfileException
profile - The profile to add or replace.
ProfileException - If any error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||