org.eclipse.jpt.db
Interface ConnectionProfileRepository


public interface ConnectionProfileRepository

Database connection profile repository Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves. This interface is not intended to be implemented by clients.


Method Summary
 void addConnectionProfileListener(ConnectionProfileListener listener)
          Add a listener that will be notified of changes to the repository's connection profiles.
 ConnectionProfile connectionProfileNamed(java.lang.String name)
          Return the connection profile with the specified name.
 java.util.Iterator<java.lang.String> connectionProfileNames()
          Return the repository's connection profile names.
 java.util.Iterator<ConnectionProfile> connectionProfiles()
          Return the repository's connection profiles.
 int connectionProfilesSize()
          Return the number of connection profiles in the repository.
 boolean containsConnectionProfileNamed(java.lang.String name)
          Return whether the repository contains a connection profile with the specified name.
 void removeConnectionProfileListener(ConnectionProfileListener listener)
          Remove the specified listener.
 

Method Detail

connectionProfiles

java.util.Iterator<ConnectionProfile> connectionProfiles()
Return the repository's connection profiles.


connectionProfilesSize

int connectionProfilesSize()
Return the number of connection profiles in the repository.


connectionProfileNames

java.util.Iterator<java.lang.String> connectionProfileNames()
Return the repository's connection profile names.


containsConnectionProfileNamed

boolean containsConnectionProfileNamed(java.lang.String name)
Return whether the repository contains a connection profile with the specified name.


connectionProfileNamed

ConnectionProfile connectionProfileNamed(java.lang.String name)
Return the connection profile with the specified name. Return a "null" connection profile if the repository does not have a connection profile with the specified name.


addConnectionProfileListener

void addConnectionProfileListener(ConnectionProfileListener listener)
Add a listener that will be notified of changes to the repository's connection profiles.


removeConnectionProfileListener

void removeConnectionProfileListener(ConnectionProfileListener listener)
Remove the specified listener.