public interface ProfileManager extends ProfileHandler
| Modifier and Type | Method and Description |
|---|---|
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.
|
findProfiles, get, getIDvoid 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.Copyright © 1999-2014 Apache OODT. All Rights Reserved.